#1 PDF Application on GitHub that lets you edit PDFs on any device anywhere
TypeScript dockerhacktoberfestjavapdfpdf-converterpdf-editorpdf-manipulationpdf-mergerpdf-ocrpdf-toolspdf-web-appspdfmergerself-hosted
import { authService } from "@editor/services/authService";
import type { AppSession } from "@editor-cloud/auth/session";
export type { AppSession };
/**
* Desktop (Tauri) implementation of the @editor/auth/session seam.
*
* Delegates to authService, which manages the JWT in the Tauri secure store
* (with a localStorage fallback) and validates/caches it. Behaviour of
* authService is unchanged — this only exposes its existing accessor.
*/
export async function getAccessToken(): Promise<string | null> {
return authService.getAuthToken();
}