@thunderid/browser 0.0.4 → 0.0.5

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.
Files changed (111) hide show
  1. package/dist/FetchHttpClient.d.ts +1 -0
  2. package/dist/FetchHttpClient.d.ts.map +1 -1
  3. package/dist/ThunderIDBrowserClient.d.ts +66 -10
  4. package/dist/ThunderIDBrowserClient.d.ts.map +1 -1
  5. package/dist/cjs/index.js +1333 -3001
  6. package/dist/cjs/index.js.map +1 -1
  7. package/dist/{__legacy__/constants/hooks.d.ts → constants/Hooks.d.ts} +5 -1
  8. package/dist/constants/Hooks.d.ts.map +1 -0
  9. package/dist/{__legacy__/constants/session-management.d.ts → constants/SPAConstants.d.ts} +11 -2
  10. package/dist/constants/SPAConstants.d.ts.map +1 -0
  11. package/dist/index.d.ts +23 -18
  12. package/dist/index.d.ts.map +1 -1
  13. package/dist/index.js +1568 -3248
  14. package/dist/index.js.map +1 -1
  15. package/dist/models/BrowserConfig.d.ts +46 -0
  16. package/dist/models/BrowserConfig.d.ts.map +1 -0
  17. package/dist/{__legacy__/models/storage.d.ts → models/BrowserStorage.d.ts} +7 -16
  18. package/dist/models/BrowserStorage.d.ts.map +1 -0
  19. package/dist/{__legacy__/models/sign-in.d.ts → models/SignInConfig.d.ts} +9 -1
  20. package/dist/models/SignInConfig.d.ts.map +1 -0
  21. package/dist/{__legacy__/models/sign-out-error.d.ts → models/SignOutError.d.ts} +7 -1
  22. package/dist/models/SignOutError.d.ts.map +1 -0
  23. package/dist/{__legacy__/models/request-custom-grant.d.ts → models/TokenExchangeConfig.d.ts} +8 -3
  24. package/dist/models/TokenExchangeConfig.d.ts.map +1 -0
  25. package/dist/models/config.d.ts +1 -1
  26. package/dist/models/config.d.ts.map +1 -1
  27. package/dist/{__legacy__/stores/session-store.d.ts → stores/LocalStore.d.ts} +6 -2
  28. package/dist/stores/LocalStore.d.ts.map +1 -0
  29. package/dist/{__legacy__/stores/memory-store.d.ts → stores/MemoryStore.d.ts} +6 -2
  30. package/dist/stores/MemoryStore.d.ts.map +1 -0
  31. package/dist/{__legacy__/stores/local-store.d.ts → stores/SessionStore.d.ts} +6 -2
  32. package/dist/stores/SessionStore.d.ts.map +1 -0
  33. package/dist/utils/AuthenticationHelper.d.ts +192 -0
  34. package/dist/utils/AuthenticationHelper.d.ts.map +1 -0
  35. package/dist/utils/SPACryptoUtils.d.ts +68 -0
  36. package/dist/utils/SPACryptoUtils.d.ts.map +1 -0
  37. package/dist/utils/SPAHelper.d.ts +50 -0
  38. package/dist/utils/SPAHelper.d.ts.map +1 -0
  39. package/dist/utils/SPAUtils.d.ts +145 -0
  40. package/dist/utils/SPAUtils.d.ts.map +1 -0
  41. package/dist/{__legacy__/models/session-management-helper.d.ts → utils/SessionManagementHelper.d.ts} +21 -2
  42. package/dist/utils/SessionManagementHelper.d.ts.map +1 -0
  43. package/dist/utils/http.d.ts +12 -25
  44. package/dist/utils/http.d.ts.map +1 -1
  45. package/package.json +4 -4
  46. package/dist/__legacy__/client.d.ts +0 -767
  47. package/dist/__legacy__/client.d.ts.map +0 -1
  48. package/dist/__legacy__/clients/index.d.ts +0 -20
  49. package/dist/__legacy__/clients/index.d.ts.map +0 -1
  50. package/dist/__legacy__/clients/main-thread-client.d.ts +0 -23
  51. package/dist/__legacy__/clients/main-thread-client.d.ts.map +0 -1
  52. package/dist/__legacy__/clients/web-worker-client.d.ts +0 -22
  53. package/dist/__legacy__/clients/web-worker-client.d.ts.map +0 -1
  54. package/dist/__legacy__/constants/errors.d.ts +0 -19
  55. package/dist/__legacy__/constants/errors.d.ts.map +0 -1
  56. package/dist/__legacy__/constants/hooks.d.ts.map +0 -1
  57. package/dist/__legacy__/constants/index.d.ts +0 -24
  58. package/dist/__legacy__/constants/index.d.ts.map +0 -1
  59. package/dist/__legacy__/constants/messages-types.d.ts +0 -52
  60. package/dist/__legacy__/constants/messages-types.d.ts.map +0 -1
  61. package/dist/__legacy__/constants/parameters.d.ts +0 -22
  62. package/dist/__legacy__/constants/parameters.d.ts.map +0 -1
  63. package/dist/__legacy__/constants/session-management.d.ts.map +0 -1
  64. package/dist/__legacy__/constants/storage.d.ts +0 -19
  65. package/dist/__legacy__/constants/storage.d.ts.map +0 -1
  66. package/dist/__legacy__/helpers/authentication-helper.d.ts +0 -59
  67. package/dist/__legacy__/helpers/authentication-helper.d.ts.map +0 -1
  68. package/dist/__legacy__/helpers/index.d.ts +0 -21
  69. package/dist/__legacy__/helpers/index.d.ts.map +0 -1
  70. package/dist/__legacy__/helpers/session-management-helper.d.ts +0 -21
  71. package/dist/__legacy__/helpers/session-management-helper.d.ts.map +0 -1
  72. package/dist/__legacy__/helpers/spa-helper.d.ts +0 -30
  73. package/dist/__legacy__/helpers/spa-helper.d.ts.map +0 -1
  74. package/dist/__legacy__/models/client-config.d.ts +0 -55
  75. package/dist/__legacy__/models/client-config.d.ts.map +0 -1
  76. package/dist/__legacy__/models/client.d.ts +0 -85
  77. package/dist/__legacy__/models/client.d.ts.map +0 -1
  78. package/dist/__legacy__/models/http-client.d.ts +0 -30
  79. package/dist/__legacy__/models/http-client.d.ts.map +0 -1
  80. package/dist/__legacy__/models/index.d.ts +0 -27
  81. package/dist/__legacy__/models/index.d.ts.map +0 -1
  82. package/dist/__legacy__/models/message.d.ts +0 -47
  83. package/dist/__legacy__/models/message.d.ts.map +0 -1
  84. package/dist/__legacy__/models/request-custom-grant.d.ts.map +0 -1
  85. package/dist/__legacy__/models/session-management-helper.d.ts.map +0 -1
  86. package/dist/__legacy__/models/sign-in.d.ts.map +0 -1
  87. package/dist/__legacy__/models/sign-out-error.d.ts.map +0 -1
  88. package/dist/__legacy__/models/storage.d.ts.map +0 -1
  89. package/dist/__legacy__/models/web-worker.d.ts +0 -57
  90. package/dist/__legacy__/models/web-worker.d.ts.map +0 -1
  91. package/dist/__legacy__/stores/index.d.ts +0 -21
  92. package/dist/__legacy__/stores/index.d.ts.map +0 -1
  93. package/dist/__legacy__/stores/local-store.d.ts.map +0 -1
  94. package/dist/__legacy__/stores/memory-store.d.ts.map +0 -1
  95. package/dist/__legacy__/stores/session-store.d.ts.map +0 -1
  96. package/dist/__legacy__/utils/crypto-utils.d.ts +0 -32
  97. package/dist/__legacy__/utils/crypto-utils.d.ts.map +0 -1
  98. package/dist/__legacy__/utils/index.d.ts +0 -20
  99. package/dist/__legacy__/utils/index.d.ts.map +0 -1
  100. package/dist/__legacy__/utils/message-utils.d.ts +0 -38
  101. package/dist/__legacy__/utils/message-utils.d.ts.map +0 -1
  102. package/dist/__legacy__/utils/spa-utils.d.ts +0 -108
  103. package/dist/__legacy__/utils/spa-utils.d.ts.map +0 -1
  104. package/dist/__legacy__/worker/index.d.ts +0 -20
  105. package/dist/__legacy__/worker/index.d.ts.map +0 -1
  106. package/dist/__legacy__/worker/worker-core.d.ts +0 -22
  107. package/dist/__legacy__/worker/worker-core.d.ts.map +0 -1
  108. package/dist/__legacy__/worker/worker-receiver.d.ts +0 -22
  109. package/dist/__legacy__/worker/worker-receiver.d.ts.map +0 -1
  110. package/dist/web.worker.d.ts +0 -20
  111. package/dist/web.worker.d.ts.map +0 -1
