Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Metadata for SAML V2.0
Synopsis
- ns :: Namespace
- xpElem :: String -> PU a -> PU a
- type EntityID = AnyURI
- xpEntityID :: PU EntityID
- data Endpoint = Endpoint {}
- data IndexedEndpoint = IndexedEndpoint {}
- data Localized a = Localized {
- localizedLang :: Language
- localized :: a
- xpLocalized :: PU a -> PU (Localized a)
- type LocalizedName = Localized String
- type LocalizedURI = Localized AnyURI
- data Metadata
- = EntityDescriptor {
- entityID :: EntityID
- metadataID :: Maybe ID
- metadataValidUntil :: Maybe DateTime
- metadataCacheDuration :: Maybe Duration
- entityAttrs :: Nodes
- metadataSignature :: Maybe Signature
- metadataExtensions :: Extensions
- entityDescriptors :: Descriptors
- entityOrganization :: Maybe Organization
- entityContactPerson :: [Contact]
- entityAditionalMetadataLocation :: [AdditionalMetadataLocation]
- | EntitiesDescriptor { }
- = EntityDescriptor {
- newtype Extensions = Extensions {
- extensions :: Nodes
- data Descriptors
- = Descriptors { }
- | AffiliationDescriptor {
- affiliationDescriptorAffiliationOwnerID :: EntityID
- affiliationDescriptorID :: Maybe ID
- affiliationDescriptorValidUntil :: Maybe DateTime
- affiliationDescriptorCacheDuration :: Maybe Duration
- affiliationDescriptorAttrs :: Nodes
- affiliationDescriptorSignature :: Maybe Signature
- affiliationDescriptorExtensions :: Extensions
- affiliationDescriptorAffiliateMember :: List1 EntityID
- affiliationDescriptorKeyDescriptor :: [KeyDescriptor]
- data Descriptor
- = Descriptor { }
- | ExtendedRoleDescriptor { }
- | IDPSSODescriptor {
- descriptorRole :: !RoleDescriptor
- descriptorSSO :: !SSODescriptor
- descriptorWantAuthnRequestsSigned :: Boolean
- descriptorSingleSignOnService :: List1 Endpoint
- descriptorNameIDMappingService :: [Endpoint]
- descriptorAssertionIDRequestService :: [Endpoint]
- descriptorAttributeProfile :: [AnyURI]
- descriptorAttribute :: [Attribute]
- | SPSSODescriptor { }
- | AuthnAuthorityDescriptor { }
- | AttributeAuthorityDescriptor { }
- | PDPDescriptor { }
- xsiTypeQName :: QName
- data Organization = Organization {}
- data Contact = ContactPerson {}
- data ContactType
- data AdditionalMetadataLocation = AdditionalMetadataLocation {}
- data RoleDescriptor = RoleDescriptor {
- roleDescriptorID :: Maybe ID
- roleDescriptorValidUntil :: Maybe DateTime
- roleDescriptorCacheDuration :: Maybe Duration
- roleDescriptorProtocolSupportEnumeration :: [AnyURI]
- roleDescriptorErrorURL :: Maybe AnyURI
- roleDescriptorAttrs :: Nodes
- roleDescriptorSignature :: Maybe Signature
- roleDescriptorExtensions :: Extensions
- roleDescriptorKeyDescriptor :: [KeyDescriptor]
- roleDescriptorOrganization :: Maybe Organization
- roleDescriptorContactPerson :: [Contact]
- data KeyDescriptor = KeyDescriptor {}
- data KeyTypes
- keyType :: KeyTypes -> KeyTypes -> Bool
- data SSODescriptor = SSODescriptor {}
- data AttributeConsumingService = AttributeConsumingService {}
- data RequestedAttribute = RequestedAttribute {}
Documentation
xpEntityID :: PU EntityID Source #
data IndexedEndpoint Source #
§2.2.3
Instances
Show IndexedEndpoint Source # | |
Defined in SAML2.Metadata.Metadata showsPrec :: Int -> IndexedEndpoint -> ShowS # show :: IndexedEndpoint -> String # showList :: [IndexedEndpoint] -> ShowS # | |
Eq IndexedEndpoint Source # | |
Defined in SAML2.Metadata.Metadata (==) :: IndexedEndpoint -> IndexedEndpoint -> Bool # (/=) :: IndexedEndpoint -> IndexedEndpoint -> Bool # | |
XmlPickler IndexedEndpoint Source # | |
Defined in SAML2.Metadata.Metadata |
Localized | |
|
Instances
XmlPickler LocalizedName Source # | |
Defined in SAML2.Metadata.Metadata | |
XmlPickler LocalizedURI Source # | |
Defined in SAML2.Metadata.Metadata xpickle :: PU LocalizedURI Source # | |
Show a => Show (Localized a) Source # | |
Eq a => Eq (Localized a) Source # | |
type LocalizedName = Localized String Source #
§2.2.4
type LocalizedURI = Localized AnyURI Source #
§2.2.5
newtype Extensions Source #
§2.3.1 empty list means missing
Instances
Monoid Extensions Source # | |
Defined in SAML2.Metadata.Metadata mempty :: Extensions # mappend :: Extensions -> Extensions -> Extensions # mconcat :: [Extensions] -> Extensions # | |
Semigroup Extensions Source # | |
Defined in SAML2.Metadata.Metadata (<>) :: Extensions -> Extensions -> Extensions # sconcat :: NonEmpty Extensions -> Extensions # stimes :: Integral b => b -> Extensions -> Extensions # | |
Show Extensions Source # | |
Defined in SAML2.Metadata.Metadata showsPrec :: Int -> Extensions -> ShowS # show :: Extensions -> String # showList :: [Extensions] -> ShowS # | |
Eq Extensions Source # | |
Defined in SAML2.Metadata.Metadata (==) :: Extensions -> Extensions -> Bool # (/=) :: Extensions -> Extensions -> Bool # | |
XmlPickler Extensions Source # | |
Defined in SAML2.Metadata.Metadata xpickle :: PU Extensions Source # |
data Descriptors Source #
Instances
Show Descriptors Source # | |
Defined in SAML2.Metadata.Metadata showsPrec :: Int -> Descriptors -> ShowS # show :: Descriptors -> String # showList :: [Descriptors] -> ShowS # | |
Eq Descriptors Source # | |
Defined in SAML2.Metadata.Metadata (==) :: Descriptors -> Descriptors -> Bool # (/=) :: Descriptors -> Descriptors -> Bool # | |
XmlPickler Descriptors Source # | |
Defined in SAML2.Metadata.Metadata xpickle :: PU Descriptors Source # |
data Descriptor Source #
Descriptor | §2.4.1 |
ExtendedRoleDescriptor | §2.4.1 (variant extended with use of xsi:type attribute) |
IDPSSODescriptor | §2.4.3 |
| |
SPSSODescriptor | §2.4.4 |
AuthnAuthorityDescriptor | §2.4.5 |
AttributeAuthorityDescriptor | §2.4.7 |
PDPDescriptor | §2.4.6 |
Instances
Show Descriptor Source # | |
Defined in SAML2.Metadata.Metadata showsPrec :: Int -> Descriptor -> ShowS # show :: Descriptor -> String # showList :: [Descriptor] -> ShowS # | |
Eq Descriptor Source # | |
Defined in SAML2.Metadata.Metadata (==) :: Descriptor -> Descriptor -> Bool # (/=) :: Descriptor -> Descriptor -> Bool # | |
XmlPickler Descriptor Source # | |
Defined in SAML2.Metadata.Metadata xpickle :: PU Descriptor Source # |
xsiTypeQName :: QName Source #
data Organization Source #
§2.3.2.1
Instances
Show Organization Source # | |
Defined in SAML2.Metadata.Metadata showsPrec :: Int -> Organization -> ShowS # show :: Organization -> String # showList :: [Organization] -> ShowS # | |
Eq Organization Source # | |
Defined in SAML2.Metadata.Metadata (==) :: Organization -> Organization -> Bool # (/=) :: Organization -> Organization -> Bool # | |
XmlPickler Organization Source # | |
Defined in SAML2.Metadata.Metadata xpickle :: PU Organization Source # |
§2.3.2.2
data ContactType Source #
ContactTypeTechnical | |
ContactTypeSupport | |
ContactTypeAdministrative | |
ContactTypeBilling | |
ContactTypeOther |
Instances
data AdditionalMetadataLocation Source #
§2.3.2.3
Instances
Show AdditionalMetadataLocation Source # | |
Defined in SAML2.Metadata.Metadata showsPrec :: Int -> AdditionalMetadataLocation -> ShowS # show :: AdditionalMetadataLocation -> String # showList :: [AdditionalMetadataLocation] -> ShowS # | |
Eq AdditionalMetadataLocation Source # | |
Defined in SAML2.Metadata.Metadata | |
XmlPickler AdditionalMetadataLocation Source # | |
Defined in SAML2.Metadata.Metadata |
data RoleDescriptor Source #
§2.4.1
Instances
Show RoleDescriptor Source # | |
Defined in SAML2.Metadata.Metadata showsPrec :: Int -> RoleDescriptor -> ShowS # show :: RoleDescriptor -> String # showList :: [RoleDescriptor] -> ShowS # | |
Eq RoleDescriptor Source # | |
Defined in SAML2.Metadata.Metadata (==) :: RoleDescriptor -> RoleDescriptor -> Bool # (/=) :: RoleDescriptor -> RoleDescriptor -> Bool # | |
Signable RoleDescriptor Source # | |
Defined in SAML2.Metadata.Metadata signature' :: Lens' RoleDescriptor (Maybe Signature) Source # signedID :: RoleDescriptor -> ID Source # | |
XmlPickler RoleDescriptor Source # | |
Defined in SAML2.Metadata.Metadata |
data KeyDescriptor Source #
§2.4.1.1
Instances
Show KeyDescriptor Source # | |
Defined in SAML2.Metadata.Metadata showsPrec :: Int -> KeyDescriptor -> ShowS # show :: KeyDescriptor -> String # showList :: [KeyDescriptor] -> ShowS # | |
Eq KeyDescriptor Source # | |
Defined in SAML2.Metadata.Metadata (==) :: KeyDescriptor -> KeyDescriptor -> Bool # (/=) :: KeyDescriptor -> KeyDescriptor -> Bool # | |
XmlPickler KeyDescriptor Source # | |
Defined in SAML2.Metadata.Metadata |
Instances
keyType :: KeyTypes -> KeyTypes -> Bool Source #
Does the second KeyTypes include the first type of use?
data SSODescriptor Source #
§2.4.2
Instances
Show SSODescriptor Source # | |
Defined in SAML2.Metadata.Metadata showsPrec :: Int -> SSODescriptor -> ShowS # show :: SSODescriptor -> String # showList :: [SSODescriptor] -> ShowS # | |
Eq SSODescriptor Source # | |
Defined in SAML2.Metadata.Metadata (==) :: SSODescriptor -> SSODescriptor -> Bool # (/=) :: SSODescriptor -> SSODescriptor -> Bool # | |
XmlPickler SSODescriptor Source # | |
Defined in SAML2.Metadata.Metadata |
data AttributeConsumingService Source #
§2.4.4.1
Instances
Show AttributeConsumingService Source # | |
Defined in SAML2.Metadata.Metadata showsPrec :: Int -> AttributeConsumingService -> ShowS # show :: AttributeConsumingService -> String # showList :: [AttributeConsumingService] -> ShowS # | |
Eq AttributeConsumingService Source # | |
Defined in SAML2.Metadata.Metadata | |
XmlPickler AttributeConsumingService Source # | |
Defined in SAML2.Metadata.Metadata |
data RequestedAttribute Source #
§2.4.4.1.1
Instances
Show RequestedAttribute Source # | |
Defined in SAML2.Metadata.Metadata showsPrec :: Int -> RequestedAttribute -> ShowS # show :: RequestedAttribute -> String # showList :: [RequestedAttribute] -> ShowS # | |
Eq RequestedAttribute Source # | |
Defined in SAML2.Metadata.Metadata (==) :: RequestedAttribute -> RequestedAttribute -> Bool # (/=) :: RequestedAttribute -> RequestedAttribute -> Bool # | |
XmlPickler RequestedAttribute Source # | |
Defined in SAML2.Metadata.Metadata |