hsaml2-0.1.2: OASIS Security Assertion Markup Language (SAML) V2.0
Safe HaskellSafe-Inferred
LanguageHaskell2010

SAML2.XML

Synopsis

Documentation

data URI Source #

Represents a general universal resource identifier using its component parts.

For example, for the URI

  foo://anonymous@www.haskell.org:42/ghc?query#frag

the components are:

Instances

Instances details
Data URI 
Instance details

Defined in Network.URI

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> URI -> c URI #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c URI #

toConstr :: URI -> Constr #

dataTypeOf :: URI -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c URI) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c URI) #

gmapT :: (forall b. Data b => b -> b) -> URI -> URI #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> URI -> r #

gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> URI -> r #

gmapQ :: (forall d. Data d => d -> u) -> URI -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> URI -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> URI -> m URI #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> URI -> m URI #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> URI -> m URI #

Generic URI 
Instance details

Defined in Network.URI

Associated Types

type Rep URI :: Type -> Type #

Methods

from :: URI -> Rep URI x #

to :: Rep URI x -> URI #

Show URI 
Instance details

Defined in Network.URI

Methods

showsPrec :: Int -> URI -> ShowS #

show :: URI -> String #

showList :: [URI] -> ShowS #

NFData URI 
Instance details

Defined in Network.URI

Methods

rnf :: URI -> () #

Eq URI 
Instance details

Defined in Network.URI

Methods

(==) :: URI -> URI -> Bool #

(/=) :: URI -> URI -> Bool #

Ord URI 
Instance details

Defined in Network.URI

Methods

compare :: URI -> URI -> Ordering #

(<) :: URI -> URI -> Bool #

(<=) :: URI -> URI -> Bool #

(>) :: URI -> URI -> Bool #

(>=) :: URI -> URI -> Bool #

max :: URI -> URI -> URI #

min :: URI -> URI -> URI #

XmlPickler LocalizedURI Source # 
Instance details

Defined in SAML2.Metadata.Metadata

Identifiable URI Binding Source # 
Instance details

Defined in SAML2.Bindings.Identifiers

Identifiable URI ActionNamespace Source # 
Instance details

Defined in SAML2.Core.Identifiers

Identifiable URI AttributeNameFormat Source # 
Instance details

Defined in SAML2.Core.Identifiers

Identifiable URI Consent Source # 
Instance details

Defined in SAML2.Core.Identifiers

Identifiable URI NameIDFormat Source # 
Instance details

Defined in SAML2.Core.Identifiers

Identifiable URI StatusCode1 Source # 
Instance details

Defined in SAML2.Core.Protocols

Identifiable URI StatusCode2 Source # 
Instance details

Defined in SAML2.Core.Protocols

Identifiable URI ConfirmationMethod Source # 
Instance details

Defined in SAML2.Profiles.ConfirmationMethod

Identifiable URI CanonicalizationAlgorithm Source # 
Instance details

Defined in SAML2.XML.Canonical

Identifiable URI EncryptionAlgorithm Source # 
Instance details

Defined in SAML2.XML.Encryption

Identifiable URI DigestAlgorithm Source # 
Instance details

Defined in SAML2.XML.Signature.Types

Identifiable URI EncodingAlgorithm Source # 
Instance details

Defined in SAML2.XML.Signature.Types

Identifiable URI MACAlgorithm Source # 
Instance details

Defined in SAML2.XML.Signature.Types

Identifiable URI SignatureAlgorithm Source # 
Instance details

Defined in SAML2.XML.Signature.Types

Identifiable URI TransformAlgorithm Source # 
Instance details

Defined in SAML2.XML.Signature.Types

Lift URI 
Instance details

Defined in Network.URI

Methods

lift :: Quote m => URI -> m Exp #

liftTyped :: forall (m :: Type -> Type). Quote m => URI -> Code m URI #

Identifiable URI a => XmlPickler (Identified URI a) Source # 
Instance details

Defined in SAML2.XML

