* Add Notify MFA * Fix unit test * Address review comment, change storage implementation * Add retry limit to mfa module * Fix loading * Fix invalaid login log processing * Typing * Change default message template * Change one-time password to 8 digit * Refactoring to not save secret * Bug fixing * Change async_initialize method name to aysnc_initialize_login_mfa_step * Address some simple fix code review comment
5 lines
163 B
Python
5 lines
163 B
Python
"""Constants for the auth module."""
|
|
from datetime import timedelta
|
|
|
|
ACCESS_TOKEN_EXPIRATION = timedelta(minutes=30)
|
|
MFA_SESSION_EXPIRATION = timedelta(minutes=5)
|