@asgardeo/browser 0.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +201 -0
- package/README.md +48 -0
- package/dist/AsgardeoBrowserClient.d.ts +28 -0
- package/dist/__legacy__/client.d.ts +651 -0
- package/dist/__legacy__/clients/index.d.ts +19 -0
- package/dist/__legacy__/clients/main-thread-client.d.ts +21 -0
- package/dist/__legacy__/clients/web-worker-client.d.ts +21 -0
- package/dist/__legacy__/constants/errors.d.ts +18 -0
- package/dist/__legacy__/constants/hooks.d.ts +29 -0
- package/dist/__legacy__/constants/index.d.ts +23 -0
- package/dist/__legacy__/constants/messages-types.d.ts +51 -0
- package/dist/__legacy__/constants/parameters.d.ts +21 -0
- package/dist/__legacy__/constants/session-management.d.ts +25 -0
- package/dist/__legacy__/constants/storage.d.ts +18 -0
- package/dist/__legacy__/helpers/authentication-helper.d.ts +58 -0
- package/dist/__legacy__/helpers/index.d.ts +20 -0
- package/dist/__legacy__/helpers/session-management-helper.d.ts +20 -0
- package/dist/__legacy__/helpers/spa-helper.d.ts +28 -0
- package/dist/__legacy__/http-client/clients/axios-http-client.d.ts +117 -0
- package/dist/__legacy__/http-client/clients/index.d.ts +19 -0
- package/dist/__legacy__/http-client/helpers/decorators.d.ts +24 -0
- package/dist/__legacy__/http-client/helpers/index.d.ts +19 -0
- package/dist/__legacy__/http-client/index.d.ts +20 -0
- package/dist/__legacy__/http-client/models/axios-http-client.d.ts +34 -0
- package/dist/__legacy__/http-client/models/http-client.d.ts +41 -0
- package/dist/__legacy__/http-client/models/index.d.ts +20 -0
- package/dist/__legacy__/models/client-config.d.ts +54 -0
- package/dist/__legacy__/models/client.d.ts +82 -0
- package/dist/__legacy__/models/http-client.d.ts +42 -0
- package/dist/__legacy__/models/index.d.ts +26 -0
- package/dist/__legacy__/models/message.d.ts +45 -0
- package/dist/__legacy__/models/request-custom-grant.d.ts +24 -0
- package/dist/__legacy__/models/session-management-helper.d.ts +23 -0
- package/dist/__legacy__/models/sign-in.d.ts +21 -0
- package/dist/__legacy__/models/sign-out-error.d.ts +21 -0
- package/dist/__legacy__/models/storage.d.ts +38 -0
- package/dist/__legacy__/models/web-worker.d.ts +55 -0
- package/dist/__legacy__/stores/index.d.ts +20 -0
- package/dist/__legacy__/stores/local-store.d.ts +23 -0
- package/dist/__legacy__/stores/memory-store.d.ts +25 -0
- package/dist/__legacy__/stores/session-store.d.ts +23 -0
- package/dist/__legacy__/utils/crypto-utils.d.ts +31 -0
- package/dist/__legacy__/utils/index.d.ts +19 -0
- package/dist/__legacy__/utils/message-utils.d.ts +37 -0
- package/dist/__legacy__/utils/spa-utils.d.ts +107 -0
- package/dist/__legacy__/worker/index.d.ts +19 -0
- package/dist/__legacy__/worker/worker-core.d.ts +21 -0
- package/dist/__legacy__/worker/worker-receiver.d.ts +21 -0
- package/dist/cjs/index.js +5437 -0
- package/dist/cjs/index.js.map +7 -0
- package/dist/constants/StyleConstants.d.ts +28 -0
- package/dist/index.d.ts +37 -0
- package/dist/index.js +5459 -0
- package/dist/index.js.map +7 -0
- package/dist/models/config.d.ts +19 -0
- package/dist/utils/hasAuthParamsInUrl.d.ts +25 -0
- package/dist/utils/withVendorCSSClassPrefix.d.ts +32 -0
- package/dist/worker.d.ts +21 -0
- package/package.json +76 -0
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Copyright (c) 2025, WSO2 LLC. (https://www.wso2.com).
|
|
3
|
+
*
|
|
4
|
+
* WSO2 LLC. licenses this file to you under the Apache License,
|
|
5
|
+
* Version 2.0 (the "License"); you may not use this file except
|
|
6
|
+
* in compliance with the License.
|
|
7
|
+
* You may obtain a copy of the License at
|
|
8
|
+
*
|
|
9
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
10
|
+
*
|
|
11
|
+
* Unless required by applicable law or agreed to in writing,
|
|
12
|
+
* software distributed under the License is distributed on an
|
|
13
|
+
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
|
14
|
+
* KIND, either express or implied. See the License for the
|
|
15
|
+
* specific language governing permissions and limitations
|
|
16
|
+
* under the License.
|
|
17
|
+
*/
|
|
18
|
+
/**
|
|
19
|
+
* Class defining style constants for the downstream libraries.
|
|
20
|
+
*/
|
|
21
|
+
declare class StyleConstants {
|
|
22
|
+
/**
|
|
23
|
+
* CSS class prefix for out of the box components.
|
|
24
|
+
*/
|
|
25
|
+
static readonly VENDOR_CSS_CLASS_PREFIX: string;
|
|
26
|
+
protected constructor();
|
|
27
|
+
}
|
|
28
|
+
export default StyleConstants;
|
package/dist/index.d.ts
ADDED
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Copyright (c) 2025, WSO2 LLC. (https://www.wso2.com).
|
|
3
|
+
*
|
|
4
|
+
* WSO2 LLC. licenses this file to you under the Apache License,
|
|
5
|
+
* Version 2.0 (the "License"); you may not use this file except
|
|
6
|
+
* in compliance with the License.
|
|
7
|
+
* You may obtain a copy of the License at
|
|
8
|
+
*
|
|
9
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
10
|
+
*
|
|
11
|
+
* Unless required by applicable law or agreed to in writing,
|
|
12
|
+
* software distributed under the License is distributed on an
|
|
13
|
+
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
|
14
|
+
* KIND, either express or implied. See the License for the
|
|
15
|
+
* specific language governing permissions and limitations
|
|
16
|
+
* under the License.
|
|
17
|
+
*/
|
|
18
|
+
/**
|
|
19
|
+
* Entry point for all public APIs of this SDK.
|
|
20
|
+
*/
|
|
21
|
+
export * from './__legacy__/client';
|
|
22
|
+
export * from './__legacy__/models';
|
|
23
|
+
export * from './__legacy__/utils/spa-utils';
|
|
24
|
+
export * from './__legacy__/constants/storage';
|
|
25
|
+
export * from './__legacy__/constants/hooks';
|
|
26
|
+
export * from './__legacy__/clients/main-thread-client';
|
|
27
|
+
export * from './__legacy__/clients/web-worker-client';
|
|
28
|
+
export * from './__legacy__/models/request-custom-grant';
|
|
29
|
+
export * from './__legacy__/helpers/authentication-helper';
|
|
30
|
+
export * from './__legacy__/helpers/spa-helper';
|
|
31
|
+
export * from './__legacy__/worker/worker-receiver';
|
|
32
|
+
export { default as StyleConstants } from './constants/StyleConstants';
|
|
33
|
+
export { AsgardeoBrowserConfig } from './models/config';
|
|
34
|
+
export { default as hasAuthParamsInUrl } from './utils/hasAuthParamsInUrl';
|
|
35
|
+
export { default as withVendorCSSClassPrefix } from './utils/withVendorCSSClassPrefix';
|
|
36
|
+
export { default as AsgardeoBrowserClient } from './AsgardeoBrowserClient';
|
|
37
|
+
export * from '@asgardeo/javascript';
|