WebAuthnRegistrationResponse
What the browser returns after `navigator.credentials.create()` — raw byte-exact carriers, unverified. The {@see \Milpa\Auth\WebAuthn\Contracts\WebAuthnVerifier} consumes this to produce a {@see WebAuthnCredentialRecord}. None of these fields are secret.
WebAuthnRegistrationResponse::__construct()
public function __construct(string $credentialId, string $clientDataJSON, string $attestationObject, array $transports):Parameters
| Name | Type | Description |
|---|---|---|
| $credentialId | string | |
| $clientDataJSON | string | |
| $attestationObject | string | |
| $transports | list<string> | the authenticator transports the browser reported |