Something went wrong. Try again.
Something went wrong. Try again.
1234567891011121314151617181920212223242526272829<?php
declare(strict_types=1);
namespace Wotnak\Atproto\Client;
/** * Refreshes and invalidates mutable authenticated sessions. * * @api */interface RefreshableAuthenticatedSessionInterface extends AuthenticatedSessionInterface {
/** * Refreshes the session. * * Returns FALSE only when the authority definitively rejected the refresh * credential. Transport errors and temporary server failures must be thrown * so callers do not invalidate an otherwise usable session. */ public function refresh(): bool;
/** * Invalidates the session after credentials can no longer be refreshed. */ public function invalidate(): void;
}