PublicKeyCredential
class PublicKeyCredential implements PublicKeyCredentialInterface (View source)
Methods
Specifies the kind of credential represented by this object.
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.
The credential's identifier. For public key credentials this is a base64url encoded version of the raw credential ID.
This attribute contains the authenticator's response to the client’s request to either create a public key credential, or generate an authentication assertion.
No description
Details
at line 21
__construct(ByteBuffer $rawCredentialId, AuthenticatorResponseInterface $response)
at line 27
string
getType()
Specifies the kind of credential represented by this object.
at line 32
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.
at line 41
string
getId()
The credential's identifier. For public key credentials this is a base64url encoded version of the raw credential ID.
at line 46
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.