Class FinishAssertionOptions
RelyingParty.finishAssertion(FinishAssertionOptions)
.-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class
-
Method Summary
Modifier and TypeMethodDescriptionbuilder()
boolean
The token binding ID of the connection to the client, if any.@NonNull AssertionRequest
The request that theresponse
is a response to.The client's response to therequest
.int
hashCode()
boolean
Deprecated.EXPERIMENTAL: This is an experimental feature.toString()
-
Method Details
-
getCallerTokenBindingId
The token binding ID of the connection to the client, if any.- See Also:
-
builder
-
toBuilder
-
getRequest
The request that theresponse
is a response to. -
getResponse
@NonNull public @NonNull PublicKeyCredential<AuthenticatorAssertionResponse,ClientAssertionExtensionOutputs> getResponse()The client's response to therequest
.- See Also:
-
isSecurePaymentConfirmation
Deprecated.EXPERIMENTAL: This is an experimental feature. It is likely to change or be deleted before reaching a mature release.EXPERIMENTAL FEATURE:If set to
false
(the default), the"type"
property in the collected client data of the assertion will be verified to equal"webauthn.get"
.If set to
true
, it will instead be verified to equal"payment.get"
.NOTE: If you're using Secure Payment Confirmation (SPC), you likely also need to relax the origin validation logic. Right now this library only supports matching against a finite
Set
of acceptable origins. If necessary, your application may validate the origin externally (seePublicKeyCredential.getResponse()
,AuthenticatorAssertionResponse.getClientData()
andCollectedClientData.getOrigin()
) and construct a newRelyingParty
instance for each SPC response, setting theorigins
setting on that instance to contain the pre-validated origin value.Better support for relaxing origin validation may be added as the feature matures.
-
equals
-
hashCode
public int hashCode() -
toString
-