@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2023-01-18T04:14:02.238-06:00[America/Chicago]") @Component(value="org.openapitools.client.api.UserFactorApi") public class UserFactorApi extends Object
Constructor and Description |
---|
UserFactorApi() |
UserFactorApi(ApiClient apiClient) |
Modifier and Type | Method and Description |
---|---|
<T> T |
activateFactor(Class<?> T,
String userId,
String factorId,
ActivateFactorRequest body)
Activate a Factor
The `sms` and `token:software:totp` factor types require activation to complete the enrollment process
|
UserFactor |
activateFactor(String userId,
String factorId,
ActivateFactorRequest body)
Activate a Factor
The `sms` and `token:software:totp` factor types require activation to complete the enrollment process
|
PagedList |
activateFactorWithPaginationInfo(String userId,
String factorId,
ActivateFactorRequest body)
Activate a Factor
The `sms` and `token:software:totp` factor types require activation to complete the enrollment process
|
void |
deleteFactor(String userId,
String factorId,
Boolean removeEnrollmentRecovery)
Delete a Factor
Unenrolls an existing factor for the specified user, allowing the user to enroll a new factor
|
<T> T |
enrollFactor(Class<?> T,
String userId,
UserFactor body,
Boolean updatePhone,
String templateId,
Integer tokenLifetimeSeconds,
Boolean activate)
Enroll a Factor
Enrolls a user with a supported factor
|
UserFactor |
enrollFactor(String userId,
UserFactor body,
Boolean updatePhone,
String templateId,
Integer tokenLifetimeSeconds,
Boolean activate)
Enroll a Factor
Enrolls a user with a supported factor
|
PagedList |
enrollFactorWithPaginationInfo(String userId,
UserFactor body,
Boolean updatePhone,
String templateId,
Integer tokenLifetimeSeconds,
Boolean activate)
Enroll a Factor
Enrolls a user with a supported factor
|
ApiClient |
getApiClient() |
UserFactor |
getFactor(String userId,
String factorId)
Retrieve a Factor
Retrieves a factor for the specified user
|
VerifyUserFactorResponse |
getFactorTransactionStatus(String userId,
String factorId,
String transactionId)
Retrieve a Factor Transaction Status
Polls factors verification transaction for status
|
PagedList |
getFactorTransactionStatusWithPaginationInfo(String userId,
String factorId,
String transactionId)
Retrieve a Factor Transaction Status
Polls factors verification transaction for status
|
PagedList |
getFactorWithPaginationInfo(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
|
PagedList |
listFactorsWithPaginationInfo(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
|
PagedList |
listSupportedFactorsWithPaginationInfo(String userId)
List all Supported Factors
Lists all the supported factors that can be enrolled for the specified user
|
List<SecurityQuestion> |
listSupportedSecurityQuestions(String userId)
List all Supported Security Questions
Lists all available security questions for a user's `question` factor
|
PagedList |
listSupportedSecurityQuestionsWithPaginationInfo(String userId)
List all Supported Security Questions
Lists all available security questions for a user's `question` factor
|
void |
setApiClient(ApiClient apiClient) |
<T> T |
verifyFactor(Class<?> T,
String userId,
String factorId,
String templateId,
Integer tokenLifetimeSeconds,
String xForwardedFor,
String userAgent,
String acceptLanguage,
VerifyFactorRequest body)
Verify an MFA Factor
Verifies an OTP for a `token` or `token:hardware` factor
|
VerifyUserFactorResponse |
verifyFactor(String userId,
String factorId,
String templateId,
Integer tokenLifetimeSeconds,
String xForwardedFor,
String userAgent,
String acceptLanguage,
VerifyFactorRequest body)
Verify an MFA Factor
Verifies an OTP for a `token` or `token:hardware` factor
|
PagedList |
verifyFactorWithPaginationInfo(String userId,
String factorId,
String templateId,
Integer tokenLifetimeSeconds,
String xForwardedFor,
String userAgent,
String acceptLanguage,
VerifyFactorRequest body)
Verify an MFA Factor
Verifies an OTP for a `token` or `token:hardware` factor
|
public UserFactorApi()
@Autowired public UserFactorApi(ApiClient apiClient)
public ApiClient getApiClient()
public void setApiClient(ApiClient apiClient)
public UserFactor activateFactor(String userId, String factorId, ActivateFactorRequest body) throws org.springframework.web.client.RestClientException
200 - Success
400 - Bad Request
403 - Forbidden
404 - Not Found
429 - Too Many Requests
userId
- (required)factorId
- (required)body
- (optional)org.springframework.web.client.RestClientException
- if an error occurs while attempting to invoke the APIpublic <T> T activateFactor(Class<?> T, String userId, String factorId, ActivateFactorRequest body) throws org.springframework.web.client.RestClientException
200 - Success
400 - Bad Request
403 - Forbidden
404 - Not Found
429 - Too Many Requests
T
- (required) - the assignable return typeuserId
- (required)factorId
- (required)body
- (optional)org.springframework.web.client.RestClientException
- if an error occurs while attempting to invoke the APIpublic PagedList activateFactorWithPaginationInfo(String userId, String factorId, ActivateFactorRequest body) throws org.springframework.web.client.RestClientException
200 - Success
400 - Bad Request
403 - Forbidden
404 - Not Found
429 - Too Many Requests
userId
- (required)factorId
- (required)body
- (optional)org.springframework.web.client.RestClientException
- if an error occurs while attempting to invoke the APIpublic void deleteFactor(String userId, String factorId, Boolean removeEnrollmentRecovery) throws org.springframework.web.client.RestClientException
204 - No Content
403 - Forbidden
404 - Not Found
429 - Too Many Requests
userId
- (required)factorId
- (required)removeEnrollmentRecovery
- (optional, default to false)org.springframework.web.client.RestClientException
- if an error occurs while attempting to invoke the APIpublic UserFactor enrollFactor(String userId, UserFactor body, Boolean updatePhone, String templateId, Integer tokenLifetimeSeconds, Boolean activate) throws org.springframework.web.client.RestClientException
200 - Success
400 - Bad Request
403 - Forbidden
404 - Not Found
429 - Too Many Requests
userId
- (required)body
- Factor (required)updatePhone
- (optional, default to false)templateId
- id of SMS template (only for SMS factor) (optional)tokenLifetimeSeconds
- (optional, default to 300)activate
- (optional, default to false)org.springframework.web.client.RestClientException
- if an error occurs while attempting to invoke the APIpublic <T> T enrollFactor(Class<?> T, String userId, UserFactor body, Boolean updatePhone, String templateId, Integer tokenLifetimeSeconds, Boolean activate) throws org.springframework.web.client.RestClientException
200 - Success
400 - Bad Request
403 - Forbidden
404 - Not Found
429 - Too Many Requests
T
- (required) - the assignable return typeuserId
- (required)body
- Factor (required)updatePhone
- (optional, default to false)templateId
- id of SMS template (only for SMS factor) (optional)tokenLifetimeSeconds
- (optional, default to 300)activate
- (optional, default to false)org.springframework.web.client.RestClientException
- if an error occurs while attempting to invoke the APIpublic PagedList enrollFactorWithPaginationInfo(String userId, UserFactor body, Boolean updatePhone, String templateId, Integer tokenLifetimeSeconds, Boolean activate) throws org.springframework.web.client.RestClientException
200 - Success
400 - Bad Request
403 - Forbidden
404 - Not Found
429 - Too Many Requests
userId
- (required)body
- Factor (required)updatePhone
- (optional, default to false)templateId
- id of SMS template (only for SMS factor) (optional)tokenLifetimeSeconds
- (optional, default to 300)activate
- (optional, default to false)org.springframework.web.client.RestClientException
- if an error occurs while attempting to invoke the APIpublic UserFactor getFactor(String userId, String factorId) throws org.springframework.web.client.RestClientException
200 - Success
403 - Forbidden
404 - Not Found
429 - Too Many Requests
userId
- (required)factorId
- (required)org.springframework.web.client.RestClientException
- if an error occurs while attempting to invoke the APIpublic PagedList getFactorWithPaginationInfo(String userId, String factorId) throws org.springframework.web.client.RestClientException
200 - Success
403 - Forbidden
404 - Not Found
429 - Too Many Requests
userId
- (required)factorId
- (required)org.springframework.web.client.RestClientException
- if an error occurs while attempting to invoke the APIpublic VerifyUserFactorResponse getFactorTransactionStatus(String userId, String factorId, String transactionId) throws org.springframework.web.client.RestClientException
200 - Success
403 - Forbidden
404 - Not Found
429 - Too Many Requests
userId
- (required)factorId
- (required)transactionId
- (required)org.springframework.web.client.RestClientException
- if an error occurs while attempting to invoke the APIpublic PagedList getFactorTransactionStatusWithPaginationInfo(String userId, String factorId, String transactionId) throws org.springframework.web.client.RestClientException
200 - Success
403 - Forbidden
404 - Not Found
429 - Too Many Requests
userId
- (required)factorId
- (required)transactionId
- (required)org.springframework.web.client.RestClientException
- if an error occurs while attempting to invoke the APIpublic List<UserFactor> listFactors(String userId) throws org.springframework.web.client.RestClientException
200 - Success
403 - Forbidden
404 - Not Found
429 - Too Many Requests
userId
- (required)org.springframework.web.client.RestClientException
- if an error occurs while attempting to invoke the APIpublic PagedList listFactorsWithPaginationInfo(String userId) throws org.springframework.web.client.RestClientException
200 - Success
403 - Forbidden
404 - Not Found
429 - Too Many Requests
userId
- (required)org.springframework.web.client.RestClientException
- if an error occurs while attempting to invoke the APIpublic List<UserFactor> listSupportedFactors(String userId) throws org.springframework.web.client.RestClientException
200 - Success
403 - Forbidden
404 - Not Found
429 - Too Many Requests
userId
- (required)org.springframework.web.client.RestClientException
- if an error occurs while attempting to invoke the APIpublic PagedList listSupportedFactorsWithPaginationInfo(String userId) throws org.springframework.web.client.RestClientException
200 - Success
403 - Forbidden
404 - Not Found
429 - Too Many Requests
userId
- (required)org.springframework.web.client.RestClientException
- if an error occurs while attempting to invoke the APIpublic List<SecurityQuestion> listSupportedSecurityQuestions(String userId) throws org.springframework.web.client.RestClientException
200 - Success
403 - Forbidden
404 - Not Found
429 - Too Many Requests
userId
- (required)org.springframework.web.client.RestClientException
- if an error occurs while attempting to invoke the APIpublic PagedList listSupportedSecurityQuestionsWithPaginationInfo(String userId) throws org.springframework.web.client.RestClientException
200 - Success
403 - Forbidden
404 - Not Found
429 - Too Many Requests
userId
- (required)org.springframework.web.client.RestClientException
- if an error occurs while attempting to invoke the APIpublic VerifyUserFactorResponse verifyFactor(String userId, String factorId, String templateId, Integer tokenLifetimeSeconds, String xForwardedFor, String userAgent, String acceptLanguage, VerifyFactorRequest body) throws org.springframework.web.client.RestClientException
200 - Success
400 - Bad Request
403 - Forbidden
404 - Not Found
429 - Too Many Requests
userId
- (required)factorId
- (required)templateId
- (optional)tokenLifetimeSeconds
- (optional, default to 300)xForwardedFor
- (optional)userAgent
- (optional)acceptLanguage
- (optional)body
- (optional)org.springframework.web.client.RestClientException
- if an error occurs while attempting to invoke the APIpublic <T> T verifyFactor(Class<?> T, String userId, String factorId, String templateId, Integer tokenLifetimeSeconds, String xForwardedFor, String userAgent, String acceptLanguage, VerifyFactorRequest body) throws org.springframework.web.client.RestClientException
200 - Success
400 - Bad Request
403 - Forbidden
404 - Not Found
429 - Too Many Requests
T
- (required) - the assignable return typeuserId
- (required)factorId
- (required)templateId
- (optional)tokenLifetimeSeconds
- (optional, default to 300)xForwardedFor
- (optional)userAgent
- (optional)acceptLanguage
- (optional)body
- (optional)org.springframework.web.client.RestClientException
- if an error occurs while attempting to invoke the APIpublic PagedList verifyFactorWithPaginationInfo(String userId, String factorId, String templateId, Integer tokenLifetimeSeconds, String xForwardedFor, String userAgent, String acceptLanguage, VerifyFactorRequest body) throws org.springframework.web.client.RestClientException
200 - Success
400 - Bad Request
403 - Forbidden
404 - Not Found
429 - Too Many Requests
userId
- (required)factorId
- (required)templateId
- (optional)tokenLifetimeSeconds
- (optional, default to 300)xForwardedFor
- (optional)userAgent
- (optional)acceptLanguage
- (optional)body
- (optional)org.springframework.web.client.RestClientException
- if an error occurs while attempting to invoke the APICopyright © 2017–2023 Okta. All rights reserved.