class documentation
class BasicAuthentication(BaseAuthentication): (source)
HTTP Basic authentication against username/password.
Method | authenticate |
Returns a `User` if a correct username and password have been supplied using HTTP Basic authentication. Otherwise returns `None`. |
Method | authenticate |
Authenticate the userid and password against username and password with optional request for context. |
Method | authenticate |
Return a string to be used as the value of the `WWW-Authenticate` header in a `401 Unauthenticated` response, or `None` if the authentication scheme should return `403 Permission Denied` responses. |
Class Variable | www |
Undocumented |
Returns a `User` if a correct username and password have been supplied using HTTP Basic authentication. Otherwise returns `None`.
Authenticate the userid and password against username and password with optional request for context.