Part of twisted.web.iweb View Source View In Hierarchy
Known implementations: twisted.web._auth.basic.BasicCredentialFactory, twisted.web._auth.digest.DigestCredentialFactory
ICredentialsproviders from responses. These objects will be used with
twisted.credto authenticate an authorize requests.
|Method||getChallenge||Generate a new challenge to be sent to a client.|
|Method||decode||Create a credentials object from the given response.|
strgiving the name of the authentication scheme with which this factory is associated. For example,
|Parameters||peer||The request the response to which this challenge will be included.
|Returns||A mapping from |
|Parameters||response||scheme specific response string
|request||The request being processed (from which the response was taken).
|Returns||The credentials represented by the given response.
|Raises||twisted.cred.error.LoginFailed||If the response is invalid.|