Module proton :: Class SASL
[frames] | no frames]

Class SASL

source code

object --+
         |
        SASL

Instance Methods
a new object with type S, a subtype of T
__new__(cls, transport)
Enforce a singleton SASL object per Transport
source code
 
mechanisms(self, mechs) source code
 
client(self) source code
 
server(self) source code
 
allow_skip(self, allow) source code
 
plain(self, user, password) source code
 
send(self, data) source code
 
recv(self) source code
 
outcome(self) source code
 
done(self, outcome) source code
 
state(self) source code

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __init__, __reduce__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __str__, __subclasshook__

Class Variables
  OK = PN_SASL_OK
  AUTH = PN_SASL_AUTH
  SKIPPED = PN_SASL_SKIPPED
  STATE_CONF = PN_SASL_CONF
  STATE_IDLE = PN_SASL_IDLE
  STATE_STEP = PN_SASL_STEP
  STATE_PASS = PN_SASL_PASS
  STATE_FAIL = PN_SASL_FAIL
Properties

Inherited from object: __class__

Method Details

__new__(cls, transport)

source code 

Enforce a singleton SASL object per Transport

Returns: a new object with type S, a subtype of T
Overrides: object.__new__

outcome(self)

source code 
Decorators:
  • @property

state(self)

source code 
Decorators:
  • @property