class Saml::Authrequest
- Saml::Authrequest
- Saml::SamlMessage
- Reference
- Object
Defined in:
saml/authrequest.crConstructors
-
.new
Initializes the AuthNRequest.
Instance Method Summary
-
#create(settings, params = {} of String => String | ::Nil)
Creates the AuthNRequest string.
-
#create_authentication_xml_doc(settings : Settings)
Creates the SAMLRequest String.
-
#create_params(settings, params = {} of String => String | ::Nil)
Creates the Get parameters for the request.
- #create_xml_document(settings)
- #request_id : String
- #sign_document(document, settings)
-
#uuid : String
AuthNRequest ID
-
#uuid=(uuid : String)
AuthNRequest ID
Instance methods inherited from class Saml::SamlMessage
id(document)
id,
valid_saml?(document, soft = true)
valid_saml?,
version(document)
version
Constructor Detail
Initializes the AuthNRequest. An Authrequest Object that is an extension of the SamlMessage class. Asigns an ID, a random uuid.
Instance Method Detail
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
Creates the SAMLRequest String. @param settings [Saml::Settings|nil] Toolkit settings @return [String] The SAMLRequest String.
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