| Safe Haskell | Safe-Inferred |
|---|---|
| Language | Haskell2010 |
Network.Wai.SAML2.Config
Description
Configuration types and smart constructors for the SAML2 middleware.
Synopsis
- data SAML2Config = SAML2Config {}
- saml2Config :: PrivateKey -> PublicKey -> SAML2Config
- saml2ConfigNoEncryption :: PublicKey -> SAML2Config
Documentation
data SAML2Config Source #
Represents configurations for the SAML2 middleware.
Constructors
| SAML2Config | |
Fields
| |
saml2Config :: PrivateKey -> PublicKey -> SAML2Config Source #
saml2Config privateKey publicKey constructs a SAML2Config value
with the most basic set of options possible using privateKey as the
SP's private key and publicKey as the IdP's public key. You should
almost certainly change the resulting settings.
This requires encrypted assertions by default.
saml2ConfigNoEncryption :: PublicKey -> SAML2Config Source #
saml2ConfigNoEncryption publicKey constructs a SAML2Config value
with the most basic set of options possible using publicKey as the
IdP's public key. You should almost certainly change the resulting settings.
Since: 0.4.0.0