class PublicKeyCredential implements PublicKeyCredentialInterface (View source)

Methods

__construct(ByteBuffer $rawCredentialId, AuthenticatorResponseInterface $response)

No description

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.

string
getId()

The credential's identifier. For public key credentials this is a base64url encoded version of the raw credential ID.

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

__construct(ByteBuffer $rawCredentialId, AuthenticatorResponseInterface $response)

Parameters

ByteBuffer $rawCredentialId
AuthenticatorResponseInterface $response

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

string getId()

The credential's identifier. For public key credentials this is a base64url encoded version of the raw credential ID.

Return Value

string

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()