Class WebAuthnConfigurationType
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<WebAuthnConfigurationType.Builder,WebAuthnConfigurationType>
Settings for authentication (MFA) with passkey, or webauthN, biometric and security-key devices in a user pool. Configures the following:
-
Configuration for requiring user-verification support in passkeys.
-
The user pool relying-party ID. This is the domain, typically your user pool domain, that user's passkey providers should trust as a receiver of passkey authentication.
-
The providers that you want to allow as origins for passkey authentication.
- See Also:
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionbuilder()final booleanfinal booleanequalsBySdkFields(Object obj) Sets whether passkeys can be used as multi-factor authentication (MFA).final StringSets whether passkeys can be used as multi-factor authentication (MFA).final <T> Optional<T>getValueForField(String fieldName, Class<T> clazz) final inthashCode()final StringSets or displays the authentication domain, typically your user pool domain, that passkey providers must use as a relying party (RP) in their configuration.static Class<? extends WebAuthnConfigurationType.Builder>final StringtoString()Returns a string representation of this object.final UserVerificationTypeWhenrequired, users can only register and sign in users with passkeys that are capable of user verification.final StringWhenrequired, users can only register and sign in users with passkeys that are capable of user verification.Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
Method Details
-
relyingPartyId
Sets or displays the authentication domain, typically your user pool domain, that passkey providers must use as a relying party (RP) in their configuration.
Under the following conditions, the passkey relying party ID must be the fully-qualified domain name of your custom domain:
-
The user pool is configured for passkey authentication.
-
The user pool has a custom domain, whether or not it also has a prefix domain.
-
Your application performs authentication with managed login or the classic hosted UI.
- Returns:
- Sets or displays the authentication domain, typically your user pool domain, that passkey providers must
use as a relying party (RP) in their configuration.
Under the following conditions, the passkey relying party ID must be the fully-qualified domain name of your custom domain:
-
The user pool is configured for passkey authentication.
-
The user pool has a custom domain, whether or not it also has a prefix domain.
-
Your application performs authentication with managed login or the classic hosted UI.
-
-
-
userVerification
When
required, users can only register and sign in users with passkeys that are capable of user verification. Whenpreferred, your user pool doesn't require the use of authenticators with user verification but encourages it.If the service returns an enum value that is not available in the current SDK version,
userVerificationwill returnUserVerificationType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromuserVerificationAsString().- Returns:
- When
required, users can only register and sign in users with passkeys that are capable of user verification. Whenpreferred, your user pool doesn't require the use of authenticators with user verification but encourages it. - See Also:
-
userVerificationAsString
When
required, users can only register and sign in users with passkeys that are capable of user verification. Whenpreferred, your user pool doesn't require the use of authenticators with user verification but encourages it.If the service returns an enum value that is not available in the current SDK version,
userVerificationwill returnUserVerificationType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromuserVerificationAsString().- Returns:
- When
required, users can only register and sign in users with passkeys that are capable of user verification. Whenpreferred, your user pool doesn't require the use of authenticators with user verification but encourages it. - See Also:
-
factorConfiguration
Sets whether passkeys can be used as multi-factor authentication (MFA). When set to
MULTI_FACTOR_WITH_USER_VERIFICATION, passkey authentication with user verification satisfies MFA requirements. When set toSINGLE_FACTORor not set, passkeys are a single authentication factor. To activate this setting, your user pool must be in the Essentials tier or higher.If the service returns an enum value that is not available in the current SDK version,
factorConfigurationwill returnWebAuthnFactorConfigurationType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromfactorConfigurationAsString().- Returns:
- Sets whether passkeys can be used as multi-factor authentication (MFA). When set to
MULTI_FACTOR_WITH_USER_VERIFICATION, passkey authentication with user verification satisfies MFA requirements. When set toSINGLE_FACTORor not set, passkeys are a single authentication factor. To activate this setting, your user pool must be in the Essentials tier or higher. - See Also:
-
factorConfigurationAsString
Sets whether passkeys can be used as multi-factor authentication (MFA). When set to
MULTI_FACTOR_WITH_USER_VERIFICATION, passkey authentication with user verification satisfies MFA requirements. When set toSINGLE_FACTORor not set, passkeys are a single authentication factor. To activate this setting, your user pool must be in the Essentials tier or higher.If the service returns an enum value that is not available in the current SDK version,
factorConfigurationwill returnWebAuthnFactorConfigurationType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromfactorConfigurationAsString().- Returns:
- Sets whether passkeys can be used as multi-factor authentication (MFA). When set to
MULTI_FACTOR_WITH_USER_VERIFICATION, passkey authentication with user verification satisfies MFA requirements. When set toSINGLE_FACTORor not set, passkeys are a single authentication factor. To activate this setting, your user pool must be in the Essentials tier or higher. - See Also:
-
toBuilder
- Specified by:
toBuilderin interfaceToCopyableBuilder<WebAuthnConfigurationType.Builder,WebAuthnConfigurationType>
-
builder
-
serializableBuilderClass
-
hashCode
public final int hashCode() -
equals
-
equalsBySdkFields
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value. -
getValueForField
-
sdkFields
-
sdkFieldNameToField
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-