type Rep URI 
Instance details

Defined in Network.URI

type IP = String Source #

data Identified b a Source #

Constructors

Identified !a 
Unidentified !b 

Instances

Instances details
(Show a, Show b) => Show (Identified b a) Source # 
Instance details

Defined in SAML2.XML

Methods

showsPrec :: Int -> Identified b a -> ShowS #

show :: Identified b a -> String #

showList :: [Identified b a] -> ShowS #

Default a => Default (Identified b a) Source # 
Instance details

Defined in SAML2.XML

Methods

def :: Identified b a Source #

(Eq a, Eq b) => Eq (Identified b a) Source # 
Instance details

Defined in SAML2.XML

Methods

(==) :: Identified b a -> Identified b a -> Bool #

(/=) :: Identified b a -> Identified b a -> Bool #

XmlPickler (Identified XString LogoutReason) Source # 
Instance details

Defined in SAML2.Core.Protocols

Identifiable URI a => XmlPickler (Identified URI a) Source # 
Instance details

Defined in SAML2.XML

class Eq b => Identifiable b a | a -> b where Source #

Minimal complete definition

identifier

Methods

identifier :: a -> b Source #

identifiedValues :: [a] Source #

default identifiedValues :: (Bounded a, Enum a) => [a] Source #

reidentify :: b -> Identified b a Source #

Instances

Instances details
Identifiable XString DecisionType Source # 
Instance details

Defined in SAML2.Core.Assertions

Identifiable XString AuthnContextComparisonType Source # 
Instance details

Defined in SAML2.Core.Protocols

Identifiable XString LogoutReason Source # 
Instance details

Defined in SAML2.Core.Protocols

Identifiable XString ContactType Source # 
Instance details

Defined in SAML2.Metadata.Metadata

Identifiable XString KeyTypes Source # 
Instance details

Defined in SAML2.Metadata.Metadata

Identifiable URI Binding Source # 
Instance details

Defined in SAML2.Bindings.Identifiers

Identifiable URI ActionNamespace Source # 
Instance details

Defined in SAML2.Core.Identifiers

Identifiable URI AttributeNameFormat Source # 
Instance details

Defined in SAML2.Core.Identifiers

Identifiable URI Consent Source # 
Instance details

Defined in SAML2.Core.Identifiers

Identifiable URI NameIDFormat Source # 
Instance details

Defined in SAML2.Core.Identifiers

Identifiable URI StatusCode1 Source # 
Instance details

Defined in SAML2.Core.Protocols

Identifiable URI StatusCode2 Source # 
Instance details

Defined in SAML2.Core.Protocols

Identifiable URI ConfirmationMethod Source # 
Instance details

Defined in SAML2.Profiles.ConfirmationMethod

Identifiable URI CanonicalizationAlgorithm Source # 
Instance details

Defined in SAML2.XML.Canonical

Identifiable URI EncryptionAlgorithm Source # 
Instance details

Defined in SAML2.XML.Encryption

Identifiable URI DigestAlgorithm Source # 
Instance details

Defined in SAML2.XML.Signature.Types

Identifiable URI EncodingAlgorithm Source # 
Instance details

Defined in SAML2.XML.Signature.Types

Identifiable URI MACAlgorithm Source # 
Instance details

Defined in SAML2.XML.Signature.Types

Identifiable URI SignatureAlgorithm Source # 
Instance details

Defined in SAML2.XML.Signature.Types

Identifiable URI TransformAlgorithm Source # 
Instance details

Defined in SAML2.XML.Signature.Types

samlToDocFirstChild :: XmlPickler a => a -> XmlTree Source #

From the input xml forest, take the first child of the first tree.

docToXMLWithRoot :: XmlTree -> ByteString Source #

docToXML chops off the root element from the tree. docToXMLWithRoot does not do this. it may make sense to remove docToXMLWithoutRoot, but since i don't understand this code enough to be confident not to break anything, i'll just leave this extra function for reference.