<?php

namespace NoahVet\Reef\Security\Token;

use NoahVet\Reef\Exception\NotJWTException;

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