@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2022-10-28T09:54:00.189-05:00[America/Chicago]")
@Component(value="org.openapitools.client.api.UserFactorApi")
public class UserFactorApi
extends java.lang.Object
Constructor and Description |
---|
UserFactorApi() |
UserFactorApi(ApiClient apiClient) |
Modifier and Type | Method and Description |
---|---|
<T> T |
activateFactor(java.lang.Class<?> T,
java.lang.String userId,
java.lang.String factorId,
ActivateFactorRequest body)
Activate a Factor
The `sms` and `token:software:totp` factor types require activation to complete the enrollment process
|
UserFactor |
activateFactor(java.lang.String userId,
java.lang.String factorId,
ActivateFactorRequest body)
Activate a Factor
The `sms` and `token:software:totp` factor types require activation to complete the enrollment process
|
PagedList |
activateFactorWithPaginationInfo(java.lang.String userId,
java.lang.String factorId,
ActivateFactorRequest body)
Activate a Factor
The `sms` and `token:software:totp` factor types require activation to complete the enrollment process
|
void |
deleteFactor(java.lang.String userId,
java.lang.String factorId,
java.lang.Boolean removeEnrollmentRecovery)
Delete a Factor
Unenrolls an existing factor for the specified user, allowing the user to enroll a new factor
|
<T> T |
enrollFactor(java.lang.Class<?> T,
java.lang.String userId,
UserFactor body,
java.lang.Boolean updatePhone,
java.lang.String templateId,
java.lang.Integer tokenLifetimeSeconds,
java.lang.Boolean activate)
Enroll a Factor
Enrolls a user with a supported factor
|
UserFactor |
enrollFactor(java.lang.String userId,
UserFactor body,
java.lang.Boolean updatePhone,
java.lang.String templateId,
java.lang.Integer tokenLifetimeSeconds,
java.lang.Boolean activate)
Enroll a Factor
Enrolls a user with a supported factor
|
PagedList |
enrollFactorWithPaginationInfo(java.lang.String userId,
UserFactor body,
java.lang.Boolean updatePhone,
java.lang.String templateId,
java.lang.Integer tokenLifetimeSeconds,
java.lang.Boolean activate)
Enroll a Factor
Enrolls a user with a supported factor
|
ApiClient |
getApiClient() |
UserFactor |
getFactor(java.lang.String userId,
java.lang.String factorId)
Retrieve a Factor
Retrieves a factor for the specified user
|
VerifyUserFactorResponse |
getFactorTransactionStatus(java.lang.String userId,
java.lang.String factorId,
java.lang.String transactionId)
Retrieve a Factor Transaction Status
Polls factors verification transaction for status
|
PagedList |
getFactorTransactionStatusWithPaginationInfo(java.lang.String userId,
java.lang.String factorId,
java.lang.String transactionId)
Retrieve a Factor Transaction Status
Polls factors verification transaction for status
|
PagedList |
getFactorWithPaginationInfo(java.lang.String userId,
java.lang.String factorId)
Retrieve a Factor
Retrieves a factor for the specified user
|
java.util.List<UserFactor> |
listFactors(java.lang.String userId)
List all Factors
Lists all the enrolled factors for the specified user
|
PagedList |
listFactorsWithPaginationInfo(java.lang.String userId)
List all Factors
Lists all the enrolled factors for the specified user
|
java.util.List<UserFactor> |
listSupportedFactors(java.lang.String userId)
List all Supported Factors
Lists all the supported factors that can be enrolled for the specified user
|
PagedList |
listSupportedFactorsWithPaginationInfo(java.lang.String userId)
List all Supported Factors
Lists all the supported factors that can be enrolled for the specified user
|
java.util.List<SecurityQuestion> |
listSupportedSecurityQuestions(java.lang.String userId)
List all Supported Security Questions
Lists all available security questions for a user's `question` factor
|
PagedList |
listSupportedSecurityQuestionsWithPaginationInfo(java.lang.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(java.lang.Class<?> T,
java.lang.String userId,
java.lang.String factorId,
java.lang.String templateId,
java.lang.Integer tokenLifetimeSeconds,
java.lang.String xForwardedFor,
java.lang.String userAgent,
java.lang.String acceptLanguage,
VerifyFactorRequest body)
Verify an MFA Factor
Verifies an OTP for a `token` or `token:hardware` factor
|
VerifyUserFactorResponse |
verifyFactor(java.lang.String userId,
java.lang.String factorId,
java.lang.String templateId,
java.lang.Integer tokenLifetimeSeconds,
java.lang.String xForwardedFor,
java.lang.String userAgent,
java.lang.String acceptLanguage,
VerifyFactorRequest body)
Verify an MFA Factor
Verifies an OTP for a `token` or `token:hardware` factor
|
PagedList |
verifyFactorWithPaginationInfo(java.lang.String userId,
java.lang.String factorId,
java.lang.String templateId,
java.lang.Integer tokenLifetimeSeconds,
java.lang.String xForwardedFor,
java.lang.String userAgent,
java.lang.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(java.lang.String userId, java.lang.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(java.lang.Class<?> T, java.lang.String userId, java.lang.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(java.lang.String userId, java.lang.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(java.lang.String userId, java.lang.String factorId, java.lang.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(java.lang.String userId, UserFactor body, java.lang.Boolean updatePhone, java.lang.String templateId, java.lang.Integer tokenLifetimeSeconds, java.lang.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(java.lang.Class<?> T, java.lang.String userId, UserFactor body, java.lang.Boolean updatePhone, java.lang.String templateId, java.lang.Integer tokenLifetimeSeconds, java.lang.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(java.lang.String userId, UserFactor body, java.lang.Boolean updatePhone, java.lang.String templateId, java.lang.Integer tokenLifetimeSeconds, java.lang.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(java.lang.String userId, java.lang.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(java.lang.String userId, java.lang.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(java.lang.String userId, java.lang.String factorId, java.lang.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(java.lang.String userId, java.lang.String factorId, java.lang.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 java.util.List<UserFactor> listFactors(java.lang.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(java.lang.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 java.util.List<UserFactor> listSupportedFactors(java.lang.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(java.lang.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 java.util.List<SecurityQuestion> listSupportedSecurityQuestions(java.lang.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(java.lang.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(java.lang.String userId, java.lang.String factorId, java.lang.String templateId, java.lang.Integer tokenLifetimeSeconds, java.lang.String xForwardedFor, java.lang.String userAgent, java.lang.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(java.lang.Class<?> T, java.lang.String userId, java.lang.String factorId, java.lang.String templateId, java.lang.Integer tokenLifetimeSeconds, java.lang.String xForwardedFor, java.lang.String userAgent, java.lang.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(java.lang.String userId, java.lang.String factorId, java.lang.String templateId, java.lang.Integer tokenLifetimeSeconds, java.lang.String xForwardedFor, java.lang.String userAgent, java.lang.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-2022 Okta. All Rights Reserved.