Newer
Older
gnexus-auth-client-php / src / Contract / TokenStoreInterface.php
@Eugene Sukhodolskiy Eugene Sukhodolskiy 12 hours ago 296 bytes Initial auth client package scaffold
<?php

declare(strict_types=1);

namespace GNexus\GAuth\Contract;

use GNexus\GAuth\DTO\TokenSet;

interface TokenStoreInterface
{
    public function put(string $key, TokenSet $tokenSet): void;

    public function get(string $key): ?TokenSet;

    public function forget(string $key): void;
}