<?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;
}

