Package openid :: Package server :: Module server :: Class PlainTextServerSession
[frames] | no frames]

Class PlainTextServerSession

source code

object --+
         |
        PlainTextServerSession

An object that knows how to handle association requests with no session type.


See Also:
OpenID Specs, Mode: associate, AssociateRequest
Instance Methods [hide private]
  answer(self, secret)

Inherited from object: __delattr__, __getattribute__, __hash__, __init__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __str__


Class Methods [hide private]
  fromMessage(cls, unused_request)

Class Variables [hide private]
str session_type = 'no-encryption'
The session_type for this association session.
  allowed_assoc_types = ['HMAC-SHA1', 'HMAC-SHA256']

Properties [hide private]

Inherited from object: __class__


Method Details [hide private]

fromMessage(cls, unused_request)
Class Method

source code 

answer(self, secret)

source code 

Class Variable Details [hide private]

session_type


The session_type for this association session. There is no type defined for plain-text in the OpenID specification, so we use 'no-encryption'.
Type:
str
Value:
'no-encryption'                                                        
      

allowed_assoc_types

Value:
['HMAC-SHA1', 'HMAC-SHA256']