hscim-0.4.0.3: hscim json schema and server implementation
Safe HaskellSafe-Inferred
LanguageHaskell2010

Web.Scim.ContentType

Description

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

data SCIM Source #

Instances

Instances details
Accept SCIM Source # 
Instance details

Defined in Web.Scim.ContentType

ToJSON a => MimeRender SCIM a Source # 
Instance details

Defined in Web.Scim.ContentType

Methods

mimeRender :: Proxy SCIM -> a -> ByteString #

FromJSON a => MimeUnrender SCIM a Source # 
Instance details

Defined in Web.Scim.ContentType