wai-saml2-0.2.1.2: SAML2 assertion validation as WAI middleware
Safe HaskellNone
LanguageHaskell2010

Network.Wai.SAML2.Error

Description

SAML2-related errors.

Synopsis

Documentation

data SAML2Error Source #

Enumerates errors that may arise in the SAML2 middleware.

Constructors

InvalidResponseXml SomeException

The response received from the client is not valid XML.

InvalidAssertionXml SomeException

The assertion is not valid XML.

InvalidResponse IOException

The response is not a valid SAML2 response.

InvalidAssertion IOException

The assertion is not a valid SAML2 assertion.

InvalidIssuer Text

The issuer is not who we expected.

UnexpectedDestination Text

The destination is not what we expected.

UnexpectedReference Text

The reference ID is not what we expected.

Unsuccessful StatusCode

The response indicates a stuatus other than Success.

CanonicalisationFailure IOException

Failed to canonicalise some XML.

DecryptionFailure Error

Unable to decrypt the AES key.

InvalidIV

The initialisation vector for a symmetric cipher is invalid.

InvalidPadding

The padding for a blockcipher is invalid.

InvalidSignature

The signature is incorrect.

InvalidDigest

The digest is incorrect.

NotValid

The assertion is not valid.

CryptoError CryptoError

A general crypto error occurred.

InvalidRequest

The request made to the configured endpoint is not valid.

Instances

Instances details
Show SAML2Error Source # 
Instance details

Defined in Network.Wai.SAML2.Error