PHP Class Horde_Imap_Client_Auth_Scram, horde

Since: 2.29.0
Author: Michael Slusarz ([email protected])
Afficher le fichier Open project: horde/horde Class Usage Examples

Protected Properties

Свойство Type Description
$_authmsg string AuthMessage (RFC 5802 [3]).
$_hash string Hash name.
$_iterations integer Number of Hi iterations (RFC 5802 [2]).
$_nonce string Nonce.
$_pass string Password.
$_salt string Server salt.
$_serversig string Calculated server signature value.
$_user string Username.

Méthodes publiques

Méthode Description
__construct ( string $user, string $pass, string $hash = 'SHA1' ) Constructor.
getClientFinalMessage ( ) : string Return the final client message.
getClientFirstMessage ( ) : string Return the initial client message.
parseServerFinalMessage ( string $msg ) : boolean Process the final server message response.
parseServerFirstMessage ( string $msg ) : boolean Process the initial server message response.

Method Details

__construct() public méthode

Constructor.
public __construct ( string $user, string $pass, string $hash = 'SHA1' )
$user string Username.
$pass string Password.
$hash string Hash name.

getClientFinalMessage() public méthode

Return the final client message.
public getClientFinalMessage ( ) : string
Résultat string Final client message.

getClientFirstMessage() public méthode

Return the initial client message.
public getClientFirstMessage ( ) : string
Résultat string Initial client message.

parseServerFinalMessage() public méthode

Process the final server message response.
public parseServerFinalMessage ( string $msg ) : boolean
$msg string Final server response.
Résultat boolean False if authentication failed.

parseServerFirstMessage() public méthode

Process the initial server message response.
public parseServerFirstMessage ( string $msg ) : boolean
$msg string Initial server response.
Résultat boolean False if authentication failed at this stage.

Property Details

$_authmsg protected_oe property

AuthMessage (RFC 5802 [3]).
protected string $_authmsg
Résultat string

$_hash protected_oe property

Hash name.
protected string $_hash
Résultat string

$_iterations protected_oe property

Number of Hi iterations (RFC 5802 [2]).
protected int $_iterations
Résultat integer

$_nonce protected_oe property

Nonce.
protected string $_nonce
Résultat string

$_pass protected_oe property

Password.
protected string $_pass
Résultat string

$_salt protected_oe property

Server salt.
protected string $_salt
Résultat string

$_serversig protected_oe property

Calculated server signature value.
protected string $_serversig
Résultat string

$_user protected_oe property

Username.
protected string $_user
Résultat string