twisted.protocols.sip.BasicAuthorizer class documentationtwisted.protocols.sip
View Source
(View In Hierarchy)
Implements interfaces: twisted.protocols.sip.IAuthorizer
Authorizer for insecure Basic (base64-encoded plaintext) authentication.
This form of authentication is broken and insecure. Do not use it.
| Method | __init__ | This method exists solely to issue a deprecation warning. |
| Method | getChallenge | Generate a challenge the client may respond to. |
| Method | decode | Create a credentials object from the given response. |
Generate a challenge the client may respond to.
| Parameters | peer | The client's address (type: tuple) |
| Returns | The challenge string (type: str) | |