Package com.yubico.webauthn
Class StartRegistrationOptions.StartRegistrationOptionsBuilder
- java.lang.Object
-
- com.yubico.webauthn.StartRegistrationOptions.StartRegistrationOptionsBuilder
-
- Enclosing class:
- StartRegistrationOptions
public static class StartRegistrationOptions.StartRegistrationOptionsBuilder extends java.lang.Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classStartRegistrationOptions.StartRegistrationOptionsBuilder.MandatoryStages
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StartRegistrationOptions.StartRegistrationOptionsBuilderauthenticatorSelection(@NonNull java.util.Optional<AuthenticatorSelectionCriteria> authenticatorSelection)Constraints on what kind of authenticator the user is allowed to use to create the credential, and on features that authenticator must or should support.StartRegistrationOptions.StartRegistrationOptionsBuilderauthenticatorSelection(AuthenticatorSelectionCriteria authenticatorSelection)Constraints on what kind of authenticator the user is allowed to use to create the credential, and on features that authenticator must or should support.StartRegistrationOptionsbuild()StartRegistrationOptions.StartRegistrationOptionsBuilderextensions(@NonNull RegistrationExtensionInputs extensions)Extension inputs for this registration operation.StartRegistrationOptions.StartRegistrationOptionsBuildertimeout(long timeout)The value forPublicKeyCredentialCreationOptions.getTimeout()for this registration operation.StartRegistrationOptions.StartRegistrationOptionsBuildertimeout(@NonNull java.util.Optional<java.lang.Long> timeout)The value forPublicKeyCredentialCreationOptions.getTimeout()for this registration operation.java.lang.StringtoString()StartRegistrationOptions.StartRegistrationOptionsBuilderuser(@NonNull UserIdentity user)Identifiers for the user creating a credential.
-
-
-
Method Detail
-
authenticatorSelection
public StartRegistrationOptions.StartRegistrationOptionsBuilder authenticatorSelection(@NonNull @NonNull java.util.Optional<AuthenticatorSelectionCriteria> authenticatorSelection)
Constraints on what kind of authenticator the user is allowed to use to create the credential, and on features that authenticator must or should support.
-
authenticatorSelection
public StartRegistrationOptions.StartRegistrationOptionsBuilder authenticatorSelection(AuthenticatorSelectionCriteria authenticatorSelection)
Constraints on what kind of authenticator the user is allowed to use to create the credential, and on features that authenticator must or should support.
-
timeout
public StartRegistrationOptions.StartRegistrationOptionsBuilder timeout(@NonNull @NonNull java.util.Optional<java.lang.Long> timeout)
The value forPublicKeyCredentialCreationOptions.getTimeout()for this registration operation.This library does not take the timeout into account in any way, other than passing it through to the
PublicKeyCredentialCreationOptionsso it can be used as an argument tonavigator.credentials.create()on the client side.The default is empty.
-
timeout
public StartRegistrationOptions.StartRegistrationOptionsBuilder timeout(long timeout)
The value forPublicKeyCredentialCreationOptions.getTimeout()for this registration operation.This library does not take the timeout into account in any way, other than passing it through to the
PublicKeyCredentialCreationOptionsso it can be used as an argument tonavigator.credentials.create()on the client side.The default is empty.
-
user
public StartRegistrationOptions.StartRegistrationOptionsBuilder user(@NonNull @NonNull UserIdentity user)
Identifiers for the user creating a credential.- Returns:
this.
-
extensions
public StartRegistrationOptions.StartRegistrationOptionsBuilder extensions(@NonNull @NonNull RegistrationExtensionInputs extensions)
Extension inputs for this registration operation.- Returns:
this.
-
build
public StartRegistrationOptions build()
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-