Class: Spid::Saml2::IdpLogoutRequest

Inherits:
SamlParser show all
Defined in:
lib/spid/saml2/idp_logout_request.rb

Overview

:nodoc:

Instance Attribute Summary

Attributes inherited from SamlParser

#document, #saml_message

Instance Method Summary collapse

Methods inherited from SamlParser

#element_from_xpath, #initialize

Methods included from Utils

#certificate_from_encoded_der, #decode, #decode_and_inflate, #deflate, #deflate_and_encode, #encode, #escaped_params, #escaped_query_string, #inflate, #query_param, #query_params, #query_string

Constructor Details

This class inherits a constructor from Spid::Saml2::SamlParser

Instance Method Details

#destinationObject



10
11
12
# File 'lib/spid/saml2/idp_logout_request.rb', line 10

def destination
  element_from_xpath("/samlp:LogoutRequest/@Destination")
end

#idObject



6
7
8
# File 'lib/spid/saml2/idp_logout_request.rb', line 6

def id
  element_from_xpath("/samlp:LogoutRequest/@ID")
end

#issue_instantObject



14
15
16
# File 'lib/spid/saml2/idp_logout_request.rb', line 14

def issue_instant
  element_from_xpath("/samlp:LogoutRequest/@IssueInstant")
end

#issuerObject



30
31
32
# File 'lib/spid/saml2/idp_logout_request.rb', line 30

def issuer
  element_from_xpath("/samlp:LogoutRequest/saml:Issuer/text()")
end

#issuer_name_qualifierObject



18
19
20
# File 'lib/spid/saml2/idp_logout_request.rb', line 18

def issuer_name_qualifier
  element_from_xpath("/samlp:LogoutRequest/saml:Issuer/@NameQualifier")
end

#name_idObject



22
23
24
# File 'lib/spid/saml2/idp_logout_request.rb', line 22

def name_id
  element_from_xpath("/samlp:LogoutRequest/saml:NameID/text()")
end

#name_id_name_qualifierObject



26
27
28
# File 'lib/spid/saml2/idp_logout_request.rb', line 26

def name_id_name_qualifier
  element_from_xpath("/samlp:LogoutRequest/saml:NameID/@NameQualifier")
end

#session_indexObject



34
35
36
# File 'lib/spid/saml2/idp_logout_request.rb', line 34

def session_index
  element_from_xpath("/samlp:LogoutRequest/saml:SessionIndex/text()")
end