21 lines
1.2 KiB
TypeScript
21 lines
1.2 KiB
TypeScript
import { Auth0Client } from './Auth0Client';
|
|
import { Auth0ClientOptions } from './global';
|
|
import './global';
|
|
export * from './global';
|
|
/**
|
|
* Asynchronously creates the Auth0Client instance and calls `checkSession`.
|
|
*
|
|
* **Note:** There are caveats to using this in a private browser tab, which may not silently authenticae
|
|
* a user on page refresh. Please see [the checkSession docs](https://auth0.github.io/auth0-spa-js/classes/Auth0Client.html#checksession) for more info.
|
|
*
|
|
* @param options The client options
|
|
* @returns An instance of Auth0Client
|
|
*/
|
|
export declare function createAuth0Client(options: Auth0ClientOptions): Promise<Auth0Client>;
|
|
export { Auth0Client };
|
|
export { ConnectError, GenericError, AuthenticationError, TimeoutError, PopupTimeoutError, PopupCancelledError, MfaRequiredError, MissingRefreshTokenError, UseDpopNonceError } from './errors';
|
|
export { ICache, LocalStorageCache, InMemoryCache, Cacheable, DecodedToken, CacheEntry, WrappedCacheEntry, KeyManifestEntry, MaybePromise, CacheKey, CacheKeyData } from './cache';
|
|
export { type FetcherConfig } from './fetcher';
|
|
export { MyAccountApiError } from './MyAccountApiClient';
|
|
export { CustomTokenExchangeOptions } from './TokenExchange';
|