DigestAuthenticate (class)

Class DigestAuthenticate

Digest Authentication adapter for AuthComponent.

Provides Digest HTTP authentication support for AuthComponent. Unlike most AuthComponent adapters, DigestAuthenticate requires a special password hash that conforms to RFC2617. You can create this password using DigestAuthenticate::password(). If you wish to use digest authentication alongside other authentication methods, its recommended that you store the digest authentication separately.

Clients using Digest Authentication must support cookies. Since AuthComponent identifies users based on Session contents, clients without support for cookies will not function properly.

Using Digest auth

In your controller's components array, add auth + the required settings.

public $components = array(
    'Auth' => array(
        'authenticate' => array('Digest')
    )
);

In your login function just call $