Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
SAML2-related errors.
Synopsis
- data SAML2Error
- = InvalidResponseXml SomeException
- | InvalidAssertionXml SomeException
- | InvalidResponse IOException
- | InvalidAssertion IOException
- | InvalidIssuer Text
- | UnexpectedDestination Text
- | UnexpectedReference Text
- | Unsuccessful StatusCode
- | CanonicalisationFailure IOException
- | DecryptionFailure Error
- | InvalidIV
- | InvalidPadding
- | InvalidSignature
- | InvalidDigest
- | NotValid
- | AudienceMismatch [Text]
- | CryptoError CryptoError
- | InvalidRequest
- | EncryptedAssertionRequired
- | EncryptedAssertionNotSupported
Documentation
data SAML2Error Source #
Enumerates errors that may arise in the SAML2 middleware.
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 |
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. |
AudienceMismatch [Text] | Audience restrictions don't match our audiences. Since: 0.4 |
CryptoError CryptoError | A general crypto error occurred. |
InvalidRequest | The request made to the configured endpoint is not valid. |
EncryptedAssertionRequired | The configuration requires an encrypted assertion, but got a plaintext assertion. Since: 0.4 |
EncryptedAssertionNotSupported | The configuration does not support decryption, but got an encrypted assertion. Since: 0.4 |
Instances
Show SAML2Error Source # | |
Defined in Network.Wai.SAML2.Error showsPrec :: Int -> SAML2Error -> ShowS # show :: SAML2Error -> String # showList :: [SAML2Error] -> ShowS # |