<?php

declare(strict_types=1);

namespace NoahVet\Reef\Security\Token;

use NoahVet\Reef\Exception\NotJWTException;

interface JWTDecoderInterface
{
    /**
     * @throws NotJWTException
     */
    public function decodeJWT(string $jwt): ?\stdClass;
}
