UNPKG

1.04 kBTypeScriptView Raw
1import { Auth0Client } from './Auth0Client';
2import { Auth0ClientOptions } from './global';
3import './global';
4export * from './global';
5/**
6 * Asynchronously creates the Auth0Client instance and calls `checkSession`.
7 *
8 * **Note:** There are caveats to using this in a private browser tab, which may not silently authenticae
9 * a user on page refresh. Please see [the checkSession docs](https://auth0.github.io/auth0-spa-js/classes/Auth0Client.html#checksession) for more info.
10 *
11 * @param options The client options
12 * @returns An instance of Auth0Client
13 */
14export declare function createAuth0Client(options: Auth0ClientOptions): Promise<Auth0Client>;
15export { Auth0Client };
16export { GenericError, AuthenticationError, TimeoutError, PopupTimeoutError, PopupCancelledError, MfaRequiredError, MissingRefreshTokenError } from './errors';
17export { ICache, LocalStorageCache, InMemoryCache, Cacheable, DecodedToken, CacheEntry, WrappedCacheEntry, KeyManifestEntry, MaybePromise, CacheKey, CacheKeyData } from './cache';