Skip to content
docsv0.9.0

RegisteredCredential

What the registration ceremony hands the house to remember about a passkey: the credential id, the public key that will verify its future assertions, and the sign counter it started at. It is the durable half the verifier reads back (its `publicKeyPem` feeds {@see WebAuthnAssertionVerifier}). What this credential is WORTH here is a separate question — the enrollment answers that (greenhouse decisions/0117); registration only proves the house holds a real, verifiable public key for a real authenticator.

RegisteredCredential::__construct()

public function __construct(string $credentialId, string $publicKeyPem, int $signCount):

Parameters

Parameters of __construct()
NameTypeDescription
$credentialIdstring
$publicKeyPemstring
$signCountint