Module

Bucketchain.SimpleAPI.Auth

#Auth

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

Modules