| Safe Haskell | Safe-Inferred |
|---|---|
| Language | Haskell2010 |
Polysemy.Account.Api.Effect.Authorize
Description
Documentation
data Authorize i param priv :: Effect where Source #
This effect is used by the combinators in Polysemy.Account.Api.Server.AuthEndpoint to decide whether an account is authorized to access an endpoint.
The type parameters signify:
i- The storage ID type.
param- Identifies the authorization requirements of the endpoint.
priv- The privilege type stored in the database.