Safe Haskell | None |
---|---|
Language | Haskell2010 |
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 # | |
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 # | |
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)) # |