Safe Haskell | None |
---|---|
Language | GHC2021 |
SAML2.WebSSO.Servant
Documentation
There is a tiny package `servant-xml`, which does essentially what this type and its 'Mime{,Un}Render' instances do, but inlining this package seems easier.
FUTUREWORK: there is also RawXML
in wire-api, we should probably drop one of the two.
Instances
Accept XML Source # | |
Defined in SAML2.WebSSO.Servant | |
HasXMLRoot a => MimeRender XML a Source # | |
Defined in SAML2.WebSSO.Servant Methods mimeRender :: Proxy XML -> a -> ByteString Source # | |
HasXMLRoot a => MimeUnrender XML a Source # | |
Defined in SAML2.WebSSO.Servant Methods mimeUnrender :: Proxy XML -> ByteString -> Either String a Source # mimeUnrenderWithType :: Proxy XML -> MediaType -> ByteString -> Either String a Source # |
Instances
Accept HTML Source # | |
Defined in SAML2.WebSSO.Servant | |
MimeRender HTML LoginStatus Source # | |
Defined in SAML2.WebSSO.API.Example Methods mimeRender :: Proxy HTML -> LoginStatus -> ByteString Source # | |
MimeRender HTML ST Source # | |
Defined in SAML2.WebSSO.Servant Methods mimeRender :: Proxy HTML -> ST -> ByteString Source # | |
HasXMLRoot xml => MimeRender HTML (FormRedirect xml) Source # | |
Defined in SAML2.WebSSO.API Methods mimeRender :: Proxy HTML -> FormRedirect xml -> ByteString Source # | |
HasXMLRoot xml => MimeUnrender HTML (FormRedirect xml) Source # | |
Defined in SAML2.WebSSO.API Methods mimeUnrender :: Proxy HTML -> ByteString -> Either String (FormRedirect xml) Source # mimeUnrenderWithType :: Proxy HTML -> MediaType -> ByteString -> Either String (FormRedirect xml) Source # |
setHttpCachePolicy :: Middleware Source #
- 3.5.5.1
- Caching