summaryrefslogtreecommitdiff
path: root/classes/authenticator/UserTokenInterface.php
blob: 2a21d8f5ba672741f62992071ba1a46f97191faf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
<?php
/**
 * Interface UserTokenInterface
 * @package DevCoder\Authentication\Token
 */
interface UserTokenInterface
{
    const DEFAULT_PREFIX_KEY = 'user_security';

    public function getUser(): UserInterface;

    public function serialize(): string;
}