class Saml::Authrequest

Defined in:

saml/authrequest.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 AuthNRequest. An Authrequest 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 String => String | ::Nil) #

Creates the AuthNRequest 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] AuthNRequest string that includes the SAMLRequest


[View source]
def create_authentication_xml_doc(settings : 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 String => String | ::Nil) #

Creates the Get parameters for the 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 #

AuthNRequest ID


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

AuthNRequest ID


[View source]