Module

Bucketchain.SimpleAPI.Auth

Package
purescript-bucketchain-simple-api
Repository
Bucketchain/purescript-bucketchain-simple-api

#Auth Source

newtype Auth a

The type for request handlers with authentication.

example:

-- This request handler is run with authentication.
getItems :: Auth User -> Proc AppContext (JSON Item)

Constructors