public class UserFactorApiHelper<T extends UserFactor> extends UserFactorApi
UserFactor references.| Constructor and Description |
|---|
UserFactorApiHelper(ApiClient apiClient) |
UserFactorApiHelper(UserFactorApi userFactorApi) |
| Modifier and Type | Method and Description |
|---|---|
<T extends UserFactor> |
activateFactorOfType(Class<T> classType,
String userId,
String factorId,
ActivateFactorRequest activateFactorRequest) |
<T extends UserFactor> |
enrollFactorOfType(Class<T> classType,
String userId,
UserFactor userFactor,
Boolean updatePhone,
String templateId,
Integer tokenLifetimeSeconds,
Boolean activate) |
T |
getFactor(String userId,
String factorId)
Retrieve a Factor
Retrieves a factor for the specified user
|
List<UserFactor> |
listFactors(String userId)
List all Factors
Lists all the enrolled factors for the specified user
|
List<UserFactor> |
listSupportedFactors(String userId)
List all Supported Factors
Lists all the supported factors that can be enrolled for the specified user
|
<T extends UserFactor> |
resendEnrollFactorOfType(Class<T> classType,
String userId,
String factorId,
UserFactor userFactor,
String templateId) |
activateFactor, activateFactor, enrollFactor, enrollFactor, getApiClient, getFactor, getFactorTransactionStatus, getFactorTransactionStatus, getObjectMapper, listFactors, listSupportedFactors, listSupportedSecurityQuestions, listSupportedSecurityQuestions, resendEnrollFactor, resendEnrollFactor, setApiClient, unenrollFactor, unenrollFactor, verifyFactor, verifyFactorpublic UserFactorApiHelper(UserFactorApi userFactorApi)
public UserFactorApiHelper(ApiClient apiClient)
public <T extends UserFactor> T activateFactorOfType(Class<T> classType, String userId, String factorId, ActivateFactorRequest activateFactorRequest) throws ApiException
ApiExceptionpublic <T extends UserFactor> T enrollFactorOfType(Class<T> classType, String userId, UserFactor userFactor, Boolean updatePhone, String templateId, Integer tokenLifetimeSeconds, Boolean activate) throws ApiException
ApiExceptionpublic T getFactor(String userId, String factorId) throws ApiException
UserFactorApigetFactor in class UserFactorApiuserId - (required)factorId - `id` of the Factor (required)ApiException - if fails to make API callpublic List<UserFactor> listFactors(String userId) throws ApiException
UserFactorApilistFactors in class UserFactorApiuserId - (required)ApiException - if fails to make API callpublic List<UserFactor> listSupportedFactors(String userId) throws ApiException
UserFactorApilistSupportedFactors in class UserFactorApiuserId - (required)ApiException - if fails to make API callpublic <T extends UserFactor> T resendEnrollFactorOfType(Class<T> classType, String userId, String factorId, UserFactor userFactor, String templateId) throws ApiException
ApiExceptionCopyright © 2017–2023 Okta. All rights reserved.