Files
conservatorio-tomadini/libraries/vendor/web-auth/webauthn-lib/src/AuthenticatorAttestationResponse.php
2024-12-17 17:34:10 +01:00

26 lines
578 B
PHP

<?php
declare(strict_types=1);
namespace Webauthn;
use Webauthn\AttestationStatement\AttestationObject;
/**
* @see https://www.w3.org/TR/webauthn/#authenticatorattestationresponse
*/
class AuthenticatorAttestationResponse extends AuthenticatorResponse
{
public function __construct(
CollectedClientData $clientDataJSON,
private readonly AttestationObject $attestationObject
) {
parent::__construct($clientDataJSON);
}
public function getAttestationObject(): AttestationObject
{
return $this->attestationObject;
}
}