interface PublicKeyCredentialInterface implements CredentialInterface (View source)

SPEC: 5.1. PublicKeyCredential Interface

Methods

string
getId()

The credential's identifier. The requirements for the identifier are distinct for each type of credential.

string
getType()

Specifies the kind of credential represented by this object.

getRawId()

Returns the raw credential ID. The credential ID is used to look up credentials for use, and is therefore expected to be globally unique with high probability across all credentials of the same type, across all authenticators.

getResponse()

This attribute contains the authenticator's response to the client’s request to either create a public key credential, or generate an authentication assertion.

getClientExtensionResults()

No description

Details

string getId()

The credential's identifier. The requirements for the identifier are distinct for each type of credential.

Return Value

string

string getType()

Specifies the kind of credential represented by this object.

Return Value

string

ByteBuffer getRawId()

Returns the raw credential ID. The credential ID is used to look up credentials for use, and is therefore expected to be globally unique with high probability across all credentials of the same type, across all authenticators.

Return Value

ByteBuffer

AuthenticatorResponseInterface getResponse()

This attribute contains the authenticator's response to the client’s request to either create a public key credential, or generate an authentication assertion.

getClientExtensionResults()