Class DigestAuthentication

Digest authentication

Package: Cake\Network\Http
Copyright: Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org)
License: MIT License
Located at Cake/Network/Http/DigestAuthentication.php

Method Detail

_generateHeadersource protected static

_generateHeader( HttpSocket $http , array $authInfo )

Generate the header Authorization

Parameters

HttpSocket $http
Http socket instance.
array $authInfo
$authInfo Authentication info.

Returns

string
string

_getServerInformationsource 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
bool

authenticationsource public static

authentication( HttpSocket $http , array $authInfo )

Authentication

Parameters

HttpSocket $http
Http socket instance.
array $authInfo
$authInfo Authentication info.

Link

http://www.ietf.org/rfc/rfc2617.txt

© 2005–2016 The Cake Software Foundation, Inc.
Licensed under the MIT License.
CakePHP is a registered trademark of Cake Software Foundation, Inc.
We are not endorsed by or affiliated with CakePHP.
http://api.cakephp.org/2.7/class-DigestAuthentication.html