Trees | Indices | Help |
|
---|
|
|
|||
string |
|
||
|
|||
|
|||
|
|||
Inherited from |
|
|||
(str, str) |
|
||
(str, str) |
|
||
(str, str) |
|
||
|
|
|||
AUTH_REALM = "Unspecified"
|
|||
_CLEARTEXT_SCHEME = "{CLEARTEXT}"
|
|||
_HA1_SCHEME = "{HA1}"
|
|
|||
Inherited from |
|
Returns the authentication realm for a request. May be overridden by a subclass, which then can return different realms for different paths.
|
Determines whether authentication is required for a request. To enable authentication, override this function in a subclass and
return
|
Called before a request is handled.
|
Extracts a user and a password from the http authorization header.
|
Extracts user and password from the contents of an authorization header.
|
Checks the credentiales. This function MUST be overridden by a subclass. |
Extracts a scheme and a password from the expected_password.
|
Checks the password for basic authentication. As long as they don't start with an opening brace ("{"), old passwords are supported. A new scheme uses H(A1) from RFC2617, where H is MD5 and A1 consists of the username, the authentication realm and the actual password.
|
Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0.1 on Fri Mar 11 11:23:44 2016 | http://epydoc.sourceforge.net |