JEMBOT MAWOT Bypass Shell

Current Path : /home/cinepatreb/billetterie/vendor/lcobucci/jwt/src/Validation/Constraint/
Upload File :
Current File : /home/cinepatreb/billetterie/vendor/lcobucci/jwt/src/Validation/Constraint/PermittedFor.php

<?php

namespace Lcobucci\JWT\Validation\Constraint;

use Lcobucci\JWT\Token;
use Lcobucci\JWT\Validation\Constraint;
use Lcobucci\JWT\Validation\ConstraintViolation;

final class PermittedFor implements Constraint
{
    /** @var string  */
    private $audience;

    public function __construct($audience)
    {
        $this->audience = $audience;
    }

    public function assert(Token $token)
    {
        if (! $token->isPermittedFor($this->audience)) {
            throw new ConstraintViolation(
                'The token is not allowed to be used by this audience'
            );
        }
    }
}

xxxxx1.0, XXX xxxx