UNPKG

@directus/sdk

Version:

Directus JavaScript SDK

16 lines (14 loc) 516 B
import { AuthenticationData, RefreshOptions } from "../../../auth/types.cjs"; import { RestCommand } from "../../types.cjs"; //#region src/rest/commands/auth/refresh.d.ts /** * Retrieve a new access token using a refresh token. * * @param options Optional refresh settings. * * @returns The new access and refresh tokens for the session. */ declare const refresh: <Schema>(options?: RefreshOptions) => RestCommand<AuthenticationData, Schema>; //#endregion export { refresh }; //# sourceMappingURL=refresh.d.cts.map