Property | Type | Description | |
---|---|---|---|
$nc | The NC value needed for digest authentication |
Method | Description | |
---|---|---|
decode ( string $header ) : array | Takes the header string and parses out the params needed for a digest authentication. | |
encode ( string $username, string $password, array $data = [] ) : array | Encodes the data with username and password to create the proper response. Returns an array containing the username and encoded response. | |
header ( array $data ) : string | Returns the proper header string. Accepts the data from the encode method. |