public static class StartRegistrationOptions.StartRegistrationOptionsBuilder
extends java.lang.Object
| Modifier and Type | Class and Description |
|---|---|
static class |
StartRegistrationOptions.StartRegistrationOptionsBuilder.MandatoryStages |
| Modifier and Type | Method and Description |
|---|---|
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.
|
StartRegistrationOptions.StartRegistrationOptionsBuilder |
authenticatorSelection(@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 |
build() |
StartRegistrationOptions.StartRegistrationOptionsBuilder |
extensions(@NonNull RegistrationExtensionInputs extensions)
Extension inputs for this registration operation.
|
StartRegistrationOptions.StartRegistrationOptionsBuilder |
timeout(long timeout)
The value for
PublicKeyCredentialCreationOptions.getTimeout() for this registration
operation. |
StartRegistrationOptions.StartRegistrationOptionsBuilder |
timeout(@NonNull java.util.Optional<java.lang.Long> timeout)
The value for
PublicKeyCredentialCreationOptions.getTimeout() for this registration
operation. |
java.lang.String |
toString() |
StartRegistrationOptions.StartRegistrationOptionsBuilder |
user(@NonNull UserIdentity user)
Identifiers for the user creating a credential.
|
public StartRegistrationOptions.StartRegistrationOptionsBuilder authenticatorSelection(@NonNull @NonNull java.util.Optional<AuthenticatorSelectionCriteria> authenticatorSelection)
public StartRegistrationOptions.StartRegistrationOptionsBuilder authenticatorSelection(AuthenticatorSelectionCriteria authenticatorSelection)
public StartRegistrationOptions.StartRegistrationOptionsBuilder timeout(@NonNull @NonNull java.util.Optional<java.lang.Long> timeout)
PublicKeyCredentialCreationOptions.getTimeout() for this registration
operation.
This library does not take the timeout into account in any way, other than passing it
through to the PublicKeyCredentialCreationOptions so it can be used as an argument to
navigator.credentials.create() on the client side.
The default is empty.
public StartRegistrationOptions.StartRegistrationOptionsBuilder timeout(long timeout)
PublicKeyCredentialCreationOptions.getTimeout() for this registration
operation.
This library does not take the timeout into account in any way, other than passing it
through to the PublicKeyCredentialCreationOptions so it can be used as an argument to
navigator.credentials.create() on the client side.
The default is empty.
public StartRegistrationOptions.StartRegistrationOptionsBuilder user(@NonNull @NonNull UserIdentity user)
this.public StartRegistrationOptions.StartRegistrationOptionsBuilder extensions(@NonNull @NonNull RegistrationExtensionInputs extensions)
this.public StartRegistrationOptions build()
public java.lang.String toString()
toString in class java.lang.Object