ok

Mini Shell

Direktori : /home2/selectio/www/a1tex.in/vendor/lcobucci/jwt/src/Validation/Constraint/
Upload File :
Current File : /home2/selectio/www/a1tex.in/vendor/lcobucci/jwt/src/Validation/Constraint/ValidAt.php

<?php
declare(strict_types=1);

namespace Lcobucci\JWT\Validation\Constraint;

use DateInterval;
use Lcobucci\Clock\Clock;
use Lcobucci\JWT\Token;
use Lcobucci\JWT\Validation\Constraint;

/** @deprecated Use \Lcobucci\JWT\Validation\Constraint\LooseValidAt */
final class ValidAt implements Constraint
{
    private LooseValidAt $constraint;

    public function __construct(Clock $clock, ?DateInterval $leeway = null)
    {
        $this->constraint = new LooseValidAt($clock, $leeway);
    }

    public function assert(Token $token): void
    {
        $this->constraint->assert($token);
    }
}

Zerion Mini Shell 1.0