Package com.okta.sdk.resource.model
Class AuthenticatorMethodOtp
java.lang.Object
com.okta.sdk.resource.model.AuthenticatorMethodBase
com.okta.sdk.resource.model.AuthenticatorMethodWithVerifiableProperties
com.okta.sdk.resource.model.AuthenticatorMethodOtp
- All Implemented Interfaces:
Serializable
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2024-09-23T16:19:57.008753975Z[Etc/UTC]",
comments="Generator version: 7.8.0")
public class AuthenticatorMethodOtp
extends AuthenticatorMethodWithVerifiableProperties
implements Serializable
AuthenticatorMethodOtp
- See Also:
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
static final String
static final String
static final String
static final String
static final String
static final String
Fields inherited from class com.okta.sdk.resource.model.AuthenticatorMethodWithVerifiableProperties
JSON_PROPERTY_VERIFIABLE_PROPERTIES
Fields inherited from class com.okta.sdk.resource.model.AuthenticatorMethodBase
JSON_PROPERTY_LINKS, JSON_PROPERTY_STATUS, JSON_PROPERTY_TYPE, type
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionacceptableAdjacentIntervals
(Integer acceptableAdjacentIntervals) algorithm
(OtpTotpAlgorithm algorithm) encoding
(OtpTotpEncoding encoding) boolean
factorProfileId
(String factorProfileId) The number of acceptable adjacent intervals, also known as the clock drift interval.Get algorithmGet encodingThe `id` value of the factor profileNumber of digits in an OTP value minimum: 6 maximum: 10Get protocolTime interval for TOTP in secondsint
hashCode()
passCodeLength
(Integer passCodeLength) protocol
(OtpProtocol protocol) void
setAcceptableAdjacentIntervals
(Integer acceptableAdjacentIntervals) void
setAlgorithm
(OtpTotpAlgorithm algorithm) void
setEncoding
(OtpTotpEncoding encoding) void
setFactorProfileId
(String factorProfileId) void
setPassCodeLength
(Integer passCodeLength) void
setProtocol
(OtpProtocol protocol) void
setTimeIntervalInSeconds
(Integer timeIntervalInSeconds) timeIntervalInSeconds
(Integer timeIntervalInSeconds) toString()
Methods inherited from class com.okta.sdk.resource.model.AuthenticatorMethodWithVerifiableProperties
addverifiablePropertiesItem, getVerifiableProperties, setVerifiableProperties, verifiableProperties
-
Field Details
-
JSON_PROPERTY_ACCEPTABLE_ADJACENT_INTERVALS
- See Also:
-
JSON_PROPERTY_ALGORITHM
- See Also:
-
JSON_PROPERTY_ENCODING
- See Also:
-
JSON_PROPERTY_FACTOR_PROFILE_ID
- See Also:
-
JSON_PROPERTY_PASS_CODE_LENGTH
- See Also:
-
JSON_PROPERTY_PROTOCOL
- See Also:
-
JSON_PROPERTY_TIME_INTERVAL_IN_SECONDS
- See Also:
-
-
Constructor Details
-
AuthenticatorMethodOtp
public AuthenticatorMethodOtp()
-
-
Method Details
-
acceptableAdjacentIntervals
-
getAcceptableAdjacentIntervals
The number of acceptable adjacent intervals, also known as the clock drift interval. This setting allows you to build in tolerance for any time difference between the token and the server. For example, with a `timeIntervalInSeconds` of 60 seconds and an `acceptableAdjacentIntervals` value of 5, Okta accepts passcodes within 300 seconds (60 * 5) before or after the end user enters their code. minimum: 0 maximum: 10- Returns:
- acceptableAdjacentIntervals
-
setAcceptableAdjacentIntervals
-
algorithm
-
getAlgorithm
Get algorithm- Returns:
- algorithm
-
setAlgorithm
-
encoding
-
getEncoding
Get encoding- Returns:
- encoding
-
setEncoding
-
factorProfileId
-
getFactorProfileId
The `id` value of the factor profile- Returns:
- factorProfileId
-
setFactorProfileId
-
passCodeLength
-
getPassCodeLength
Number of digits in an OTP value minimum: 6 maximum: 10- Returns:
- passCodeLength
-
setPassCodeLength
-
protocol
-
getProtocol
Get protocol- Returns:
- protocol
-
setProtocol
-
timeIntervalInSeconds
-
getTimeIntervalInSeconds
Time interval for TOTP in seconds- Returns:
- timeIntervalInSeconds
-
setTimeIntervalInSeconds
-
equals
- Overrides:
equals
in classAuthenticatorMethodWithVerifiableProperties
-
hashCode
public int hashCode()- Overrides:
hashCode
in classAuthenticatorMethodWithVerifiableProperties
-
toString
- Overrides:
toString
in classAuthenticatorMethodWithVerifiableProperties
-