|
OpenQuizz
Une application de gestion des contenus pédagogiques
|


Public Member Functions | |
| def | __init__ (self, auth_type=None, values=None, on_update=None) |
| def | set_basic (self, realm="authentication required") |
| def | set_digest (self, realm, nonce, qop=("auth",), opaque=None, algorithm=None, stale=False) |
| def | to_header (self) |
| def | __str__ (self) |
| def | __repr__ (self) |
| def | auth_property (name, doc=None) |
| def | stale (self) |
| def | stale (self, value) |
Public Member Functions inherited from UpdateDictMixin | |
| def | calls_update (name) |
| def | setdefault (self, key, default=None) |
| def | pop (self, key, default=_missing) |
Data Fields | |
| on_update | |
Static Public Attributes | |
| type | |
| doc | |
| realm | |
| domain | |
| nonce | |
| opaque | |
| algorithm | |
| qop | |
| auth_property | |
Static Public Attributes inherited from UpdateDictMixin | |
| on_update | |
| clear | |
| popitem | |
| update | |
Provides simple access to `WWW-Authenticate` headers.
| def __init__ | ( | self, | |
auth_type = None, |
|||
values = None, |
|||
on_update = None |
|||
| ) |
| def __repr__ | ( | self | ) |
| def __str__ | ( | self | ) |
| def auth_property | ( | name, | |
doc = None |
|||
| ) |
A static helper function for subclasses to add extra authentication
system properties onto a class::
class FooAuthenticate(WWWAuthenticate):
special_realm = auth_property('special_realm')
For more information have a look at the sourcecode to see how the
regular properties (:attr:`realm` etc.) are implemented.
| def set_basic | ( | self, | |
realm = "authentication required" |
|||
| ) |
Clear the auth info and enable basic auth.
| def set_digest | ( | self, | |
| realm, | |||
| nonce, | |||
qop = ("auth",), |
|||
opaque = None, |
|||
algorithm = None, |
|||
stale = False |
|||
| ) |
Clear the auth info and enable digest auth.
| def stale | ( | self | ) |
A flag, indicating that the previous request from the client was rejected because the nonce value was stale.
| def stale | ( | self, | |
| value | |||
| ) |
| def to_header | ( | self | ) |
Convert the stored values into a WWW-Authenticate header.
|
static |
|
static |
|
static |
|
static |
|
static |
| on_update |
|
static |
|
static |
|
static |
|
static |