<?php

/*
 * This file is part of the Symfony package.
 *
 * (c) Fabien Potencier <fabien@symfony.com>
 *
 * For the full copyright and license information, please view the LICENSE
 * file that was distributed with this source code.
 */

namespace BeyondSEODeps\Symfony\Component\Security\Http\LoginLink\Exception;

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

/**
 * Thrown when a login link is invalid.
 *
 * @author Ryan Weaver <ryan@symfonycasts.com>
 */
class InvalidLoginLinkAuthenticationException extends AuthenticationException
{
    /**
     * {@inheritdoc}
     */
    public function getMessageKey(): string
    {
        return 'Invalid or expired login link.';
    }
}
