@thunderid/node 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/dist/ThunderIDNodeClient.d.ts +29 -0
- package/dist/ThunderIDNodeClient.d.ts.map +1 -0
- package/dist/__legacy__/client.d.ts +355 -0
- package/dist/__legacy__/client.d.ts.map +1 -0
- package/dist/__legacy__/constants/index.d.ts +20 -0
- package/dist/__legacy__/constants/index.d.ts.map +1 -0
- package/dist/__legacy__/constants/logger-config.d.ts +32 -0
- package/dist/__legacy__/constants/logger-config.d.ts.map +1 -0
- package/dist/__legacy__/constants/uuid-config.d.ts +19 -0
- package/dist/__legacy__/constants/uuid-config.d.ts.map +1 -0
- package/dist/__legacy__/core/authentication.d.ts +46 -0
- package/dist/__legacy__/core/authentication.d.ts.map +1 -0
- package/dist/__legacy__/core/index.d.ts +19 -0
- package/dist/__legacy__/core/index.d.ts.map +1 -0
- package/dist/__legacy__/models/index.d.ts +20 -0
- package/dist/__legacy__/models/index.d.ts.map +1 -0
- package/dist/__legacy__/models/session-data.d.ts +23 -0
- package/dist/__legacy__/models/session-data.d.ts.map +1 -0
- package/dist/__legacy__/models/url-callback.d.ts +19 -0
- package/dist/__legacy__/models/url-callback.d.ts.map +1 -0
- package/dist/__legacy__/stores/index.d.ts +19 -0
- package/dist/__legacy__/stores/index.d.ts.map +1 -0
- package/dist/__legacy__/stores/memory-cache-store.d.ts +24 -0
- package/dist/__legacy__/stores/memory-cache-store.d.ts.map +1 -0
- package/dist/__legacy__/utils/crypto-utils.d.ts +32 -0
- package/dist/__legacy__/utils/crypto-utils.d.ts.map +1 -0
- package/dist/__legacy__/utils/index.d.ts +20 -0
- package/dist/__legacy__/utils/index.d.ts.map +1 -0
- package/dist/__legacy__/utils/logger-utils.d.ts +26 -0
- package/dist/__legacy__/utils/logger-utils.d.ts.map +1 -0
- package/dist/__legacy__/utils/session-utils.d.ts +25 -0
- package/dist/__legacy__/utils/session-utils.d.ts.map +1 -0
- package/dist/cjs/index.cjs +773 -0
- package/dist/constants/CookieConfig.d.ts +28 -0
- package/dist/constants/CookieConfig.d.ts.map +1 -0
- package/dist/index.d.ts +28 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +721 -0
- package/dist/models/config.d.ts +45 -0
- package/dist/models/config.d.ts.map +1 -0
- package/dist/models/cookies.d.ts +59 -0
- package/dist/models/cookies.d.ts.map +1 -0
- package/dist/utils/generateSessionId.d.ts +20 -0
- package/dist/utils/generateSessionId.d.ts.map +1 -0
- package/dist/utils/getSessionCookieOptions.d.ts +41 -0
- package/dist/utils/getSessionCookieOptions.d.ts.map +1 -0
- package/package.json +70 -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
|
+
declare class CookieConfig {
|
|
19
|
+
static readonly SESSION_COOKIE_NAME: string;
|
|
20
|
+
static readonly TEMP_SESSION_COOKIE_NAME: string;
|
|
21
|
+
static readonly DEFAULT_MAX_AGE: number;
|
|
22
|
+
static readonly DEFAULT_HTTP_ONLY: boolean;
|
|
23
|
+
static readonly DEFAULT_SAME_SITE: 'lax' | 'strict' | 'none';
|
|
24
|
+
static readonly DEFAULT_SECURE: boolean;
|
|
25
|
+
private constructor();
|
|
26
|
+
}
|
|
27
|
+
export default CookieConfig;
|
|
28
|
+
//# sourceMappingURL=CookieConfig.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CookieConfig.d.ts","sourceRoot":"","sources":["../../src/constants/CookieConfig.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;GAgBG;AAIH,cAAM,YAAY;IAChB,MAAM,CAAC,QAAQ,CAAC,mBAAmB,EAAE,MAAM,CAAiD;IAE5F,MAAM,CAAC,QAAQ,CAAC,wBAAwB,EAAE,MAAM,CAAsD;IAEtG,MAAM,CAAC,QAAQ,CAAC,eAAe,EAAE,MAAM,CAAQ;IAE/C,MAAM,CAAC,QAAQ,CAAC,iBAAiB,EAAE,OAAO,CAAQ;IAElD,MAAM,CAAC,QAAQ,CAAC,iBAAiB,EAAE,KAAK,GAAG,QAAQ,GAAG,MAAM,CAAS;IAErE,MAAM,CAAC,QAAQ,CAAC,cAAc,EAAE,OAAO,CAAQ;IAG/C,OAAO;CACR;AAED,eAAe,YAAY,CAAC"}
|
package/dist/index.d.ts
ADDED
|
@@ -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
|
+
export { ThunderIDNodeClient as LegacyThunderIDNodeClient } from './__legacy__/client';
|
|
19
|
+
export * from './__legacy__/models';
|
|
20
|
+
export * from './__legacy__/utils/logger-utils';
|
|
21
|
+
export { default as CookieConfig } from './constants/CookieConfig';
|
|
22
|
+
export { ThunderIDNodeConfig } from './models/config';
|
|
23
|
+
export { CookieOptions } from './models/cookies';
|
|
24
|
+
export { default as generateSessionId } from './utils/generateSessionId';
|
|
25
|
+
export { default as getSessionCookieOptions } from './utils/getSessionCookieOptions';
|
|
26
|
+
export { default as ThunderIDNodeClient } from './ThunderIDNodeClient';
|
|
27
|
+
export * from '@thunderid/javascript';
|
|
28
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;GAgBG;AAYH,OAAO,EAAC,mBAAmB,IAAI,yBAAyB,EAAC,MAAM,qBAAqB,CAAC;AACrF,cAAc,qBAAqB,CAAC;AACpC,cAAc,iCAAiC,CAAC;AAEhD,OAAO,EAAC,OAAO,IAAI,YAAY,EAAC,MAAM,0BAA0B,CAAC;AAEjE,OAAO,EAAC,mBAAmB,EAAC,MAAM,iBAAiB,CAAC;AACpD,OAAO,EAAC,aAAa,EAAC,MAAM,kBAAkB,CAAC;AAE/C,OAAO,EAAC,OAAO,IAAI,iBAAiB,EAAC,MAAM,2BAA2B,CAAC;AACvE,OAAO,EAAC,OAAO,IAAI,uBAAuB,EAAC,MAAM,iCAAiC,CAAC;AAEnF,OAAO,EAAC,OAAO,IAAI,mBAAmB,EAAC,MAAM,uBAAuB,CAAC;AAErE,cAAc,uBAAuB,CAAC"}
|