Package com.yubico.webauthn
Class FinishRegistrationOptions.FinishRegistrationOptionsBuilder
- java.lang.Object
-
- com.yubico.webauthn.FinishRegistrationOptions.FinishRegistrationOptionsBuilder
-
- Enclosing class:
- FinishRegistrationOptions
public static class FinishRegistrationOptions.FinishRegistrationOptionsBuilder extends java.lang.Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
FinishRegistrationOptions.FinishRegistrationOptionsBuilder.MandatoryStages
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description FinishRegistrationOptions
build()
FinishRegistrationOptions.FinishRegistrationOptionsBuilder
callerTokenBindingId(@NonNull ByteArray callerTokenBindingId)
The token binding ID of the connection to the client, if any.FinishRegistrationOptions.FinishRegistrationOptionsBuilder
callerTokenBindingId(@NonNull java.util.Optional<ByteArray> callerTokenBindingId)
The token binding ID of the connection to the client, if any.FinishRegistrationOptions.FinishRegistrationOptionsBuilder
request(@NonNull PublicKeyCredentialCreationOptions request)
The request that theresponse
is a response to.FinishRegistrationOptions.FinishRegistrationOptionsBuilder
response(@NonNull PublicKeyCredential<AuthenticatorAttestationResponse,ClientRegistrationExtensionOutputs> response)
The client's response to therequest
.java.lang.String
toString()
-
-
-
Method Detail
-
callerTokenBindingId
public FinishRegistrationOptions.FinishRegistrationOptionsBuilder 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 FinishRegistrationOptions.FinishRegistrationOptionsBuilder 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 FinishRegistrationOptions.FinishRegistrationOptionsBuilder request(@NonNull @NonNull PublicKeyCredentialCreationOptions request)
The request that theresponse
is a response to.- Returns:
this
.
-
response
public FinishRegistrationOptions.FinishRegistrationOptionsBuilder response(@NonNull @NonNull PublicKeyCredential<AuthenticatorAttestationResponse,ClientRegistrationExtensionOutputs> response)
The client's response to therequest
.- Returns:
this
.
-
build
public FinishRegistrationOptions build()
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-