Something went wrong. Try again.
Something went wrong. Try again.
123456789101112131415161718192021222324252627282930<?php
declare(strict_types=1);
namespace Wotnak\Atproto\Auth\OAuth;
/** * Persists one-time OAuth authorization state. * * @api */interface StateStoreInterface {
/** * Returns the stored value for the supplied identifier. */ public function get(string $state): ?AuthorizationState;
/** * Stores the supplied value. */ public function set(AuthorizationState $state): void;
/** * Deletes the stored value for the supplied identifier. */ public function delete(string $state): void;
}