Class DigestAuthentication
Digest authentication
Package: Cake\Network\Http
Copyright: Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org)
License: MIT License
Location: Cake/Network/Http/DigestAuthentication.php
Copyright: Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org)
License: MIT License
Location: Cake/Network/Http/DigestAuthentication.php
Method Summary
-
_generateHeader() protected static
Generate the header Authorization -
_getServerInformation() protected static
Retrieve information about the authentication -
authentication() public static
Authentication
Method Detail
_generateHeader() protected static ¶
_generateHeader( HttpSocket
$http , array $authInfo )
Generate the header Authorization
Parameters
-
HttpSocket
$http - Http socket instance.
- array $authInfo
- $authInfo Authentication info.
Returns
string
_getServerInformation() protected static ¶
_getServerInformation( HttpSocket
$http , array $authInfo )
Retrieve information about the authentication
Parameters
-
HttpSocket
$http - Http socket instance.
- array $authInfo
- $authInfo Authentication info.
Returns
boolean
authentication() public static ¶
authentication( HttpSocket
$http , array $authInfo )
Authentication
Parameters
-
HttpSocket
$http - Http socket instance.
- array $authInfo
- $authInfo Authentication info.