Class StartAssertionOptions
RelyingParty.startAssertion(StartAssertionOptions)
.-
Nested Class Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuilder()
boolean
@NonNull AssertionExtensionInputs
Extension inputs for this authentication operation.The value forPublicKeyCredentialRequestOptions.getTimeout()
for this authentication operation.The user handle of the user to authenticate, if the user has already been identified.The username of the user to authenticate, if the user has already been identified.The value forPublicKeyCredentialRequestOptions.getUserVerification()
for this authentication operation.int
hashCode()
toString()
-
Method Details
-
getUsername
The username of the user to authenticate, if the user has already been identified.Mutually exclusive with
getUserHandle()
.If this or
getUserHandle()
is present, thenRelyingParty.startAssertion(StartAssertionOptions)
will setPublicKeyCredentialRequestOptions.getAllowCredentials()
to the list of that user's credentials.If this and
getUserHandle()
are both absent, that implies a first-factor authentication operation - meaning identification of the user is deferred until after receiving the response from the client.The default is empty (absent).
- See Also:
-
getUserHandle
The user handle of the user to authenticate, if the user has already been identified.Mutually exclusive with
getUsername()
.If this or
getUsername()
is present, thenRelyingParty.startAssertion(StartAssertionOptions)
will setPublicKeyCredentialRequestOptions.getAllowCredentials()
to the list of that user's credentials.If this and
getUsername()
are both absent, that implies a first-factor authentication operation - meaning identification of the user is deferred until after receiving the response from the client.The default is empty (absent).
-
getUserVerification
The value forPublicKeyCredentialRequestOptions.getUserVerification()
for this authentication operation.If set to
UserVerificationRequirement.REQUIRED
, thenRelyingParty.finishAssertion(FinishAssertionOptions)
will enforce that user verificationwas performed in this authentication ceremony.The default is
UserVerificationRequirement.PREFERRED
. -
getTimeout
The value forPublicKeyCredentialRequestOptions.getTimeout()
for this authentication operation.This library does not take the timeout into account in any way, other than passing it through to the
PublicKeyCredentialRequestOptions
so it can be used as an argument tonavigator.credentials.get()
on the client side.The default is empty.
-
builder
-
toBuilder
-
getExtensions
Extension inputs for this authentication operation.If
RelyingParty.getAppId()
is set,RelyingParty.startAssertion(StartAssertionOptions)
will overwrite anyappId
extension input set herein.The default specifies no extension inputs.
-
equals
-
hashCode
public int hashCode() -
toString
-