Package com.yubico.webauthn
Class StartRegistrationOptions
- java.lang.Object
-
- com.yubico.webauthn.StartRegistrationOptions
-
public final class StartRegistrationOptions extends java.lang.ObjectParameters forRelyingParty.startRegistration(StartRegistrationOptions).
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classStartRegistrationOptions.StartRegistrationOptionsBuilder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static StartRegistrationOptions.StartRegistrationOptionsBuilder.MandatoryStagesbuilder()booleanequals(java.lang.Object o)java.util.Optional<AuthenticatorSelectionCriteria>getAuthenticatorSelection()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.@NonNull RegistrationExtensionInputsgetExtensions()Extension inputs for this registration operation.java.util.Optional<java.lang.Long>getTimeout()The value forPublicKeyCredentialCreationOptions.getTimeout()for this registration operation.@NonNull UserIdentitygetUser()Identifiers for the user creating a credential.inthashCode()StartRegistrationOptions.StartRegistrationOptionsBuildertoBuilder()java.lang.StringtoString()
-
-
-
Method Detail
-
getAuthenticatorSelection
public java.util.Optional<AuthenticatorSelectionCriteria> getAuthenticatorSelection()
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.
-
getTimeout
public java.util.Optional<java.lang.Long> getTimeout()
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.
-
builder
public static StartRegistrationOptions.StartRegistrationOptionsBuilder.MandatoryStages builder()
-
toBuilder
public StartRegistrationOptions.StartRegistrationOptionsBuilder toBuilder()
-
getUser
@NonNull public @NonNull UserIdentity getUser()
Identifiers for the user creating a credential.
-
getExtensions
@NonNull public @NonNull RegistrationExtensionInputs getExtensions()
Extension inputs for this registration operation.
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-