class SamlAuthenticatable::SamlResponse

Attributes

attributes[R]
raw_response[R]

Public Class Methods

new(saml_response, attribute_map) click to toggle source
# File lib/devise_saml_authenticatable/saml_response.rb, line 7
def initialize(saml_response, attribute_map)
  @attributes = ::SamlAuthenticatable::SamlMappedAttributes.new(saml_response.attributes, attribute_map)
  @raw_response = saml_response
end

Public Instance Methods

attribute_value_by_resource_key(key) click to toggle source
# File lib/devise_saml_authenticatable/saml_response.rb, line 12
def attribute_value_by_resource_key(key)
  attributes.value_by_resource_key(key)
end