class Saml::Logoutrequest

Overview

SAML2 Logout Request (SLO SP initiated, Builder)

Defined in:

saml/logoutrequest.cr

Constructors

Instance Method Summary

Instance methods inherited from class Saml::SamlMessage

id(document) id, valid_saml?(document, soft = true) valid_saml?, version(document) version

Constructor Detail

def self.new #

Initializes the Logout Request. A Logoutrequest Object that is an extension of the SamlMessage class. Asigns an ID, a random uuid.


[View source]

Instance Method Detail

def create(settings, params = {} of Symbol => String) #

Creates the Logout Request string. @param settings [Saml::Settings|nil] Toolkit settings @param params [Hash] Some extra parameters to be added in the GET for example the RelayState @return [String] Logout Request string that includes the SAMLRequest


[View source]
def create_logout_request_xml_doc(settings) #

Creates the SAMLRequest String. @param settings [Saml::Settings|nil] Toolkit settings @return [String] The SAMLRequest String.


[View source]
def create_params(settings, params = {} of Symbol => String) #

Creates the Get parameters for the logout request. @param settings [Saml::Settings|nil] Toolkit settings @param params [Hash] Some extra parameters to be added in the GET for example the RelayState @return [Hash] Parameters


[View source]
def create_xml_document(settings) #

[View source]
def request_id : String #

[View source]
def sign_document(document, settings) #

[View source]
def uuid : String #

Logout Request ID


[View source]
def uuid=(uuid : String) #

Logout Request ID


[View source]