Class WebAuthnRegistrationOptions
java.lang.Object
com.revetsec.webauthn.WebAuthnRegistrationOptions
Application-approved account information used only to prepare credential enrollment.
- Since:
- 1.0.0
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classOne caller-thread builder. -
Method Summary
Modifier and TypeMethodDescriptionReturns the browser display label.byte @NonNull []Returns a defensive handle copy.Returns the browser display name.toString()Redacts the account fields.withUserHandle(byte @NonNull [] userHandle) Starts account-approved enrollment options.
-
Method Details
-
withUserHandle
public static @NonNull WebAuthnRegistrationOptions.Builder withUserHandle(byte @NonNull [] userHandle) Starts account-approved enrollment options.- Parameters:
userHandle- stable opaque account handle- Returns:
- a builder
- Since:
- 1.0.0
-
getUserHandle
Returns a defensive handle copy.- Returns:
- the account handle
- Since:
- 1.0.0
-
getUserName
Returns the browser display name.- Returns:
- the account name
- Since:
- 1.0.0
-
getUserDisplayName
Returns the browser display label.- Returns:
- the display label
- Since:
- 1.0.0
-
toString
-