Part of twisted.web2.auth.basic View Source View In Hierarchy
Implements interfaces: twisted.web2.auth.interfaces.ICredentialFactory
Method | __init__ | Undocumented |
Method | getChallenge | Generate a challenge the client may respond to. |
Method | decode | Create a credentials object from the given response. May raise twisted.cred.error.LoginFailed if the response is invalid. |
Parameters | peer | The client's address
(type: twisted.internet.interfaces.IAddress
) |
Returns | dictionary of challenge arguments
(type: dict
) |
Parameters | response | scheme specific response string
(type: str
) |
request | the request being processed
(type: twisted.web2.server.Request
) | |
Returns | ICredentials |