Class: Saml::Response

Inherits:
Object
  • Object
show all
Includes:
ComplexTypes::StatusResponseType
Defined in:
lib/saml/response.rb

Instance Method Summary collapse

Methods included from ComplexTypes::StatusResponseType

#initialize, #success?

Methods included from ComplexTypes::RequestAbstractType

#add_signature, #initialize, #provider

Methods included from XMLHelpers

#to_soap, #to_xml

Instance Method Details

#authn_failed?Boolean

Returns:

  • (Boolean)


9
10
11
# File 'lib/saml/response.rb', line 9

def authn_failed?
  !success? && status.status_code.authn_failed?
end

#no_authn_context?Boolean

Returns:

  • (Boolean)


17
18
19
# File 'lib/saml/response.rb', line 17

def no_authn_context?
  !success? && status.status_code.no_authn_context?
end

#request_denied?Boolean

Returns:

  • (Boolean)


13
14
15
# File 'lib/saml/response.rb', line 13

def request_denied?
  !success? && status.status_code.request_denied?
end