@asgardeo/browser
Version:
Browser-specific implementation of Asgardeo JavaScript SDK.
41 lines (40 loc) • 1.9 kB
TypeScript
/**
* Copyright (c) 2025, WSO2 LLC. (https://www.wso2.com).
*
* WSO2 LLC. licenses this file to you under the Apache License,
* Version 2.0 (the "License"); you may not use this file except
* in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/
/**
* Entry point for all public APIs of this SDK.
*/
export * from './__legacy__/client';
export * from './__legacy__/models';
export * from './__legacy__/utils/spa-utils';
export * from './__legacy__/constants/storage';
export * from './__legacy__/constants/hooks';
export * from './__legacy__/clients/main-thread-client';
export * from './__legacy__/clients/web-worker-client';
export * from './__legacy__/models/request-custom-grant';
export * from './__legacy__/helpers/authentication-helper';
export * from './__legacy__/helpers/spa-helper';
export * from './__legacy__/worker/worker-receiver';
export { AsgardeoBrowserConfig } from './models/config';
export { default as hasAuthParamsInUrl } from './utils/hasAuthParamsInUrl';
export { default as navigate } from './utils/navigate';
export { default as AsgardeoBrowserClient } from './AsgardeoBrowserClient';
export * from '@asgardeo/javascript';
export { detectThemeMode, createClassObserver, createMediaQueryListener, BrowserThemeDetection, } from './theme/themeDetection';
export { default as getActiveTheme } from './theme/getActiveTheme';
export { default as handleWebAuthnAuthentication } from './utils/handleWebAuthnAuthentication';
export { default as http } from './utils/http';