26 lines
961 B
TypeScript
26 lines
961 B
TypeScript
/** Current session will be checked for refresh at this interval. */
|
|
export declare const AUTO_REFRESH_TICK_DURATION_MS: number;
|
|
/**
|
|
* A token refresh will be attempted this many ticks before the current session expires. */
|
|
export declare const AUTO_REFRESH_TICK_THRESHOLD = 3;
|
|
export declare const EXPIRY_MARGIN_MS: number;
|
|
export declare const GOTRUE_URL = "http://localhost:9999";
|
|
export declare const STORAGE_KEY = "supabase.auth.token";
|
|
export declare const AUDIENCE = "";
|
|
export declare const DEFAULT_HEADERS: {
|
|
'X-Client-Info': string;
|
|
};
|
|
export declare const NETWORK_FAILURE: {
|
|
MAX_RETRIES: number;
|
|
RETRY_INTERVAL: number;
|
|
};
|
|
export declare const API_VERSION_HEADER_NAME = "X-Supabase-Api-Version";
|
|
export declare const API_VERSIONS: {
|
|
'2024-01-01': {
|
|
timestamp: number;
|
|
name: string;
|
|
};
|
|
};
|
|
export declare const BASE64URL_REGEX: RegExp;
|
|
export declare const JWKS_TTL = 600000;
|
|
//# sourceMappingURL=constants.d.ts.map
|