| Safe Haskell | None | 
|---|---|
| Language | Haskell2010 | 
SAML2.Metadata.Metadata
Description
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 #
§2.2.2
Constructors
| Endpoint | |
Fields  | |
data IndexedEndpoint Source #
§2.2.3
Constructors
| IndexedEndpoint | |
Instances
| Show IndexedEndpoint Source # | |
Defined in SAML2.Metadata.Metadata Methods showsPrec :: Int -> IndexedEndpoint -> ShowS # show :: IndexedEndpoint -> String # showList :: [IndexedEndpoint] -> ShowS #  | |
| Eq IndexedEndpoint Source # | |
Defined in SAML2.Metadata.Metadata Methods (==) :: IndexedEndpoint -> IndexedEndpoint -> Bool # (/=) :: IndexedEndpoint -> IndexedEndpoint -> Bool #  | |
| XmlPickler IndexedEndpoint Source # | |
Defined in SAML2.Metadata.Metadata Methods  | |
Constructors
| Localized | |
Fields 
  | |
Instances
| XmlPickler LocalizedName Source # | |
Defined in SAML2.Metadata.Metadata Methods  | |
| XmlPickler LocalizedURI Source # | |
Defined in SAML2.Metadata.Metadata Methods 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
Constructors
newtype Extensions Source #
§2.3.1 empty list means missing
Constructors
| Extensions | |
Fields 
  | |
Instances
| Monoid Extensions Source # | |
Defined in SAML2.Metadata.Metadata Methods mempty :: Extensions # mappend :: Extensions -> Extensions -> Extensions # mconcat :: [Extensions] -> Extensions #  | |
| Semigroup Extensions Source # | |
Defined in SAML2.Metadata.Metadata Methods (<>) :: Extensions -> Extensions -> Extensions # sconcat :: NonEmpty Extensions -> Extensions # stimes :: Integral b => b -> Extensions -> Extensions #  | |
| Show Extensions Source # | |
Defined in SAML2.Metadata.Metadata Methods showsPrec :: Int -> Extensions -> ShowS # show :: Extensions -> String # showList :: [Extensions] -> ShowS #  | |
| Eq Extensions Source # | |
Defined in SAML2.Metadata.Metadata  | |
| XmlPickler Extensions Source # | |
Defined in SAML2.Metadata.Metadata Methods xpickle :: PU Extensions Source #  | |
data Descriptors Source #
Constructors
Instances
| Show Descriptors Source # | |
Defined in SAML2.Metadata.Metadata Methods showsPrec :: Int -> Descriptors -> ShowS # show :: Descriptors -> String # showList :: [Descriptors] -> ShowS #  | |
| Eq Descriptors Source # | |
Defined in SAML2.Metadata.Metadata  | |
| XmlPickler Descriptors Source # | |
Defined in SAML2.Metadata.Metadata Methods xpickle :: PU Descriptors Source #  | |
data Descriptor Source #
Constructors
| Descriptor | §2.4.1  | 
Fields  | |
| ExtendedRoleDescriptor | §2.4.1 (variant extended with use of xsi:type attribute)  | 
Fields  | |
| IDPSSODescriptor | §2.4.3  | 
Fields 
  | |
