polysemy-account-0.2.0.0: Account management with Servant and Polysemy
Safe HaskellSafe-Inferred
LanguageHaskell2010

Polysemy.Account.Data.Authed

Description

 
Synopsis

Documentation

type Authed i p = Auth '[JWT] (AuthedAccount i p) Source #

A Servant API marker for JWT auth with AuthedAccount

type AuthedP i = Authed i [Privilege] Source #

Convenience alias for using the default privilege type with Authed.