t.p.s.BasicAuthorizer : class documentation

Part of twisted.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.
def __init__(self): (source)

This method exists solely to issue a deprecation warning.

def getChallenge(self, peer): (source)

Generate a challenge the client may respond to.

ParameterspeerThe client's address (type: tuple)
ReturnsThe challenge string (type: str)
def decode(self, response): (source)

Create a credentials object from the given response.

API Documentation for Twisted, generated by pydoctor at 2015-04-13 15:26:48.