saml2-web-sso-0.20: Library and example web app for the SAML Web-based SSO profile.
Safe HaskellSafe-Inferred
LanguageHaskell2010

SAML2.WebSSO.Config

Synopsis

Documentation

data Config Source #

Instances

Instances details
Arbitrary Config Source # 
Instance details

Defined in SAML2.WebSSO.Test.Arbitrary

FromJSON Config Source # 
Instance details

Defined in SAML2.WebSSO.Config

ToJSON Config Source # 
Instance details

Defined in SAML2.WebSSO.Config

Generic Config Source # 
Instance details

Defined in SAML2.WebSSO.Config

Associated Types

type Rep Config :: Type -> Type #

Methods

from :: Config -> Rep Config x #

to :: Rep Config x -> Config #

Show Config Source # 
Instance details

Defined in SAML2.WebSSO.Config

Eq Config Source # 
Instance details

Defined in SAML2.WebSSO.Config

Methods

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

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

HasConfig ((->) Config) Source # 
Instance details

Defined in SAML2.WebSSO.Config

type Rep Config Source # 
Instance details

Defined in SAML2.WebSSO.Config

data Level Source #

this looks exactly like tinylog's type, but we redefine it here to avoid the dependency.

Constructors

Trace 
Debug 
Info 
Warn 
Error 
Fatal 

Instances

Instances details
FromJSON Level Source # 
Instance details

Defined in SAML2.WebSSO.Config

ToJSON Level Source # 
Instance details

Defined in SAML2.WebSSO.Config

Bounded Level Source # 
Instance details

Defined in SAML2.WebSSO.Config

Enum Level Source # 
Instance details

Defined in SAML2.WebSSO.Config

Generic Level Source # 
Instance details

Defined in SAML2.WebSSO.Config

Associated Types

type Rep Level :: Type -> Type #

Methods

from :: Level -> Rep Level x #

to :: Rep Level x -> Level #

Show Level Source # 
Instance details

Defined in SAML2.WebSSO.Config

Methods

showsPrec :: Int -> Level -> ShowS #

show :: Level -> String #

showList :: [Level] -> ShowS #

Eq Level Source # 
Instance details

Defined in SAML2.WebSSO.Config

Methods

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

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

Ord Level Source # 
Instance details

Defined in SAML2.WebSSO.Config

Methods

compare :: Level -> Level -> Ordering #

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

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

(>) :: Level -> Level -> Bool #

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

max :: Level -> Level -> Level #

min :: Level -> Level -> Level #

type Rep Level Source # 
Instance details

Defined in SAML2.WebSSO.Config

type Rep Level = D1 ('MetaData "Level" "SAML2.WebSSO.Config" "saml2-web-sso-0.20-JnyBok8kx0LFwqAg1j3uky" 'False) ((C1 ('MetaCons "Trace" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "Debug" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "Info" 'PrefixI 'False) (U1 :: Type -> Type))) :+: (C1 ('MetaCons "Warn" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "Error" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "Fatal" 'PrefixI 'False) (U1 :: Type -> Type))))

writeConfig :: Config -> IO () Source #

Convenience function to write a config file if you don't already have one. Writes to `$SAML2_WEB_SSO_ROOT/server.yaml`. Warns if env does not contain the root.

class HasConfig m where Source #

Methods

getConfig :: m Config Source #

Instances

Instances details
HasConfig SimpleSP Source # 
Instance details

Defined in SAML2.WebSSO.API.Example

HasConfig TestSP Source # 
Instance details

Defined in SAML2.WebSSO.Test.Util.TestSP

(Monad m, HasConfig m) => HasConfig (JudgeT m) Source # 
Instance details

Defined in SAML2.WebSSO.SP

HasConfig ((->) Config) Source # 
Instance details

Defined in SAML2.WebSSO.Config