webgear-server-1.0.1: Composable, type-safe library to build HTTP API servers
Safe HaskellNone
LanguageHaskell2010

WebGear.Server.Trait.Auth.JWT

Description

Server implementation of the JWTAuth' trait.

Orphan instances

(MonadTime m, Get (ServerHandler m) (AuthorizationHeader scheme) Request) => Get (ServerHandler m) (JWTAuth' 'Optional scheme m e a) Request Source # 
Instance details

Methods

getTrait :: forall (ts :: [Type]). JWTAuth' 'Optional scheme m e a -> ServerHandler m (Linked ts Request) (Either (Absence (JWTAuth' 'Optional scheme m e a) Request) (Attribute (JWTAuth' 'Optional scheme m e a) Request)) #

(MonadTime m, Get (ServerHandler m) (AuthorizationHeader scheme) Request) => Get (ServerHandler m) (JWTAuth' 'Required scheme m e a) Request Source # 
Instance details

Methods

getTrait :: forall (ts :: [Type]). JWTAuth' 'Required scheme m e a -> ServerHandler m (Linked ts Request) (Either (Absence (JWTAuth' 'Required scheme m e a) Request) (Attribute (JWTAuth' 'Required scheme m e a) Request)) #