View Source ShinAuth.SAML (shin_auth v1.2.0)
Security Assertion Markup Language utilities.
Performs decoding and validation based on the spec: https://docs.oasis-open.org/security/saml/v2.0/saml-core-2.0-os.pdf
Summary
Functions
Performs decoding on a given SAML request XML document
Performs decoding on a given SAML response XML document
Functions
@spec decode_saml_request(saml_request_xml :: String.t()) :: {:ok, ShinAuth.SAML.Request.t()} | {:error, ShinAuth.SAML.Request.Error.t()}
Performs decoding on a given SAML request XML document
@spec decode_saml_response(saml_response_xml :: String.t()) :: {:ok, ShinAuth.SAML.Response.t()} | {:error, ShinAuth.SAML.Response.Error.t()}
Performs decoding on a given SAML response XML document