| 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 Methods showsPrec :: Int -> Descriptor -> ShowS # show :: Descriptor -> String # showList :: [Descriptor] -> ShowS #  | |
| Eq Descriptor Source # | |
Defined in SAML2.Metadata.Metadata  | |
| XmlPickler Descriptor Source # | |
Defined in SAML2.Metadata.Metadata Methods xpickle :: PU Descriptor Source #  | |
xsiTypeQName :: QName Source #
data Organization Source #
§2.3.2.1
Constructors
| Organization | |
Instances
| Show Organization Source # | |
Defined in SAML2.Metadata.Metadata Methods showsPrec :: Int -> Organization -> ShowS # show :: Organization -> String # showList :: [Organization] -> ShowS #  | |
| Eq Organization Source # | |
Defined in SAML2.Metadata.Metadata  | |
| XmlPickler Organization Source # | |
Defined in SAML2.Metadata.Metadata Methods xpickle :: PU Organization Source #  | |
§2.3.2.2
Constructors
| ContactPerson | |
Fields  | |
data ContactType Source #
Constructors
| ContactTypeTechnical | |
| ContactTypeSupport | |
| ContactTypeAdministrative | |
| ContactTypeBilling | |
| ContactTypeOther | 
Instances
data AdditionalMetadataLocation Source #
§2.3.2.3
Constructors
| AdditionalMetadataLocation | |
Instances
| Show AdditionalMetadataLocation Source # | |
Defined in SAML2.Metadata.Metadata Methods showsPrec :: Int -> AdditionalMetadataLocation -> ShowS # show :: AdditionalMetadataLocation -> String # showList :: [AdditionalMetadataLocation] -> ShowS #  | |
| Eq AdditionalMetadataLocation Source # | |
Defined in SAML2.Metadata.Metadata Methods (==) :: AdditionalMetadataLocation -> AdditionalMetadataLocation -> Bool # (/=) :: AdditionalMetadataLocation -> AdditionalMetadataLocation -> Bool #  | |
| XmlPickler AdditionalMetadataLocation Source # | |
Defined in SAML2.Metadata.Metadata Methods  | |
data RoleDescriptor Source #
§2.4.1
Constructors
Instances
| Show RoleDescriptor Source # | |
Defined in SAML2.Metadata.Metadata Methods showsPrec :: Int -> RoleDescriptor -> ShowS # show :: RoleDescriptor -> String # showList :: [RoleDescriptor] -> ShowS #  | |
| Eq RoleDescriptor Source # | |
Defined in SAML2.Metadata.Metadata Methods (==) :: RoleDescriptor -> RoleDescriptor -> Bool # (/=) :: RoleDescriptor -> RoleDescriptor -> Bool #  | |
| Signable RoleDescriptor Source # | |
Defined in SAML2.Metadata.Metadata Methods signature' :: Lens' RoleDescriptor (Maybe Signature) Source # signedID :: RoleDescriptor -> ID Source #  | |
| XmlPickler RoleDescriptor Source # | |
Defined in SAML2.Metadata.Metadata Methods  | |
data KeyDescriptor Source #
§2.4.1.1
Constructors
| KeyDescriptor | |
Instances
| Show KeyDescriptor Source # | |
Defined in SAML2.Metadata.Metadata Methods showsPrec :: Int -> KeyDescriptor -> ShowS # show :: KeyDescriptor -> String # showList :: [KeyDescriptor] -> ShowS #  | |
| Eq KeyDescriptor Source # | |
Defined in SAML2.Metadata.Metadata Methods (==) :: KeyDescriptor -> KeyDescriptor -> Bool # (/=) :: KeyDescriptor -> KeyDescriptor -> Bool #  | |
| XmlPickler KeyDescriptor Source # | |
Defined in SAML2.Metadata.Metadata Methods  | |
Constructors
| KeyTypeSigning | |
| KeyTypeEncryption | |
| KeyTypeBoth | 
Instances
| Bounded KeyTypes Source # | |
| Enum KeyTypes Source # | |
Defined in SAML2.Metadata.Metadata  | |
| Show KeyTypes Source # | |
| Eq KeyTypes Source # | |
| XmlPickler KeyTypes Source # | |
| Identifiable XString KeyTypes Source # | |
Defined in SAML2.Metadata.Metadata Methods identifier :: KeyTypes -> XString Source # identifiedValues :: [KeyTypes] Source # reidentify :: XString -> Identified XString KeyTypes Source #  | |
keyType :: KeyTypes -> KeyTypes -> Bool Source #
Does the second KeyTypes include the first type of use?
data SSODescriptor Source #
§2.4.2
Constructors
| SSODescriptor | |
Instances
| Show SSODescriptor Source # | |
Defined in SAML2.Metadata.Metadata Methods showsPrec :: Int -> SSODescriptor -> ShowS # show :: SSODescriptor -> String # showList :: [SSODescriptor] -> ShowS #  | |
| Eq SSODescriptor Source # | |
Defined in SAML2.Metadata.Metadata Methods (==) :: SSODescriptor -> SSODescriptor -> Bool # (/=) :: SSODescriptor -> SSODescriptor -> Bool #  | |
| XmlPickler SSODescriptor Source # | |
Defined in SAML2.Metadata.Metadata Methods  | |
data AttributeConsumingService Source #
§2.4.4.1
Constructors
| AttributeConsumingService | |
Instances
| Show AttributeConsumingService Source # | |
Defined in SAML2.Metadata.Metadata Methods showsPrec :: Int -> AttributeConsumingService -> ShowS # show :: AttributeConsumingService -> String # showList :: [AttributeConsumingService] -> ShowS #  | |
| Eq AttributeConsumingService Source # | |
Defined in SAML2.Metadata.Metadata Methods (==) :: AttributeConsumingService -> AttributeConsumingService -> Bool # (/=) :: AttributeConsumingService -> AttributeConsumingService -> Bool #  | |
| XmlPickler AttributeConsumingService Source # | |
Defined in SAML2.Metadata.Metadata Methods  | |
data RequestedAttribute Source #
§2.4.4.1.1
Constructors
| RequestedAttribute | |
Fields  | |
Instances
| Show RequestedAttribute Source # | |
Defined in SAML2.Metadata.Metadata Methods showsPrec :: Int -> RequestedAttribute -> ShowS # show :: RequestedAttribute -> String # showList :: [RequestedAttribute] -> ShowS #  | |
| Eq RequestedAttribute Source # | |
Defined in SAML2.Metadata.Metadata Methods (==) :: RequestedAttribute -> RequestedAttribute -> Bool # (/=) :: RequestedAttribute -> RequestedAttribute -> Bool #  | |
| XmlPickler RequestedAttribute Source # | |
Defined in SAML2.Metadata.Metadata Methods  | |