PHP Класс Horde_Imap_Client_Auth_Scram, horde

С версии: 2.29.0
Автор: Michael Slusarz ([email protected])
Показать файл Открыть проект Примеры использования класса

Защищенные свойства (Protected)

Свойство Тип Описание
$_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.

Открытые методы

Метод Описание
__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.

Описание методов

__construct() публичный Метод

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

getClientFinalMessage() публичный Метод

Return the final client message.
public getClientFinalMessage ( ) : string
Результат string Final client message.

getClientFirstMessage() публичный Метод

Return the initial client message.
public getClientFirstMessage ( ) : string
Результат string Initial client message.

parseServerFinalMessage() публичный Метод

Process the final server message response.
public parseServerFinalMessage ( string $msg ) : boolean
$msg string Final server response.
Результат boolean False if authentication failed.

parseServerFirstMessage() публичный Метод

Process the initial server message response.
public parseServerFirstMessage ( string $msg ) : boolean
$msg string Initial server response.
Результат boolean False if authentication failed at this stage.

Описание свойств

$_authmsg защищенное свойство

AuthMessage (RFC 5802 [3]).
protected string $_authmsg
Результат string

$_hash защищенное свойство

Hash name.
protected string $_hash
Результат string

$_iterations защищенное свойство

Number of Hi iterations (RFC 5802 [2]).
protected int $_iterations
Результат integer

$_nonce защищенное свойство

Nonce.
protected string $_nonce
Результат string

$_pass защищенное свойство

Password.
protected string $_pass
Результат string

$_salt защищенное свойство

Server salt.
protected string $_salt
Результат string

$_serversig защищенное свойство

Calculated server signature value.
protected string $_serversig
Результат string

$_user защищенное свойство

Username.
protected string $_user
Результат string