Something went wrong. Try again.
Something went wrong. Try again.
123456789101112131415161718192021222324252627282930<?php
declare(strict_types=1);
namespace Wotnak\Atproto\Auth\OAuth;
/** * Persists OAuth sessions by subject DID. * * @api */interface OAuthSessionStoreInterface {
/** * Returns the stored value for the supplied identifier. */ public function get(string $did): ?OAuthSession;
/** * Stores the supplied value. */ public function set(OAuthSession $session): void;
/** * Deletes the stored value for the supplied identifier. */ public function delete(string $did): void;
}