Class t.w.a.d.DigestCredentialFactory:

Part of twisted.web2.auth.digest View Source View In Hierarchy

Implements interfaces: twisted.web2.auth.interfaces.ICredentialFactory
No class docstring
Method __init__
Method generateNonce Undocumented
Method generateOpaque Undocumented
Method getChallenge Generate a challenge the client may respond to.
Method decode Create a credentials object from the given response.
def __init__(self, algorithm, realm): (source)
Parametersalgorithmcase insensitive string that specifies the hash algorithm used, should be either, md5, md5-sess or sha (type: str )
realmcase sensitive string that specifies the realm portion of the challenge (type: str )
def generateNonce(self): (source)
Undocumented
def generateOpaque(self): (source)
Undocumented
def getChallenge(self, peer): (source)
Generate a challenge the client may respond to.
ParameterspeerThe client's address (type: twisted.internet.interfaces.IAddress )
Returnsdictionary of challenge arguments (type: dict )
def decode(self, response, request): (source)
Create a credentials object from the given response. May raise twisted.cred.error.LoginFailed if the response is invalid.
Parametersresponsescheme specific response string (type: str )
requestthe request being processed (type: twisted.web2.server.Request )
ReturnsICredentials
API Documentation for twisted, generated by pydoctor.