Class DigestAuthentication

Digest authentication

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

Method Summary

Method Detail

_generateHeader()source 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()source 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()source 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–2017 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.
https://api.cakephp.org/2.10/class-DigestAuthentication.html