CoreFiles by mySites.guru
CounterException.php28 lines, 642 bytes, from Joomla_5.0.0-beta2-Beta-Full_Package.zip
Raw History Compare with 5.0.0-beta1
md5
059e12c07677527df6a2f995caccaf25
sha1
333f66ed9e1ed7c1467a873b6c229002be591940
sha256
a984b1e374332611220edad7c8fa81ddf5b907dc5721fd7168b7c22d669057b0
<?php

declare(strict_types=1);

namespace Webauthn\Exception;

use Throwable;

final class CounterException extends WebauthnException
{
    public function __construct(
        public int $currentCounter,
        public int $authenticatorCounter,
        string $message,
        ?Throwable $previous = null
    ) {
        parent::__construct($message, $previous);
    }

    public static function create(
        int $currentCounter,
        int $authenticatorCounter,
        string $message,
        ?Throwable $previous = null
    ): self {
        return new self($currentCounter, $authenticatorCounter, $message, $previous);
    }
}

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