Implements interfaces:
HTTP Authentication Adapter
Implements a pretty good chunk of RFC 2617.
Located in /Auth/Adapter/Http.php (line 45)
List of schemes this class will accept from the client
The actual algorithm to use. Defaults to MD5
Object that looks up user credentials for the Basic scheme
Object that looks up user credentials for the Digest scheme
Space-delimited list of protected domains for Digest Auth
Flag indicating the client is IE and didn't bother to return the opaque string
Whether or not to do Proxy Authentication instead of origin server authentication (send 407's instead of 401's). Off by default.
Nonce timeout period
The protection realm to use
Reference to the HTTP Request object
Reference to the HTTP Response object
List of the supported digest algorithms. I want to support both MD5 and MD5-sess, but MD5-sess won't make it into the first version.
List of supported qop options. My intetion is to support both 'auth' and 'auth-int', but 'auth-int' won't make it into the first version.
List of authentication schemes supported by this class
Whether to send the opaque value in the header. True by default
Constructor
Authenticate
Getter for the _basicResolver property
Getter for the _digestResolver property
Setter for the _basicResolver property
Setter for the _digestResolver property
Basic Authentication
Basic Header
Generates a Proxy- or WWW-Authenticate header value in the Basic authentication scheme.
Calculate Nonce
Calculate Opaque
The opaque string can be anything; the client must return it exactly as it was sent. It may be useful to store data in this string in some applications. Ideally, a new value for this would be generated each time a WWW-Authenticate header is sent (in order to reduce predictability), but we would have to be able to create the same exact value across at least two separate requests from the same client.
Challenge Client
Sets a 401 or 407 Unauthorized response code, and creates the appropriate Authenticate header(s) to prompt for credentials.
Digest Authentication
Digest Header
Generates a Proxy- or WWW-Authenticate header value in the Digest authentication scheme.
Parse Digest Authorization header
Documentation generated on Sun, 27 May 2007 23:24:37 -0700 by phpDocumentor 1.3.2