Module
Hyper.Authorization
- Package
- purescript-hyper
- Repository
- owickstrom/hyper
#withAuthorization Source
withAuthorization :: forall c res req b a. b -> Conn req res { authorization :: a | c } -> Conn req res { authorization :: b | c }
#authorized Source
authorized :: forall c b res req m a. Monad m => ResponseWritable b m String => Response res m b => (Conn req (res StatusLineOpen) { authorization :: Unit | c } -> m (Maybe a)) -> Middleware m (Conn req (res StatusLineOpen) { authorization :: a | c }) (Conn req (res ResponseEnded) { authorization :: a | c }) Unit -> Middleware m (Conn req (res StatusLineOpen) { authorization :: Unit | c }) (Conn req (res ResponseEnded) { authorization :: Unit | c }) Unit
- Modules
- Hyper.
Authentication - Hyper.
Authorization - Hyper.
Conn - Hyper.
ContentNegotiation - Hyper.
Cookies - Hyper.
Form - Hyper.
Form. Urlencoded - Hyper.
Header - Hyper.
Middleware - Hyper.
Middleware. Class - Hyper.
Node. BasicAuth - Hyper.
Node. FileServer - Hyper.
Node. Server - Hyper.
Node. Server. Options - Hyper.
Node. Session. InMemory - Hyper.
Node. Test - Hyper.
Request - Hyper.
Response - Hyper.
Session - Hyper.
Status - Hyper.
Test. TestServer