Package com.yubico.webauthn.data
Class PublicKeyCredential.PublicKeyCredentialBuilder<A extends AuthenticatorResponse,B extends ClientExtensionOutputs> 
java.lang.Object
com.yubico.webauthn.data.PublicKeyCredential.PublicKeyCredentialBuilder<A,B> 
- Enclosing class:
- PublicKeyCredential<A extends AuthenticatorResponse,B extends ClientExtensionOutputs> 
public static class PublicKeyCredential.PublicKeyCredentialBuilder<A extends AuthenticatorResponse,B extends ClientExtensionOutputs> 
extends Object
- 
Nested Class SummaryNested ClassesModifier and TypeClassDescriptionclass
- 
Method SummaryModifier and TypeMethodDescriptionbuild()clientExtensionResults(B clientExtensionResults) A map containing extension identifier → client extension output entries produced by the extension’s client extension processing.The raw Credential ID of this credential, corresponding to therawIdattribute in the WebAuthn API.The authenticator's response to the client’s request to either create a public key credential, or generate an authentication assertion.toString()type(@NonNull PublicKeyCredentialType type) ThePublicKeyCredential's type value is the string "public-key".
- 
Method Details- 
idThe raw Credential ID of this credential, corresponding to therawIdattribute in the WebAuthn API.- Returns:
- this.
 
- 
responseThe authenticator's response to the client’s request to either create a public key credential, or generate an authentication assertion.If the PublicKeyCredentialwas created in response tonavigator.credentials.create(), this attribute’s value will be anAuthenticatorAttestationResponse, otherwise, thePublicKeyCredentialwas created in response tonavigator.credentials.get(), and this attribute’s value will be anAuthenticatorAssertionResponse.- Returns:
- this.
 
- 
clientExtensionResultspublic PublicKeyCredential.PublicKeyCredentialBuilder<A,B> clientExtensionResults(@NonNull B clientExtensionResults) A map containing extension identifier → client extension output entries produced by the extension’s client extension processing.- Returns:
- this.
 
- 
typepublic PublicKeyCredential.PublicKeyCredentialBuilder<A,B> type(@NonNull @NonNull PublicKeyCredentialType type) ThePublicKeyCredential's type value is the string "public-key".- Returns:
- this.
 
- 
build
- 
toString
 
-