Copyright | (c) Anton Gushcha, 2016 |
---|---|
License | MIT |
Maintainer | ncrashed@gmail.com |
Stability | experimental |
Portability | Portable |
Safe Haskell | None |
Language | Haskell2010 |
- data AuthConfig = AuthConfig {
- getPool :: ConnectionPool
- defaultExpire :: !NominalDiffTime
- restoreExpire :: !NominalDiffTime
- maximumExpire :: !(Maybe NominalDiffTime)
- passwordsStrength :: !Int
- passwordValidator :: !(Text -> Maybe Text)
- servantErrorFormer :: !(ServantErr -> ServantErr)
- defaultPageSize :: !Word
- restoreCodeSender :: !(RespUserInfo -> RestoreCode -> IO ())
- defaultAuthConfig :: ConnectionPool -> AuthConfig
Documentation
data AuthConfig Source
Configuration specific for authorisation system
AuthConfig | |
|
defaultAuthConfig :: ConnectionPool -> AuthConfig Source
Default configuration for authorisation server