2018-07-13 09:43:08 +00:00
|
|
|
"""Constants for the auth module."""
|
|
|
|
from datetime import timedelta
|
|
|
|
|
|
|
|
ACCESS_TOKEN_EXPIRATION = timedelta(minutes=30)
|
2018-09-24 09:06:50 +00:00
|
|
|
MFA_SESSION_EXPIRATION = timedelta(minutes=5)
|
2018-11-08 11:57:00 +00:00
|
|
|
|
|
|
|
GROUP_ID_ADMIN = 'system-admin'
|
|
|
|
GROUP_ID_READ_ONLY = 'system-read-only'
|