Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
SCIM defines its own content type (application/scim+json). It's intended to be used for all requests and responses; see the first paragraph in the SCIM specification at https://tools.ietf.org/html/rfc7644#section-3.1.
This module contains helpers for handling it. Basically, just write
SCIM
instead of JSON
in all Servant routes.
Documentation
Instances
Accept SCIM Source # | |
Defined in Web.Scim.ContentType | |
ToJSON a => MimeRender SCIM a Source # | |
Defined in Web.Scim.ContentType mimeRender :: Proxy SCIM -> a -> ByteString # | |
FromJSON a => MimeUnrender SCIM a Source # | |
Defined in Web.Scim.ContentType mimeUnrender :: Proxy SCIM -> ByteString -> Either String a # mimeUnrenderWithType :: Proxy SCIM -> MediaType -> ByteString -> Either String a # |