Class WebAuthnRegistrationOptions.Builder
java.lang.Object
com.revetsec.webauthn.WebAuthnRegistrationOptions.Builder
- Enclosing class:
WebAuthnRegistrationOptions
@NotThreadSafe
@CheckReturnValue
public static final class WebAuthnRegistrationOptions.Builder
extends Object
One caller-thread builder.
- Since:
- 1.0.0
-
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds immutable enrollment options.toString()Redacts the builder fields.userDisplayName(@Nullable String name) Sets a browser display label.Sets a browser display name, which does not establish identity.
-
Method Details
-
userName
Sets a browser display name, which does not establish identity.- Parameters:
name- bounded account name, or null to clear the required name- Returns:
- this builder
- Since:
- 1.0.0
-
userDisplayName
Sets a browser display label.- Parameters:
name- bounded display label, or null to clear the required label- Returns:
- this builder
- Since:
- 1.0.0
-
build
Builds immutable enrollment options.- Returns:
- the options
- Since:
- 1.0.0
-
toString
-