UNPKG

@altanlabs/auth

Version:

React authentication library built on top of @altanlabs/database

8 lines 456 B
import { AxiosInstance } from 'axios'; export declare function getBaseUrl(): string; export declare const setSession: (axiosInstance: AxiosInstance, accessToken: string | null) => void; export declare const authAxios: AxiosInstance; declare const createAuthenticatedApi: (baseURL?: string) => AxiosInstance; declare const cancelAllRequests: (message?: string) => void; export { createAuthenticatedApi, cancelAllRequests }; //# sourceMappingURL=api.d.ts.map