class Saml::SloLogoutrequest
- Saml::SloLogoutrequest
- Saml::SamlMessage
- Reference
- Object
Overview
SAML2 Logout Request (SLO IdP initiated, Parser)
Included Modules
Defined in:
saml/slo_logoutrequest.crConstructors
-
.new(request, options : Hash(Symbol, String) = {} of Symbol => String)
Constructs the Logout Request.
Instance Method Summary
- #document
-
#id
@return [String|nil] Gets the ID attribute from the Logout Request.
-
#is_valid?(collect_errors = false)
Validates the Logout Request with the default values (soft = true) @param collect_errors [Boolean] Stop validation when first error appears or keep validating.
-
#issuer
@return [String] Gets the Issuer from the Logout Request.
-
#name_id
@return [String] Gets the NameID of the Logout Request.
-
#name_id_format
@return [String] Gets the NameID Format of the Logout Request.
- #nameid
- #nameid_format
-
#not_on_or_after
@return [Time|nil] Gets the NotOnOrAfter Attribute value if exists.
- #options : Hash(Symbol, String)
- #request
- #request_id
-
#session_indexes
@return [Array] Gets the SessionIndex if exists (Supported multiple values).
-
#settings
Saml::Settings Toolkit settings
-
#settings=(settings)
Saml::Settings Toolkit settings
- #soft : Bool
- #soft=(soft : Bool)
Instance methods inherited from module Saml::ErrorHandling
append_error(error_msg : String, soft_override : Bool | Nil = nil)
append_error,
errors
errors,
errors_messages
errors_messages,
errors_messages=(errors_messages)
errors_messages=,
reset_errors!
reset_errors!
Instance methods inherited from class Saml::SamlMessage
id(document)
id,
valid_saml?(document, soft = true)
valid_saml?,
version(document)
version
Constructor Detail
Constructs the Logout Request. A Logout Request Object that is an extension of the SamlMessage class. @param request [String] A UUEncoded Logout Request from the IdP. @param options [Hash] :settings to provide the Saml::Settings object Or :allowed_clock_drift for the logout request validation process to allow a clock drift when checking dates with Or :relax_signature_validation to accept signatures if no idp certificate registered on settings
@raise [ArgumentError] If Request is nil
Instance Method Detail
Validates the Logout Request with the default values (soft = true) @param collect_errors [Boolean] Stop validation when first error appears or keep validating. @return [Boolean] TRUE if the Logout Request is valid
@return [Array] Gets the SessionIndex if exists (Supported multiple values). Empty Array if none found