CoreFiles by mySites.guru
InvalidAttestationStatementException.php27 lines, 725 bytes, from Joomla_6.2.0-beta1-Beta-Full_Package.zip
Raw History Compare with 6.1.0-beta3
md5
4a6b9ff6509bc67b6e35cc2248dce886
sha1
4d96b0ef68b73cba4ceca911ea49babc7bab9f94
sha256
5a65f2ac494cfde6411f2073bc6841b9b52b2c2288b2166f7b7966ca3c0b310b
<?php

declare(strict_types=1);

namespace Webauthn\Exception;

use Throwable;
use Webauthn\AttestationStatement\AttestationStatement;

final class InvalidAttestationStatementException extends AttestationStatementException
{
    public function __construct(
        public readonly AttestationStatement $attestationStatement,
        string $message,
        ?Throwable $previous = null
    ) {
        parent::__construct($message, $previous);
    }

    public static function create(
        AttestationStatement $attestationStatement,
        string $message = 'Invalid attestation statement',
        ?Throwable $previous = null
    ): self {
        return new self($attestationStatement, $message, $previous);
    }
}

The same content is in 158 releases, Joomla 5.0.0-alpha1 to 6.3.0-alpha1. See them all, or every version of this file.