OpenmaizeJWT v0.8.1 OpenmaizeJWT.Config
This module provides an abstraction layer for configuration.
The following are valid configuration items.
name | type | default |
---|---|---|
token_alg | atom | :sha512 |
token_validity | int | 120 (minutes) |
keyrotate_days | int | 28 |
Summary
Functions
The algorithm used to sign the token
The number of days after which the JWT signing keys will be rotated
The length of time after which a JSON Web Token expires
Functions
The algorithm used to sign the token.
The default value is :sha512, and :sha256 is also supported.