Enum WebAuthnFactorConfigurationType
java.lang.Object
java.lang.Enum<WebAuthnFactorConfigurationType>
software.amazon.awssdk.services.cognitoidentityprovider.model.WebAuthnFactorConfigurationType
- All Implemented Interfaces:
Serializable,Comparable<WebAuthnFactorConfigurationType>
@Generated("software.amazon.awssdk:codegen")
public enum WebAuthnFactorConfigurationType
extends Enum<WebAuthnFactorConfigurationType>
The configuration of passkey authentication as a single factor or a multi-factor authentication (MFA) method. When
set to MULTI_FACTOR_WITH_USER_VERIFICATION, your user pool requires passkey authenticators to perform user verification, for example a biometric or PIN.
User verification combined with the passkey constitutes multi-factor authentication. When set to
SINGLE_FACTOR, passkeys are a single authentication factor.
-
Enum Constant Summary
Enum Constants -
Method Summary
Modifier and TypeMethodDescriptionUse this in place of valueOf to convert the raw string returned by the service into the enum value.static Set<WebAuthnFactorConfigurationType>toString()Returns the enum constant of this type with the specified name.static WebAuthnFactorConfigurationType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
SINGLE_FACTOR
-
MULTI_FACTOR_WITH_USER_VERIFICATION
-
UNKNOWN_TO_SDK_VERSION
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
toString
- Overrides:
toStringin classEnum<WebAuthnFactorConfigurationType>
-
fromValue
Use this in place of valueOf to convert the raw string returned by the service into the enum value.- Parameters:
value- real value- Returns:
- WebAuthnFactorConfigurationType corresponding to the value
-
knownValues
Use this in place ofvalues()to return aSetof all values known to the SDK. This will return all known enum values exceptUNKNOWN_TO_SDK_VERSION.- Returns:
- a
Setof knownWebAuthnFactorConfigurationTypes
-