Safe Haskell | None |
---|---|
Language | Haskell2010 |
Types to represent SAML2 assertions and functions to parse them from XML.
Synopsis
- data SubjectConfirmationMethod
- data SubjectConfirmation = SubjectConfirmation {}
- data Subject = Subject {}
- data Conditions = Conditions {}
- data AuthnStatement = AuthnStatement {}
- data AssertionAttribute = AssertionAttribute {
- attributeName :: !Text
- attributeFriendlyName :: !(Maybe Text)
- attributeNameFormat :: !Text
- attributeValue :: !Text
- type AttributeStatement = [AssertionAttribute]
- parseAttributeStatement :: Cursor -> AttributeStatement
- data Assertion = Assertion {}
Documentation
data SubjectConfirmationMethod Source #
Enumerates different subject confirmation methods. See http://docs.oasis-open.org/security/saml/Post2.0/sstc-saml-tech-overview-2.0-cd-02.html#4.2.1.Subject%20Confirmation%20|outline
HolderOfKey | urn:oasis:names:tc:SAML:2.0:cm:holder-of-key |
SenderVouches | urn:oasis:names:tc:SAML:2.0:cm:sender-vouches |
Bearer | urn:oasis:names:tc:SAML:2.0:cm:bearer |
Instances
Eq SubjectConfirmationMethod Source # | |
Defined in Network.Wai.SAML2.Assertion | |
Show SubjectConfirmationMethod Source # | |
Defined in Network.Wai.SAML2.Assertion showsPrec :: Int -> SubjectConfirmationMethod -> ShowS # show :: SubjectConfirmationMethod -> String # showList :: [SubjectConfirmationMethod] -> ShowS # | |
FromXML SubjectConfirmationMethod Source # | |
Defined in Network.Wai.SAML2.Assertion |
data SubjectConfirmation Source #
Represents a subject confirmation record.
SubjectConfirmation | |
|
Instances
Eq SubjectConfirmation Source # | |
Defined in Network.Wai.SAML2.Assertion (==) :: SubjectConfirmation -> SubjectConfirmation -> Bool # (/=) :: SubjectConfirmation -> SubjectConfirmation -> Bool # | |
Show SubjectConfirmation Source # | |
Defined in Network.Wai.SAML2.Assertion showsPrec :: Int -> SubjectConfirmation -> ShowS # show :: SubjectConfirmation -> String # showList :: [SubjectConfirmation] -> ShowS # | |
FromXML SubjectConfirmation Source # | |
Defined in Network.Wai.SAML2.Assertion |
The subject of the assertion.
Subject | |
|
data Conditions Source #
Conditions under which a SAML assertion is issued.
Conditions | |
|
Instances
Eq Conditions Source # | |
Defined in Network.Wai.SAML2.Assertion (==) :: Conditions -> Conditions -> Bool # (/=) :: Conditions -> Conditions -> Bool # | |
Show Conditions Source # | |
Defined in Network.Wai.SAML2.Assertion showsPrec :: Int -> Conditions -> ShowS # show :: Conditions -> String # showList :: [Conditions] -> ShowS # | |
FromXML Conditions Source # | |
Defined in Network.Wai.SAML2.Assertion |
data AuthnStatement Source #
SAML2 authentication statements.
AuthnStatement | |
|
Instances
Eq AuthnStatement Source # | |
Defined in Network.Wai.SAML2.Assertion (==) :: AuthnStatement -> AuthnStatement -> Bool # (/=) :: AuthnStatement -> AuthnStatement -> Bool # | |
Show AuthnStatement Source # | |
Defined in Network.Wai.SAML2.Assertion showsPrec :: Int -> AuthnStatement -> ShowS # show :: AuthnStatement -> String # showList :: [AuthnStatement] -> ShowS # | |
FromXML AuthnStatement Source # | |
Defined in Network.Wai.SAML2.Assertion |
data AssertionAttribute Source #
SAML2 assertion attributes.
AssertionAttribute | |
|
Instances
Eq AssertionAttribute Source # | |
Defined in Network.Wai.SAML2.Assertion (==) :: AssertionAttribute -> AssertionAttribute -> Bool # (/=) :: AssertionAttribute -> AssertionAttribute -> Bool # | |
Show AssertionAttribute Source # | |
Defined in Network.Wai.SAML2.Assertion showsPrec :: Int -> AssertionAttribute -> ShowS # show :: AssertionAttribute -> String # showList :: [AssertionAttribute] -> ShowS # | |
FromXML AssertionAttribute Source # | |
Defined in Network.Wai.SAML2.Assertion |
type AttributeStatement = [AssertionAttribute] Source #
SAML2 assertion statements (collections of assertion attributes).
parseAttributeStatement :: Cursor -> AttributeStatement Source #
parseAttributeStatement
cursor
parses an AttributeStatement
.
Represents a SAML2 assertion.
Assertion | |
|