Class: OAuth2::Provider::Assertion

Inherits:
Object
  • Object
show all
Defined in:
lib/oauth2/provider/exchange.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(params) ⇒ Assertion

Returns a new instance of Assertion.



204
205
206
207
# File 'lib/oauth2/provider/exchange.rb', line 204

def initialize(params)
  @type  = params[ASSERTION_TYPE]
  @value = params[ASSERTION]
end

Instance Attribute Details

#typeObject (readonly)

Returns the value of attribute type.



203
204
205
# File 'lib/oauth2/provider/exchange.rb', line 203

def type
  @type
end

#valueObject (readonly)

Returns the value of attribute value.



203
204
205
# File 'lib/oauth2/provider/exchange.rb', line 203

def value
  @value
end