Package com.okta.sdk.resource.model
Class AuthenticationMethod
java.lang.Object
com.okta.sdk.resource.model.AuthenticationMethod
- 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 AuthenticationMethod
extends Object
implements Serializable
AuthenticationMethod
- See Also:
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic enum
Indicates if any secrets or private keys used during authentication must be hardware protected and not exportable.static enum
Indicates if phishing-resistant Factors are required.static enum
Indicates the user interaction requirement (PIN or biometrics) to ensure verification of a possession factor -
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
Indicates if any secrets or private keys used during authentication must be hardware protected and not exportable.getId()
An ID that identifies the authenticatorgetKey()
A label that identifies the authenticatorSpecifies the method used for the authenticatorIndicates if phishing-resistant Factors are required.Indicates the user interaction requirement (PIN or biometrics) to ensure verification of a possession factorhardwareProtection
(AuthenticationMethod.HardwareProtectionEnum hardwareProtection) int
hashCode()
phishingResistant
(AuthenticationMethod.PhishingResistantEnum phishingResistant) void
setHardwareProtection
(AuthenticationMethod.HardwareProtectionEnum hardwareProtection) void
void
void
void
setPhishingResistant
(AuthenticationMethod.PhishingResistantEnum phishingResistant) void
setUserVerification
(AuthenticationMethod.UserVerificationEnum userVerification) toString()
userVerification
(AuthenticationMethod.UserVerificationEnum userVerification)
-
Field Details
-
JSON_PROPERTY_HARDWARE_PROTECTION
- See Also:
-
JSON_PROPERTY_ID
- See Also:
-
JSON_PROPERTY_KEY
- See Also:
-
JSON_PROPERTY_METHOD
- See Also:
-
JSON_PROPERTY_PHISHING_RESISTANT
- See Also:
-
JSON_PROPERTY_USER_VERIFICATION
- See Also:
-
-
Constructor Details
-
AuthenticationMethod
public AuthenticationMethod()
-
-
Method Details
-
hardwareProtection
public AuthenticationMethod hardwareProtection(AuthenticationMethod.HardwareProtectionEnum hardwareProtection) -
getHardwareProtection
Indicates if any secrets or private keys used during authentication must be hardware protected and not exportable. This property is only set for `POSSESSION` constraints.- Returns:
- hardwareProtection
-
setHardwareProtection
-
id
-
getId
An ID that identifies the authenticator- Returns:
- id
-
setId
-
key
-
getKey
A label that identifies the authenticator- Returns:
- key
-
setKey
-
method
-
getMethod
Specifies the method used for the authenticator- Returns:
- method
-
setMethod
-
phishingResistant
public AuthenticationMethod phishingResistant(AuthenticationMethod.PhishingResistantEnum phishingResistant) -
getPhishingResistant
Indicates if phishing-resistant Factors are required. This property is only set for `POSSESSION` constraints- Returns:
- phishingResistant
-
setPhishingResistant
-
userVerification
public AuthenticationMethod userVerification(AuthenticationMethod.UserVerificationEnum userVerification) -
getUserVerification
Indicates the user interaction requirement (PIN or biometrics) to ensure verification of a possession factor- Returns:
- userVerification
-
setUserVerification
-
equals
-
hashCode
public int hashCode() -
toString
-