OpenQuizz
Une application de gestion des contenus pédagogiques
|
Public Member Functions | |
def | __init__ (self, auth_type, data=None) |
def | username (self) |
def | password (self) |
def | realm (self) |
def | nonce (self) |
def | uri (self) |
def | nc (self) |
def | cnonce (self) |
def | response (self) |
def | opaque (self) |
def | qop (self) |
![]() | |
def | fromkeys (cls, keys, value=None) |
def | __reduce_ex__ (self, protocol) |
def | __hash__ (self) |
def | setdefault (self, key, default=None) |
def | update (self, *args, **kwargs) |
def | pop (self, key, default=None) |
def | popitem (self) |
def | __setitem__ (self, key, value) |
def | __delitem__ (self, key) |
def | clear (self) |
Data Fields | |
type | |
Represents an `Authorization` header sent by the client. You should not create this kind of object yourself but use it when it's returned by the `parse_authorization_header` function. This object is a dict subclass and can be altered by setting dict items but it should be considered immutable as it's returned by the client and not meant for modifications. .. versionchanged:: 0.5 This object became immutable.
def __init__ | ( | self, | |
auth_type, | |||
data = None |
|||
) |
def cnonce | ( | self | ) |
If the server sent a qop-header in the ``WWW-Authenticate`` header, the client has to provide this value for HTTP digest auth. See the RFC for more details.
def nc | ( | self | ) |
The nonce count value transmitted by clients if a qop-header is also transmitted. HTTP digest auth only.
def nonce | ( | self | ) |
The nonce the server sent for digest auth, sent back by the client. A nonce should be unique for every 401 response for HTTP digest auth.
def opaque | ( | self | ) |
The opaque header from the server returned unchanged by the client. It is recommended that this string be base64 or hexadecimal data. Digest auth only.
def password | ( | self | ) |
When the authentication type is basic this is the password transmitted by the client, else `None`.
def qop | ( | self | ) |
Indicates what "quality of protection" the client has applied to the message for HTTP digest auth. Note that this is a single token, not a quoted list of alternatives as in WWW-Authenticate.
def realm | ( | self | ) |
This is the server realm sent back for HTTP digest auth.
def response | ( | self | ) |
A string of 32 hex digits computed as defined in RFC 2617, which proves that the user knows a password. Digest auth only.
def uri | ( | self | ) |
The URI from Request-URI of the Request-Line; duplicated because proxies are allowed to change the Request-Line in transit. HTTP digest auth only.
def username | ( | self | ) |
The username transmitted. This is set for both basic and digest auth all the time.
type |