@Generated(value="com.okta.swagger.codegen.OktaJavaClientApiCodegen", date="2023-07-07T09:07:50.516-05:00") public interface UserFactor extends ExtensibleResource, Deletable
Modifier and Type | Method and Description |
---|---|
UserFactor |
activate()
Activate Factor
The `sms` and `token:software:totp` factor types require activation to complete the enrollment process.
|
UserFactor |
activate(ActivateFactorRequest body)
Activate Factor
The `sms` and `token:software:totp` factor types require activation to complete the enrollment process.
|
void |
delete()
Unenrolls an existing factor for the specified user, allowing the user to enroll a new factor.
|
Date |
getCreated() |
Map<String,Object> |
getEmbedded() |
FactorType |
getFactorType() |
String |
getId() |
Date |
getLastUpdated() |
Map<String,Object> |
getLinks() |
FactorProvider |
getProvider() |
FactorStatus |
getStatus() |
VerifyFactorRequest |
getVerify() |
UserFactor |
setFactorType(FactorType factorType) |
UserFactor |
setProvider(FactorProvider provider) |
UserFactor |
setVerify(VerifyFactorRequest verify) |
VerifyUserFactorResponse |
verify()
Verify MFA Factor
Verifies an OTP for a `token` or `token:hardware` factor
|
VerifyUserFactorResponse |
verify(VerifyFactorRequest body,
String templateId,
Integer tokenLifetimeSeconds,
String xForwardedFor,
String userAgent,
String acceptLanguage)
Verify MFA Factor
Verifies an OTP for a `token` or `token:hardware` factor
|
getResourceHref, setResourceHref
getBoolean, getInteger, getIntegerList, getNumber, getNumberList, getString, getStringList
clear, compute, computeIfAbsent, computeIfPresent, containsKey, containsValue, entrySet, equals, forEach, get, getOrDefault, hashCode, isEmpty, keySet, merge, put, putAll, putIfAbsent, remove, remove, replace, replace, replaceAll, size, values
Date getCreated()
FactorType getFactorType()
UserFactor setFactorType(FactorType factorType)
String getId()
Date getLastUpdated()
FactorProvider getProvider()
UserFactor setProvider(FactorProvider provider)
FactorStatus getStatus()
VerifyFactorRequest getVerify()
UserFactor setVerify(VerifyFactorRequest verify)
@Generated(value="com.okta.swagger.codegen.OktaJavaClientApiCodegen", date="2023-07-07T09:07:50.516-05:00", comments="DELETE - /api/v1/users/{userId}/factors/{factorId}") void delete()
@Generated(value="com.okta.swagger.codegen.OktaJavaClientApiCodegen", date="2023-07-07T09:07:50.516-05:00", comments="POST - /api/v1/users/{userId}/factors/{factorId}/lifecycle/activate") UserFactor activate(ActivateFactorRequest body)
body
- (optional)@Generated(value="com.okta.swagger.codegen.OktaJavaClientApiCodegen", date="2023-07-07T09:07:50.516-05:00", comments="POST - /api/v1/users/{userId}/factors/{factorId}/lifecycle/activate") UserFactor activate()
@Generated(value="com.okta.swagger.codegen.OktaJavaClientApiCodegen", date="2023-07-07T09:07:50.516-05:00", comments="POST - /api/v1/users/{userId}/factors/{factorId}/verify") VerifyUserFactorResponse verify(VerifyFactorRequest body, String templateId, Integer tokenLifetimeSeconds, String xForwardedFor, String userAgent, String acceptLanguage)
body
- (optional)templateId
- (optional)tokenLifetimeSeconds
- (optional, default to 300)xForwardedFor
- (optional)userAgent
- (optional)acceptLanguage
- (optional)@Generated(value="com.okta.swagger.codegen.OktaJavaClientApiCodegen", date="2023-07-07T09:07:50.516-05:00", comments="POST - /api/v1/users/{userId}/factors/{factorId}/verify") VerifyUserFactorResponse verify()
Copyright © 2017–2023 Okta. All rights reserved.