<?php

namespace Lexik\Bundle\JWTAuthenticationBundle\Exception;

use Symfony\Component\Security\Core\Exception\AuthenticationException;

/**
 * Exception to be thrown in case of invalid token during an authentication process.
 *
 * @author Robin Chalas <robin.chalas@gmail.com>
 */
class MissingTokenException extends AuthenticationException
{
    /**
     * {@inheritdoc}
     *
     * @return string
     */
    public function getMessageKey()
    {
        return 'JWT Token not found';
    }
}
