Builder for PublicKeyCredential
.
Public Constructor Summary
Builder()
The constructor of
PublicKeyCredential.Builder .
|
Public Method Summary
PublicKeyCredential |
build()
Builds the
PublicKeyCredential object.
|
PublicKeyCredential.Builder |
setAuthenticationExtensionsClientOutputs(AuthenticationExtensionsClientOutputs
extensionsClientOutputs)
Sets the output produced by the client's processing of the extensions requested
by the relying party.
|
PublicKeyCredential.Builder |
setAuthenticatorAttachment(String
authenticatorAttachment)
Sets the authenticator attachment of the credential.
|
PublicKeyCredential.Builder | |
PublicKeyCredential.Builder |
setRawId(byte[] rawId)
Sets the raw value of the credential identifier.
|
PublicKeyCredential.Builder |
setRawId(ByteString rawId)
Sets the raw value of the credential identifier.
|
PublicKeyCredential.Builder |
setResponse(AuthenticatorResponse
response)
Sets the authenticator's response to the clients register or sign request.
|
Inherited Method Summary
Public Constructors
public Builder ()
The constructor of
PublicKeyCredential.Builder
.
Public Methods
public PublicKeyCredential build ()
Builds the
PublicKeyCredential
object.
public PublicKeyCredential.Builder setAuthenticationExtensionsClientOutputs (AuthenticationExtensionsClientOutputs extensionsClientOutputs)
Sets the output produced by the client's processing of the extensions requested by the relying party.
public PublicKeyCredential.Builder setAuthenticatorAttachment (String authenticatorAttachment)
Sets the authenticator attachment of the credential.
public PublicKeyCredential.Builder setId (String id)
Sets the base64url encoding of the credential identifier.
public PublicKeyCredential.Builder setRawId (byte[] rawId)
Sets the raw value of the credential identifier.
public PublicKeyCredential.Builder setRawId (ByteString rawId)
Sets the raw value of the credential identifier.
public PublicKeyCredential.Builder setResponse (AuthenticatorResponse response)
Sets the authenticator's response to the clients register or sign request.
This attribute contains the authenticator's response to the client’s request to
either create a public key credential, or generate an authentication assertion. If the
PublicKeyCredential
is created in response a register request, this
attribute’s value will be an
AuthenticatorAttestationResponse
, otherwise, the
PublicKeyCredential
was created in response to a sign request, and this
attribute’s value will be an
AuthenticatorAssertionResponse
.