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

WebGear.Server.Trait.Auth.Basic

Description

Server implementation of the BasicAuth' trait.

Orphan instances

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

Methods

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

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

Methods

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