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

Class SASL

source code


Instance Methods
 
mechanisms(self, mechs) source code
 
client(self) source code
 
server(self) source code
 
plain(self, user, password) source code
 
send(self, data) source code
 
recv(self) source code
 
done(self, outcome) source code

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

Static Methods
a new object with type S, a subtype of T
__new__(cls, transport)
Enforce a singleton SASL object per Transport
source code
Class Variables
  OK = 0
  AUTH = 1
  STATE_CONF = 0
  STATE_IDLE = 1
  STATE_STEP = 2
  STATE_PASS = 3
  STATE_FAIL = 4
Properties
  outcome
  state

Inherited from object: __class__

Method Details

__new__(cls, transport)
Static Method

source code 

Enforce a singleton SASL object per Transport

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

Property Details

outcome

Get Method:
unreachable.outcome(self)

state

Get Method:
unreachable.state(self)