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

declare(strict_types=1);

namespace GNexus\GAuth\Contract;

interface PkceStoreInterface
{
    public function put(string $state, string $verifier, \DateTimeImmutable $expiresAt): void;

    public function get(string $state): ?string;

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