servant-auth-token-0.4.1.0: Servant based API and server for token based authorisation

Copyright(c) Anton Gushcha 2016
LicenseMIT
Maintainerncrashed@gmail.com
Stabilityexperimental
PortabilityPortable
Safe HaskellNone
LanguageHaskell2010

Servant.Server.Auth.Token.Config

Description

 

Synopsis

Documentation

data AuthConfig Source #

Configuration specific for authorisation system

Constructors

AuthConfig 

Fields

class Monad m => HasAuthConfig m where Source #

Monad that can read an auth config

Minimal complete definition

getAuthConfig

defaultAuthConfig :: AuthConfig Source #

Default configuration for authorisation server