Class StartRegistrationOptions
RelyingParty.startRegistration(StartRegistrationOptions)
.-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class
-
Method Summary
Modifier and TypeMethodDescriptionbuilder()
boolean
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 RegistrationExtensionInputs
Extension inputs for this registration operation.getHints()
Zero or more hints, in descending order of preference, to guide the user agent in interacting with the user during this registration operation.The value forPublicKeyCredentialCreationOptions.getTimeout()
for this registration operation.@NonNull UserIdentity
getUser()
Identifiers for the user creating a credential.int
hashCode()
toString()
-
Method Details
-
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
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
PublicKeyCredentialCreationOptions
so it can be used as an argument tonavigator.credentials.create()
on the client side.The default is empty.
-
builder
-
toBuilder
-
getUser
Identifiers for the user creating a credential. -
getExtensions
Extension inputs for this registration operation. -
getHints
Zero or more hints, in descending order of preference, to guide the user agent in interacting with the user during this registration operation.For example, the
PublicKeyCredentialHint.SECURITY_KEY
hint may be used to ask the client to emphasize the option of registering with an external security key, or thePublicKeyCredentialHint.CLIENT_DEVICE
hint may be used to ask the client to emphasize the option of registering a built-in passkey provider.These hints are not requirements, and do not bind the user-agent, but may guide it in providing the best experience by using contextual information about the request.
Hints MAY contradict preferences in
getAuthenticatorSelection()
. When this occurs, the hints take precedence.This library does not take these hints into account in any way, other than passing them through to the
PublicKeyCredentialCreationOptions
so they can be used in the argument tonavigator.credentials.create()
on the client side.The default is empty.
- See Also:
-
PublicKeyCredentialHint
StartRegistrationOptions.StartRegistrationOptionsBuilder.hints(List)
StartRegistrationOptions.StartRegistrationOptionsBuilder.hints(String...)
StartRegistrationOptions.StartRegistrationOptionsBuilder.hints(PublicKeyCredentialHint...)
- PublicKeyCredentialCreationOptions.hints
- ยง5.8.7. User-agent Hints Enumeration (enum PublicKeyCredentialHints)
-
equals
-
hashCode
public int hashCode() -
toString
-