@auth0/auth0-spa-js
Version:
Auth0 SDK for Single Page Applications using Authorization Code Grant Flow with PKCE
59 lines (58 loc) • 1.56 kB
TypeScript
import { PopupConfigOptions } from './global';
/**
* @ignore
*/
export declare const DEFAULT_AUTHORIZE_TIMEOUT_IN_SECONDS = 60;
/**
* @ignore
*/
export declare const DEFAULT_POPUP_CONFIG_OPTIONS: PopupConfigOptions;
/**
* @ignore
*/
export declare const DEFAULT_SILENT_TOKEN_RETRY_COUNT = 3;
/**
* @ignore
*/
export declare const CLEANUP_IFRAME_TIMEOUT_IN_SECONDS = 2;
/**
* @ignore
*/
export declare const DEFAULT_FETCH_TIMEOUT_MS = 10000;
export declare const CACHE_LOCATION_MEMORY = "memory";
export declare const CACHE_LOCATION_LOCAL_STORAGE = "localstorage";
/**
* @ignore
*/
export declare const MISSING_REFRESH_TOKEN_ERROR_MESSAGE = "Missing Refresh Token";
/**
* @ignore
*/
export declare const INVALID_REFRESH_TOKEN_ERROR_MESSAGE = "invalid refresh token";
/**
* @ignore
*/
export declare const USER_BLOCKED_ERROR_MESSAGE = "user is blocked";
/**
* @ignore
* The error_description returned by the /authorize endpoint when MFA is required
* but prompt=none prevents interaction (iframe silent auth flow).
*/
export declare const MFA_STEP_UP_ERROR_DESCRIPTION = "Multifactor authentication required";
/**
* @ignore
*/
export declare const DEFAULT_SCOPE = "openid profile email";
/**
* @ignore
*/
export declare const DEFAULT_SESSION_CHECK_EXPIRY_DAYS = 1;
/**
* @ignore
*/
export declare const DEFAULT_AUTH0_CLIENT: {
name: string;
version: string;
};
export declare const DEFAULT_NOW_PROVIDER: () => number;
export declare const DEFAULT_AUDIENCE = "default";