Package com.yubico.webauthn
Class FinishAssertionOptions.FinishAssertionOptionsBuilder
- java.lang.Object
-
- com.yubico.webauthn.FinishAssertionOptions.FinishAssertionOptionsBuilder
-
- Enclosing class:
- FinishAssertionOptions
public static class FinishAssertionOptions.FinishAssertionOptionsBuilder extends java.lang.Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
FinishAssertionOptions.FinishAssertionOptionsBuilder.MandatoryStages
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description FinishAssertionOptions
build()
FinishAssertionOptions.FinishAssertionOptionsBuilder
callerTokenBindingId(@NonNull ByteArray callerTokenBindingId)
The token binding ID of the connection to the client, if any.FinishAssertionOptions.FinishAssertionOptionsBuilder
callerTokenBindingId(@NonNull java.util.Optional<ByteArray> callerTokenBindingId)
The token binding ID of the connection to the client, if any.FinishAssertionOptions.FinishAssertionOptionsBuilder
request(@NonNull AssertionRequest request)
The request that theresponse
is a response to.FinishAssertionOptions.FinishAssertionOptionsBuilder
response(@NonNull PublicKeyCredential<AuthenticatorAssertionResponse,ClientAssertionExtensionOutputs> response)
The client's response to therequest
.java.lang.String
toString()
-
-
-
Method Detail
-
callerTokenBindingId
public FinishAssertionOptions.FinishAssertionOptionsBuilder callerTokenBindingId(@NonNull @NonNull java.util.Optional<ByteArray> callerTokenBindingId)
The token binding ID of the connection to the client, if any.- See Also:
- The Token Binding Protocol Version 1.0
-
callerTokenBindingId
public FinishAssertionOptions.FinishAssertionOptionsBuilder callerTokenBindingId(@NonNull @NonNull ByteArray callerTokenBindingId)
The token binding ID of the connection to the client, if any.- See Also:
- The Token Binding Protocol Version 1.0
-
request
public FinishAssertionOptions.FinishAssertionOptionsBuilder request(@NonNull @NonNull AssertionRequest request)
The request that theresponse
is a response to.
-
response
public FinishAssertionOptions.FinishAssertionOptionsBuilder response(@NonNull @NonNull PublicKeyCredential<AuthenticatorAssertionResponse,ClientAssertionExtensionOutputs> response)
The client's response to therequest
.- See Also:
- navigator.credentials.get()
-
build
public FinishAssertionOptions build()
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-