twisted.web.guard.BasicCredentialFactory(object)
class documentationtwisted.web.guard
View Source
(View In Hierarchy)
Implements interfaces: twisted.web.iweb.ICredentialFactory
Credential Factory for HTTP Basic Authentication
Instance Variable | authenticationRealm | The HTTP authentication realm which will be issued in challenges. (type: bytes ) |
Method | __init__ | Undocumented |
Method | getChallenge | Return a challenge including the HTTP authentication realm with which this factory was created. |
Method | decode | Parse the base64-encoded, colon-separated username and password into a
credentials.UsernamePassword
instance. |
bytes
)
Return a challenge including the HTTP authentication realm with which this factory was created.
Parse the base64-encoded, colon-separated username and password into a
credentials.UsernamePassword
instance.