public class TwoFactorAuthenticationApi extends Object
Constructor and Description |
---|
TwoFactorAuthenticationApi() |
TwoFactorAuthenticationApi(ApiClient apiClient) |
Modifier and Type | Method and Description |
---|---|
void |
authorizeRecoveryCode()
Use a backup recovery code to complete authentication
Complete two factor authentication with a backup recovery code.
|
void |
authorizeU2F()
Use a U2F key to complete authentication
Complete two factor authentication with a U2F authentication token to authenticate to SDKMS.
|
RecoveryCodes |
generateRecoveryCodes()
Generate backup recovery codes for the current user
Generate backup recovery codes that may be used to complete complete two factor authentication.
|
MfaChallenge |
generateU2FChallenge()
Generate a new challenge for registering a U2F devices
Generate a new challenge that may be used to register U2F devices.
|
ApiClient |
getApiClient() |
void |
lock2F()
Lock two factor configuration
Lock two factor configuration after completing two factor reconfiguration.
|
void |
setApiClient(ApiClient apiClient) |
public TwoFactorAuthenticationApi()
public TwoFactorAuthenticationApi(ApiClient apiClient)
public ApiClient getApiClient()
public void setApiClient(ApiClient apiClient)
public void authorizeRecoveryCode() throws ApiException
ApiException
- if fails to make API callpublic void authorizeU2F() throws ApiException
ApiException
- if fails to make API callpublic RecoveryCodes generateRecoveryCodes() throws ApiException
ApiException
- if fails to make API callpublic MfaChallenge generateU2FChallenge() throws ApiException
ApiException
- if fails to make API callpublic void lock2F() throws ApiException
ApiException
- if fails to make API callCopyright © 2017-2023 Fortanix Inc. All Rights Reserved