thunderbird_accounts.authentication.tests.test_mfa
Classes
|
get_user_access_token forwards a live token, refreshing on demand when the stored one has expired so short-lived tokens don't get rejected by the mfa-rest provider. |
|
The MFA client methods are thin wrappers over the keycloak-mfa-rest provider, reached on the realm path (KEYCLOAK_MFA_API_ENDPOINT) rather than the admin API. |
|
|
- class thunderbird_accounts.authentication.tests.test_mfa.MfaApiTestCase(methodName='runTest')[source]
Bases:
TestCase
- class thunderbird_accounts.authentication.tests.test_mfa.KeycloakClientMfaTestCase(methodName='runTest')[source]
Bases:
TestCaseThe MFA client methods are thin wrappers over the keycloak-mfa-rest provider, reached on the realm path (KEYCLOAK_MFA_API_ENDPOINT) rather than the admin API.