@@ -1,27 +0,0 @@
1
- /**
2
- * Copyright (c) 2026, 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 * from './client';
19
- export * from './message';
20
- export * from './http-client';
21
- export * from './web-worker';
22
- export * from './session-management-helper';
23
- export * from './sign-in';
24
- export * from './sign-out-error';
25
- export type { Config as LegacyConfig } from './client-config';
26
- export type { SPAConfig, MainThreadClientConfig, WebWorkerClientConfig, AuthSPAClientConfig } from './client-config';
27
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/__legacy__/models/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;GAgBG;AAEH,cAAc,UAAU,CAAC;AACzB,cAAc,WAAW,CAAC;AAC1B,cAAc,eAAe,CAAC;AAC9B,cAAc,cAAc,CAAC;AAC7B,cAAc,6BAA6B,CAAC;AAC5C,cAAc,WAAW,CAAC;AAC1B,cAAc,kBAAkB,CAAC;AAEjC,YAAY,EAAC,MAAM,IAAI,YAAY,EAAC,MAAM,iBAAiB,CAAC;AAC5D,YAAY,EAAC,SAAS,EAAE,sBAAsB,EAAE,qBAAqB,EAAE,mBAAmB,EAAC,MAAM,iBAAiB,CAAC"}
@@ -1,47 +0,0 @@
1
- /**
2
- * Copyright (c) 2026, 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
- import { AUTH_CODE, CHECK_SESSION_SIGNED_IN, CHECK_SESSION_SIGNED_OUT, DISABLE_HTTP_HANDLER, ENABLE_HTTP_HANDLER, END_USER_SESSION, GET_AUTH_URL, GET_BASIC_USER_INFO, GET_CONFIG_DATA, GET_CRYPTO_HELPER, GET_DECODED_IDP_ID_TOKEN, GET_DECODED_ID_TOKEN, GET_ID_TOKEN, GET_OIDC_SERVICE_ENDPOINTS, GET_SIGN_OUT_URL, HTTP_REQUEST, HTTP_REQUEST_ALL, INIT, IS_AUTHENTICATED, REFRESH_ACCESS_TOKEN, REFRESH_ACCESS_TOKEN_ERR0R, REQUEST_ACCESS_TOKEN, REQUEST_CUSTOM_GRANT, REQUEST_ERROR, REQUEST_FINISH, REQUEST_START, REQUEST_SUCCESS, REVOKE_ACCESS_TOKEN, SET_SESSION_STATE, SET_SESSION_STATE_FROM_IFRAME, SIGN_IN, SIGN_OUT, START_AUTO_REFRESH_TOKEN, UPDATE_CONFIG } from '../constants';
19
- export interface ResponseMessage<T> {
20
- success: boolean;
21
- error?: string;
22
- data?: T;
23
- blob?: Blob;
24
- }
25
- export interface Message<T> {
26
- type: MessageType;
27
- data?: T;
28
- instanceId?: number;
29
- }
30
- export interface AuthorizationInfo {
31
- code: string;
32
- sessionState: string;
33
- pkce?: string;
34
- state: string;
35
- tokenRequestConfig?: {
36
- params: Record<string, unknown>;
37
- };
38
- }
39
- export type MessageType = typeof INIT | typeof SIGN_IN | typeof AUTH_CODE | typeof SIGN_OUT | typeof HTTP_REQUEST | typeof HTTP_REQUEST_ALL | typeof REQUEST_CUSTOM_GRANT | typeof REVOKE_ACCESS_TOKEN | typeof END_USER_SESSION | typeof REQUEST_ERROR | typeof REQUEST_FINISH | typeof REQUEST_START | typeof REQUEST_SUCCESS | typeof GET_OIDC_SERVICE_ENDPOINTS | typeof GET_BASIC_USER_INFO | typeof GET_DECODED_ID_TOKEN | typeof GET_CRYPTO_HELPER | typeof GET_DECODED_IDP_ID_TOKEN | typeof ENABLE_HTTP_HANDLER | typeof DISABLE_HTTP_HANDLER | typeof GET_AUTH_URL | typeof REQUEST_ACCESS_TOKEN | typeof IS_AUTHENTICATED | typeof GET_SIGN_OUT_URL | typeof REFRESH_ACCESS_TOKEN | typeof REFRESH_ACCESS_TOKEN_ERR0R | typeof SET_SESSION_STATE | typeof START_AUTO_REFRESH_TOKEN | typeof UPDATE_CONFIG | typeof GET_ID_TOKEN | typeof CHECK_SESSION_SIGNED_IN | typeof CHECK_SESSION_SIGNED_OUT | typeof GET_CONFIG_DATA | typeof SET_SESSION_STATE_FROM_IFRAME;
40
- export interface CommunicationHelperInterface {
41
- communicate: <T, R>(message: Message<T>) => Promise<R>;
42
- }
43
- export interface AuthorizationResponse {
44
- authorizationURL: string;
45
- pkce?: string;
46
- }
47
- //# sourceMappingURL=message.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"message.d.ts","sourceRoot":"","sources":["../../../src/__legacy__/models/message.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;GAgBG;AAEH,OAAO,EACL,SAAS,EACT,uBAAuB,EACvB,wBAAwB,EACxB,oBAAoB,EACpB,mBAAmB,EACnB,gBAAgB,EAChB,YAAY,EACZ,mBAAmB,EACnB,eAAe,EACf,iBAAiB,EACjB,wBAAwB,EACxB,oBAAoB,EACpB,YAAY,EACZ,0BAA0B,EAC1B,gBAAgB,EAChB,YAAY,EACZ,gBAAgB,EAChB,IAAI,EACJ,gBAAgB,EAChB,oBAAoB,EACpB,0BAA0B,EAC1B,oBAAoB,EACpB,oBAAoB,EACpB,aAAa,EACb,cAAc,EACd,aAAa,EACb,eAAe,EACf,mBAAmB,EACnB,iBAAiB,EACjB,6BAA6B,EAC7B,OAAO,EACP,QAAQ,EACR,wBAAwB,EACxB,aAAa,EACd,MAAM,cAAc,CAAC;AAEtB,MAAM,WAAW,eAAe,CAAC,CAAC;IAChC,OAAO,EAAE,OAAO,CAAC;IACjB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,IAAI,CAAC,EAAE,CAAC,CAAC;IACT,IAAI,CAAC,EAAE,IAAI,CAAC;CACb;AAED,MAAM,WAAW,OAAO,CAAC,CAAC;IACxB,IAAI,EAAE,WAAW,CAAC;IAClB,IAAI,CAAC,EAAE,CAAC,CAAC;IACT,UAAU,CAAC,EAAE,MAAM,CAAC;CACrB;AAED,MAAM,WAAW,iBAAiB;IAChC,IAAI,EAAE,MAAM,CAAC;IACb,YAAY,EAAE,MAAM,CAAC;IACrB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,MAAM,CAAC;IACd,kBAAkB,CAAC,EAAE;QACnB,MAAM,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;KACjC,CAAC;CACH;AAED,MAAM,MAAM,WAAW,GACnB,OAAO,IAAI,GACX,OAAO,OAAO,GACd,OAAO,SAAS,GAChB,OAAO,QAAQ,GACf,OAAO,YAAY,GACnB,OAAO,gBAAgB,GACvB,OAAO,oBAAoB,GAC3B,OAAO,mBAAmB,GAC1B,OAAO,gBAAgB,GACvB,OAAO,aAAa,GACpB,OAAO,cAAc,GACrB,OAAO,aAAa,GACpB,OAAO,eAAe,GACtB,OAAO,0BAA0B,GACjC,OAAO,mBAAmB,GAC1B,OAAO,oBAAoB,GAC3B,OAAO,iBAAiB,GACxB,OAAO,wBAAwB,GAC/B,OAAO,mBAAmB,GAC1B,OAAO,oBAAoB,GAC3B,OAAO,YAAY,GACnB,OAAO,oBAAoB,GAC3B,OAAO,gBAAgB,GACvB,OAAO,gBAAgB,GACvB,OAAO,oBAAoB,GAC3B,OAAO,0BAA0B,GACjC,OAAO,iBAAiB,GACxB,OAAO,wBAAwB,GAC/B,OAAO,aAAa,GACpB,OAAO,YAAY,GACnB,OAAO,uBAAuB,GAC9B,OAAO,wBAAwB,GAC/B,OAAO,eAAe,GACtB,OAAO,6BAA6B,CAAC;AAEzC,MAAM,WAAW,4BAA4B;IAC3C,WAAW,EAAE,CAAC,CAAC,EAAE,CAAC,EAAE,OAAO,EAAE,OAAO,CAAC,CAAC,CAAC,KAAK,OAAO,CAAC,CAAC,CAAC,CAAC;CACxD;AAED,MAAM,WAAW,qBAAqB;IACpC,gBAAgB,EAAE,MAAM,CAAC;IACzB,IAAI,CAAC,EAAE,MAAM,CAAC;CACf"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"request-custom-grant.d.ts","sourceRoot":"","sources":["../../../src/__legacy__/models/request-custom-grant.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;GAgBG;AAEH,OAAO,EAAC,0BAA0B,EAAC,MAAM,uBAAuB,CAAC;AAEjE;;GAEG;AACH,MAAM,WAAW,oBAAqB,SAAQ,0BAA0B;IACtE,uBAAuB,CAAC,EAAE,OAAO,CAAC;CACnC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"session-management-helper.d.ts","sourceRoot":"","sources":["../../../src/__legacy__/models/session-management-helper.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;GAgBG;AAEH,OAAO,EAAC,iCAAiC,EAAC,MAAM,uBAAuB,CAAC;AAExE,MAAM,WAAW,gCAAgC;IAC/C,UAAU,CACR,QAAQ,EAAE,MAAM,EAChB,oBAAoB,EAAE,MAAM,EAC5B,eAAe,EAAE,MAAM,OAAO,CAAC,MAAM,CAAC,EACtC,QAAQ,EAAE,MAAM,EAChB,sBAAsB,EAAE,MAAM,EAC9B,WAAW,EAAE,MAAM,EACnB,YAAY,EAAE,CAAC,MAAM,CAAC,EAAE,iCAAiC,KAAK,OAAO,CAAC,MAAM,CAAC,GAC5E,IAAI,CAAC;IACR,yBAAyB,CAAC,eAAe,CAAC,EAAE,CAAC,YAAY,EAAE,MAAM,GAAG,IAAI,KAAK,OAAO,CAAC,IAAI,CAAC,GAAG,OAAO,CAAC,OAAO,CAAC,CAAC;IAC9G,KAAK,QAAG;CACT"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"sign-in.d.ts","sourceRoot":"","sources":["../../../src/__legacy__/models/sign-in.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;GAgBG;AAEH,OAAO,EAAC,iCAAiC,EAAC,MAAM,uBAAuB,CAAC;AAExE,MAAM,MAAM,YAAY,GAAG,iCAAiC,GAAG;IAAC,kBAAkB,CAAC,EAAE,OAAO,CAAA;CAAC,CAAC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"sign-out-error.d.ts","sourceRoot":"","sources":["../../../src/__legacy__/models/sign-out-error.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;GAgBG;AAEH,MAAM,WAAW,YAAY;IAC3B,KAAK,EAAE,MAAM,CAAC;IACd,WAAW,EAAE,MAAM,CAAC;CACrB"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"storage.d.ts","sourceRoot":"","sources":["../../../src/__legacy__/models/storage.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;GAgBG;AAEH;;GAEG;AACH,oBAAY,cAAc;IACxB;;OAEG;IACH,YAAY,iBAAiB;IAC7B;;OAEG;IACH,cAAc,mBAAmB;IACjC;;OAEG;IACH,SAAS,cAAc;IACvB;;OAEG;IACH,aAAa,kBAAkB;CAChC"}
@@ -1,57 +0,0 @@
1
- /**
2
- * Copyright (c) 2026, 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
- import { AuthClientConfig, AuthorizeRequestUrlParams, User, IsomorphicCrypto, TokenExchangeRequestConfig, IdToken, OIDCEndpoints } from '@thunderid/javascript';
19
- import { HttpRequestConfig, HttpResponse, Message } from '.';
20
- import { AuthorizationResponse, WebWorkerClientConfig } from '../..';
21
- interface WebWorkerEvent<T> extends MessageEvent {
22
- data: Message<T>;
23
- }
24
- export declare class WebWorkerClass<T> {
25
- onmessage: (this: Worker, event: WebWorkerEvent<T>) => any;
26
- postMessage: (message: Message<T>) => void;
27
- }
28
- export interface WebWorkerCoreInterface {
29
- setHttpRequestStartCallback(callback: () => void): void;
30
- setHttpRequestSuccessCallback(callback: (response: HttpResponse) => void): void;
31
- setHttpRequestFinishCallback(callback: () => void): void;
32
- httpRequest(config: HttpRequestConfig): Promise<HttpResponse>;
33
- httpRequestAll(configs: HttpRequestConfig[]): Promise<HttpResponse[] | undefined>;
34
- enableHttpHandler(): void;
35
- disableHttpHandler(): void;
36
- getSignInUrl(params?: AuthorizeRequestUrlParams, afterSignInUrl?: string): Promise<AuthorizationResponse>;
37
- requestAccessToken(authorizationCode?: string, sessionState?: string, pkce?: string, state?: string): Promise<User>;
38
- signOut(afterSignOutUrl?: string): Promise<string>;
39
- getSignOutUrl(afterSignOutUrl?: string): Promise<string>;
40
- exchangeToken(config: TokenExchangeRequestConfig): Promise<User | Response>;
41
- refreshAccessToken(): Promise<User>;
42
- revokeAccessToken(): Promise<boolean>;
43
- getUser(): Promise<User>;
44
- getDecodedIdToken(sessionId?: string): Promise<IdToken>;
45
- getDecodedIDPIDToken(): Promise<IdToken>;
46
- getCrypto(): Promise<IsomorphicCrypto>;
47
- getIdToken(): Promise<string>;
48
- getOpenIDProviderEndpoints(): Promise<OIDCEndpoints>;
49
- getAccessToken(): Promise<string>;
50
- isSignedIn(): Promise<boolean>;
51
- startAutoRefreshToken(): Promise<void>;
52
- setSessionState(sessionState: string): Promise<void>;
53
- reInitialize(config: Partial<AuthClientConfig<WebWorkerClientConfig>>): Promise<void>;
54
- getConfigData(): Promise<AuthClientConfig<WebWorkerClientConfig>>;
55
- }
56
- export {};
57
- //# sourceMappingURL=web-worker.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"web-worker.d.ts","sourceRoot":"","sources":["../../../src/__legacy__/models/web-worker.ts"],"names":[],"mappings":"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"}
@@ -1,21 +0,0 @@
1
- /**
2
- * Copyright (c) 2026, 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 * from './local-store';
19
- export * from './memory-store';
20
- export * from './session-store';
21
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/__legacy__/stores/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;GAgBG;AAEH,cAAc,eAAe,CAAC;AAC9B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,iBAAiB,CAAC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"local-store.d.ts","sourceRoot":"","sources":["../../../src/__legacy__/stores/local-store.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;GAgBG;AACH,OAAO,EAAC,OAAO,EAAC,MAAM,uBAAuB,CAAC;AAE9C,qBAAa,UAAW,YAAW,OAAO;IAC3B,OAAO,CAAC,GAAG,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC;IAIlD,OAAO,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAC,MAAM,CAAC;IAIrC,UAAU,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC;CAGpD"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"memory-store.d.ts","sourceRoot":"","sources":["../../../src/__legacy__/stores/memory-store.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;GAgBG;AACH,OAAO,EAAC,OAAO,EAAC,MAAM,uBAAuB,CAAC;AAE9C,qBAAa,WAAY,YAAW,OAAO;IACzC,OAAO,CAAC,KAAK,CAAsB;;IAMtB,OAAO,CAAC,GAAG,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC;IAIlD,OAAO,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAC,MAAM,CAAC;IAIrC,UAAU,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC;CAGpD"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"session-store.d.ts","sourceRoot":"","sources":["../../../src/__legacy__/stores/session-store.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;GAgBG;AACH,OAAO,EAAC,OAAO,EAAC,MAAM,uBAAuB,CAAC;AAE9C,qBAAa,YAAa,YAAW,OAAO;IAC7B,OAAO,CAAC,GAAG,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC;IAIlD,OAAO,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAC,MAAM,CAAC;IAIrC,UAAU,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC;CAGpD"}
@@ -1,32 +0,0 @@
1
- /**
2
- * Copyright (c) 2026, 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
- import { Buffer } from 'buffer';
19
- import { Crypto, JWKInterface } from '@thunderid/javascript';
20
- export declare class SPACryptoUtils implements Crypto<Buffer | string> {
21
- /**
22
- * Get URL encoded string.
23
- *
24
- * @returns {string} base 64 url encoded value.
25
- */
26
- base64URLEncode(value: Buffer | string): string;
27
- base64URLDecode(value: string): string;
28
- hashSha256(data: string): string | Buffer;
29
- generateRandomBytes(length: number): string | Buffer;
30
- verifyJwt(idToken: string, jwk: Partial<JWKInterface>, algorithms: string[], clientId: string, issuer: string, subject: string, clockTolerance?: number, validateJwtIssuer?: boolean): Promise<boolean>;
31
- }
32
- //# sourceMappingURL=crypto-utils.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"crypto-utils.d.ts","sourceRoot":"","sources":["../../../src/__legacy__/utils/crypto-utils.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;GAgBG;AAEH,OAAO,EAAC,MAAM,EAAC,MAAM,QAAQ,CAAC;AAC9B,OAAO,EAAyB,MAAM,EAAE,YAAY,EAAC,MAAM,uBAAuB,CAAC;AAMnF,qBAAa,cAAe,YAAW,MAAM,CAAC,MAAM,GAAG,MAAM,CAAC;IAC5D;;;;OAIG;IACI,eAAe,CAAC,KAAK,EAAE,MAAM,GAAG,MAAM,GAAG,MAAM;IAI/C,eAAe,CAAC,KAAK,EAAE,MAAM,GAAG,MAAM;IAItC,UAAU,CAAC,IAAI,EAAE,MAAM,GAAG,MAAM,GAAG,MAAM;IAIzC,mBAAmB,CAAC,MAAM,EAAE,MAAM,GAAG,MAAM,GAAG,MAAM;IAIpD,SAAS,CACd,OAAO,EAAE,MAAM,EACf,GAAG,EAAE,OAAO,CAAC,YAAY,CAAC,EAC1B,UAAU,EAAE,MAAM,EAAE,EACpB,QAAQ,EAAE,MAAM,EAChB,MAAM,EAAE,MAAM,EACd,OAAO,EAAE,MAAM,EACf,cAAc,CAAC,EAAE,MAAM,EACvB,iBAAiB,CAAC,EAAE,OAAO,GAC1B,OAAO,CAAC,OAAO,CAAC;CAgCpB"}
@@ -1,20 +0,0 @@
1
- /**
2
- * Copyright (c) 2026, 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 * from './message-utils';
19
- export * from './spa-utils';
20
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/__legacy__/utils/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;GAgBG;AAEH,cAAc,iBAAiB,CAAC;AAChC,cAAc,aAAa,CAAC"}
@@ -1,38 +0,0 @@
1
- /**
2
- * Copyright (c) 2026, 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
- import { ResponseMessage } from '../models';
19
- export declare class MessageUtils {
20
- private constructor();
21
- /**
22
- * JSON stringifies the passed object.
23
- *
24
- * @param {any} data The data object.
25
- *
26
- * @return {ResponseMessage<string>} JSON string.
27
- */
28
- static generateSuccessMessage(data?: any): ResponseMessage<string>;
29
- /**
30
- * JSON stringifies the passed object.
31
- *
32
- * @param {any} error The error object.
33
- *
34
- * @return {ResponseMessage<string>} JSON string.
35
- */
36
- static generateFailureMessage(error?: any): ResponseMessage<string>;
37
- }
38
- //# sourceMappingURL=message-utils.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"message-utils.d.ts","sourceRoot":"","sources":["../../../src/__legacy__/utils/message-utils.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;GAgBG;AAEH,OAAO,EAAC,eAAe,EAAC,MAAM,WAAW,CAAC;AAE1C,qBAAa,YAAY;IAEvB,OAAO;IAEP;;;;;;OAMG;WAEW,sBAAsB,CAAC,IAAI,CAAC,EAAE,GAAG,GAAG,eAAe,CAAC,MAAM,CAAC;IAQzE;;;;;;OAMG;WAEW,sBAAsB,CAAC,KAAK,CAAC,EAAE,GAAG,GAAG,eAAe,CAAC,MAAM,CAAC;CA4C3E"}
@@ -1,108 +0,0 @@
1
- /**
2
- * Copyright (c) 2026, 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
- import { SignOutError } from '../..';
19
- export declare class SPAUtils {
20
- private constructor();
21
- static removeAuthorizationCode(): void;
22
- static getPKCE(pkceKey: string): string;
23
- static setPKCE(pkceKey: string, pkce: string): void;
24
- static setSignOutURL(url: string, clientId: string, instanceId: number): void;
25
- static getSignOutUrl(clientId: string, instanceId: number): string;
26
- static removePKCE(pkceKey: string): void;
27
- /**
28
- * This method is used to discontinue the execution of the `signIn` method if `callOnlyOnRedirect` is true and
29
- * the method is not called on being redirected from the authorization server.
30
- *
31
- * This method can be used to allow the `signIn` method to be called only
32
- * on being redirected from the authorization server.
33
- *
34
- * @param callOnlyOnRedirect {boolean} - True if the method should only be called on redirect.
35
- * @param authorizationCode {string} - Authorization code.
36
- *
37
- * @returns {boolean} - True if the method should be called.
38
- */
39
- static canContinueSignIn(callOnlyOnRedirect: boolean, authorizationCode?: string): boolean;
40
- /**
41
- * Specifies if `trySilentSignIn` has been called.
42
- *
43
- * @returns {boolean} True if the `trySilentSignIn` method has been called once.
44
- */
45
- static isInitializedSilentSignIn(): boolean;
46
- /**
47
- * Specifies if the `signIn` method has been called.
48
- *
49
- * @returns {boolean} True if the `signIn` has been called.
50
- */
51
- static wasSignInCalled(): boolean;
52
- static wasSilentSignInCalled(): boolean;
53
- static isSignOutSuccessful(): Promise<boolean>;
54
- static didSignOutFail(): boolean | SignOutError;
55
- /**
56
- * Checks if the URL the user agent is redirected to after an authorization request has the state parameter.
57
- *
58
- * @returns {boolean} True if there is a session-check state or a silent sign-in state.
59
- */
60
- static isSilentStatePresentInURL(): boolean;
61
- /**
62
- * Util function to test if `code` and `session_state` are available in the URL as search params.
63
- * @since 0.2.0
64
- * @deprecated Use `hasAuthParamsInUrl` from `@thunderid/browser` instead.
65
- *
66
- * @param params - Search params.
67
- * @return {boolean}
68
- */
69
- static hasAuthSearchParamsInURL(params?: string): boolean;
70
- /**
71
- * Util function to check if the URL contains an error.
72
- *
73
- * @param url - URL to be checked.
74
- *
75
- * @returns {boolean} - True if the URL contains an error.
76
- */
77
- static hasErrorInURL(url?: string): boolean;
78
- /**
79
- * Checks if a prompt none can be sent by checking if a request has already been sent.
80
- *
81
- * @since 0.2.3
82
- *
83
- * @returns {boolean} - True if a prompt none request has not been sent.
84
- */
85
- static canSendPromptNoneRequest(): boolean;
86
- /**
87
- * Sets the status of prompt none request.
88
- *
89
- * @since 0.2.3
90
- *
91
- * @param canSend {boolean} - True if a prompt none request can be sent.
92
- */
93
- static setPromptNoneRequestSent(canSend: boolean): void;
94
- /**
95
- * Waits for a specified amount of time to give the user agent enough time to redirect.
96
- *
97
- * @param time {number} - Time in seconds.
98
- */
99
- static waitTillPageRedirect(time?: number): Promise<void>;
100
- /**
101
- * Waits for a condition before executing the rest of the code in non-blocking manner.
102
- *
103
- * @param condition {() => boolean} - Condition to be checked.
104
- * @param timeout {number} - Time in miliseconds.
105
- */
106
- static until: (condition: () => boolean, timeout?: number) => Promise<unknown>;
107
- }
108
- //# sourceMappingURL=spa-utils.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"spa-utils.d.ts","sourceRoot":"","sources":["../../../src/__legacy__/utils/spa-utils.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;GAgBG;AAGH,OAAO,EAAC,YAAY,EAAC,MAAM,OAAO,CAAC;AAUnC,qBAAa,QAAQ;IAEnB,OAAO;WAEO,uBAAuB,IAAI,IAAI;WAM/B,OAAO,CAAC,OAAO,EAAE,MAAM,GAAG,MAAM;WAIhC,OAAO,CAAC,OAAO,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,GAAG,IAAI;WAI5C,aAAa,CAAC,GAAG,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,EAAE,UAAU,EAAE,MAAM,GAAG,IAAI;WAOtE,aAAa,CAAC,QAAQ,EAAE,MAAM,EAAE,UAAU,EAAE,MAAM,GAAG,MAAM;WAQ3D,UAAU,CAAC,OAAO,EAAE,MAAM,GAAG,IAAI;IAI/C;;;;;;;;;;;OAWG;WACW,iBAAiB,CAAC,kBAAkB,EAAE,OAAO,EAAE,iBAAiB,CAAC,EAAE,MAAM,GAAG,OAAO;IAQjG;;;;OAIG;WACW,yBAAyB,IAAI,OAAO;IAIlD;;;;OAIG;WACW,eAAe,IAAI,OAAO;WAU1B,qBAAqB,IAAI,OAAO;WAO1B,mBAAmB,IAAI,OAAO,CAAC,OAAO,CAAC;WAY7C,cAAc,IAAI,OAAO,GAAG,YAAY;IAiBtD;;;;OAIG;WACW,yBAAyB,IAAI,OAAO;IAMlD;;;;;;;OAOG;WACW,wBAAwB,CAAC,MAAM,GAAE,MAA+B,GAAG,OAAO;IAMxF;;;;;;OAMG;WACW,aAAa,CAAC,GAAG,GAAE,MAA6B,GAAG,OAAO;IAQxE;;;;;;OAMG;WACW,wBAAwB,IAAI,OAAO;IAOjD;;;;;;OAMG;WACW,wBAAwB,CAAC,OAAO,EAAE,OAAO,GAAG,IAAI;IAI9D;;;;OAIG;WACiB,oBAAoB,CAAC,IAAI,CAAC,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC;IAMtE;;;;;OAKG;IACH,OAAc,KAAK,GAAI,WAAW,MAAM,OAAO,EAAE,gBAAa,sBAI5D;CACH"}
@@ -1,20 +0,0 @@
1
- /**
2
- * Copyright (c) 2026, 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 * from './worker-receiver';
19
- export * from './worker-core';
20
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/__legacy__/worker/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;GAgBG;AAEH,cAAc,mBAAmB,CAAC;AAClC,cAAc,eAAe,CAAC"}
@@ -1,22 +0,0 @@
1
- /**
2
- * Copyright (c) 2026, 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
- import { ThunderIDAuthClient, AuthClientConfig } from '@thunderid/javascript';
19
- import { AuthenticationHelper, SPAHelper } from '../helpers';
20
- import { WebWorkerClientConfig, WebWorkerCoreInterface } from '../models';
21
- export declare const WebWorkerCore: (instanceId: number, config: AuthClientConfig<WebWorkerClientConfig>, getAuthHelper: (authClient: ThunderIDAuthClient<WebWorkerClientConfig>, spaHelper: SPAHelper<WebWorkerClientConfig>) => AuthenticationHelper<WebWorkerClientConfig>) => Promise<WebWorkerCoreInterface>;
22
- //# sourceMappingURL=worker-core.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"worker-core.d.ts","sourceRoot":"","sources":["../../../src/__legacy__/worker/worker-core.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;GAgBG;AAEH,OAAO,EACL,mBAAmB,EACnB,gBAAgB,EAUjB,MAAM,uBAAuB,CAAC;AAE/B,OAAO,EAAC,oBAAoB,EAAE,SAAS,EAAC,MAAM,YAAY,CAAC;AAC3D,OAAO,EAIL,qBAAqB,EACrB,sBAAsB,EACvB,MAAM,WAAW,CAAC;AAInB,eAAO,MAAM,aAAa,GACxB,YAAY,MAAM,EAClB,QAAQ,gBAAgB,CAAC,qBAAqB,CAAC,EAC/C,eAAe,CACb,UAAU,EAAE,mBAAmB,CAAC,qBAAqB,CAAC,EACtD,SAAS,EAAE,SAAS,CAAC,qBAAqB,CAAC,KACxC,oBAAoB,CAAC,qBAAqB,CAAC,KAC/C,OAAO,CAAC,sBAAsB,CA+LhC,CAAC"}
@@ -1,22 +0,0 @@
1
- /**
2
- * Copyright (c) 2026, 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
- import { ThunderIDAuthClient } from '@thunderid/javascript';
19
- import { AuthenticationHelper, SPAHelper } from '../helpers';
20
- import { WebWorkerClientConfig } from '../models';
21
- export declare const workerReceiver: (getAuthHelper: (authClient: ThunderIDAuthClient<WebWorkerClientConfig>, spaHelper: SPAHelper<WebWorkerClientConfig>) => AuthenticationHelper<WebWorkerClientConfig>) => void;
22
- //# sourceMappingURL=worker-receiver.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"worker-receiver.d.ts","sourceRoot":"","sources":["../../../src/__legacy__/worker/worker-receiver.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;GAgBG;AAEH,OAAO,EAAC,mBAAmB,EAAiD,MAAM,uBAAuB,CAAC;AA6B1G,OAAO,EAAC,oBAAoB,EAAE,SAAS,EAAC,MAAM,YAAY,CAAC;AAC3D,OAAO,EAIL,qBAAqB,EAEtB,MAAM,WAAW,CAAC;AAGnB,eAAO,MAAM,cAAc,GACzB,eAAe,CACb,UAAU,EAAE,mBAAmB,CAAC,qBAAqB,CAAC,EACtD,SAAS,EAAE,SAAS,CAAC,qBAAqB,CAAC,KACxC,oBAAoB,CAAC,qBAAqB,CAAC,SA6PjD,CAAC"}
@@ -1,20 +0,0 @@
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 const _default: typeof Worker & (new () => Worker);
19
- export default _default;
20
- //# sourceMappingURL=web.worker.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"web.worker.d.ts","sourceRoot":"","sources":["../src/web.worker.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;GAgBG;wBA0BkB,OAAO,MAAM,GAAG,CAAC,UAAU,MAAM,CAAC;AAAvD,wBAAwD"}