Class: OpenID::Consumer::NoEncryptionSession

Inherits:
Object
  • Object
show all
Defined in:
lib/openid/consumer/associationmanager.rb

Overview

An association session that does not use encryption

Class Attribute Summary collapse

Instance Method Summary collapse

Class Attribute Details

.allowed_assoc_typesObject (readonly)

Returns the value of attribute allowed_assoc_types.



71
72
73
# File 'lib/openid/consumer/associationmanager.rb', line 71

def allowed_assoc_types
  @allowed_assoc_types
end

.session_typeObject (readonly)

Returns the value of attribute session_type.



71
72
73
# File 'lib/openid/consumer/associationmanager.rb', line 71

def session_type
  @session_type
end

Instance Method Details

#extract_secret(response) ⇒ Object



80
81
82
83
# File 'lib/openid/consumer/associationmanager.rb', line 80

def extract_secret(response)
  mac_key64 = response.get_arg(OPENID_NS, 'mac_key', NO_DEFAULT)
  return Util.from_base64(mac_key64)
end

#get_requestObject



76
77
78
# File 'lib/openid/consumer/associationmanager.rb', line 76

def get_request
  return {}
end