t.w.g.BasicCredentialFactory(object) : class documentation

Part of twisted.web.guard View Source View In Hierarchy

Implements interfaces: twisted.web.iweb.ICredentialFactory

Credential Factory for HTTP Basic Authentication
Instance VariablesauthenticationRealmThe HTTP authentication realm which will be issued in challenges. (type: str )
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.
def __init__(self, authenticationRealm): (source)
Undocumented
def getChallenge(self, request): (source)
Return a challenge including the HTTP authentication realm with which this factory was created.
def decode(self, response, request): (source)
Parse the base64-encoded, colon-separated username and password into a credentials.UsernamePassword instance.
API Documentation for Twisted, generated by pydoctor at 2011-10-27 16:27:37.