@axa-fr/oidc-client 7.29.8 → 7.30.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.
Files changed (76) hide show
  1. package/README.md +187 -0
  2. package/dist/events.d.ts +3 -0
  3. package/dist/events.d.ts.map +1 -1
  4. package/dist/fetch.d.ts +2 -2
  5. package/dist/fetch.d.ts.map +1 -1
  6. package/dist/index.d.ts +1 -1
  7. package/dist/index.d.ts.map +1 -1
  8. package/dist/index.js +1339 -871
  9. package/dist/index.umd.cjs +2 -2
  10. package/dist/initSession.d.ts +2 -0
  11. package/dist/initSession.d.ts.map +1 -1
  12. package/dist/initWorker.d.ts +1 -25
  13. package/dist/initWorker.d.ts.map +1 -1
  14. package/dist/jwt.d.ts.map +1 -1
  15. package/dist/keepSession.d.ts.map +1 -1
  16. package/dist/keepSession.spec.d.ts +2 -0
  17. package/dist/keepSession.spec.d.ts.map +1 -0
  18. package/dist/legacyCompatibility.spec.d.ts +2 -0
  19. package/dist/legacyCompatibility.spec.d.ts.map +1 -0
  20. package/dist/login.d.ts +2 -1
  21. package/dist/login.d.ts.map +1 -1
  22. package/dist/logout.d.ts.map +1 -1
  23. package/dist/node_modules/@axa-fr/oidc-client-service-worker/dist/OidcServiceWorker.js +1049 -0
  24. package/dist/node_modules/@axa-fr/oidc-client-service-worker/dist/OidcTrustedDomains.js +31 -0
  25. package/dist/oidc.d.ts +6 -1
  26. package/dist/oidc.d.ts.map +1 -1
  27. package/dist/oidcClient.d.ts +13 -2
  28. package/dist/oidcClient.d.ts.map +1 -1
  29. package/dist/oidcError.d.ts +5 -0
  30. package/dist/oidcError.d.ts.map +1 -1
  31. package/dist/parseTokens.d.ts +10 -0
  32. package/dist/parseTokens.d.ts.map +1 -1
  33. package/dist/protocol.d.ts +7 -1
  34. package/dist/protocol.d.ts.map +1 -1
  35. package/dist/renewTokens.d.ts +0 -6
  36. package/dist/renewTokens.d.ts.map +1 -1
  37. package/dist/requests.d.ts +3 -3
  38. package/dist/requests.d.ts.map +1 -1
  39. package/dist/resourceParameters.d.ts +9 -0
  40. package/dist/resourceParameters.d.ts.map +1 -0
  41. package/dist/resourceTokens.d.ts +34 -0
  42. package/dist/resourceTokens.d.ts.map +1 -0
  43. package/dist/resourceTokens.spec.d.ts +2 -0
  44. package/dist/resourceTokens.spec.d.ts.map +1 -0
  45. package/dist/silentLogin.d.ts +2 -1
  46. package/dist/silentLogin.d.ts.map +1 -1
  47. package/dist/types.d.ts +28 -0
  48. package/dist/types.d.ts.map +1 -1
  49. package/dist/version.d.ts +1 -1
  50. package/package.json +3 -3
  51. package/src/events.ts +3 -0
  52. package/src/fetch.ts +115 -15
  53. package/src/index.ts +4 -0
  54. package/src/initSession.ts +9 -0
  55. package/src/initWorker.ts +65 -13
  56. package/src/jwt.spec.ts +17 -0
  57. package/src/jwt.ts +4 -1
  58. package/src/keepSession.spec.ts +254 -0
  59. package/src/keepSession.ts +10 -4
  60. package/src/legacyCompatibility.spec.ts +142 -0
  61. package/src/login.ts +91 -29
  62. package/src/logout.ts +36 -0
  63. package/src/oidc.ts +71 -20
  64. package/src/oidcClient.ts +48 -3
  65. package/src/oidcError.ts +7 -0
  66. package/src/parseTokens.ts +14 -1
  67. package/src/protocol.ts +16 -1
  68. package/src/renewTokens.ts +19 -8
  69. package/src/requests.ts +13 -11
  70. package/src/resourceParameters.ts +85 -0
  71. package/src/resourceTokens.spec.ts +1271 -0
  72. package/src/resourceTokens.ts +708 -0
  73. package/src/silentLogin.spec.ts +87 -1
  74. package/src/silentLogin.ts +24 -22
  75. package/src/types.ts +34 -0
  76. package/src/version.ts +1 -1
package/README.md CHANGED
@@ -5,9 +5,11 @@ A framework-independent OpenID Connect (OIDC) client for browser applications, w
5
5
  For React applications, use [`@axa-fr/react-oidc`](../react-oidc/README.md).
6
6
 
7
7
  - [Quick start](#quick-start)
8
+ - [Session restoration](#session-restoration)
8
9
  - [Service worker](#service-worker)
9
10
  - [Configuration](#configuration)
10
11
  - [Token renewal](#token-renewal)
12
+ - [Resource indicators and multiple APIs](#resource-indicators-and-multiple-apis)
11
13
  - [Pushed Authorization Requests (PAR)](#pushed-authorization-requests-par)
12
14
  - [DPoP](#dpop)
13
15
  - [API](#api)
@@ -104,6 +106,177 @@ const profile = await response.json();
104
106
 
105
107
  The wrapper attaches an access token, or a token placeholder when the service worker hides it, and integrates with token renewal. Only use it for API URLs you trust: the wrapper itself is not a destination allowlist. HTTP error responses still need an explicit `response.ok` check.
106
108
 
109
+ ## Session restoration
110
+
111
+ `tryKeepExistingSessionAsync()` can restore existing tokens from the service
112
+ worker or configured browser storage when saved login parameters are missing or
113
+ cannot be parsed. Renewal then starts without saved extras or scope overrides.
114
+ This does not recover missing tokens or bypass login callback state/nonce checks.
115
+
116
+ If restoration fails, the client clears page tokens and cached user information,
117
+ cancels its renewal timer, and stops session monitoring before awaiting worker
118
+ cleanup. A subsequent call can retry restoration. Worker cleanup failures still
119
+ reject the call, but leave page authentication state cleared.
120
+
121
+ ## Resource indicators and multiple APIs
122
+
123
+ For a runnable multi-API example, use the [local OpenIddict demos](../../examples/openiddict-server/README.md).
124
+ They exercise resource isolation, shared refresh rotation and DPoP in browser and
125
+ worker modes. Concurrent login requests retain one transaction while resource
126
+ entries are cleared, and silent authorization failures before redirect are
127
+ reported to the parent instead of becoming timeout-only errors.
128
+
129
+ The additive `resource` option supports one absolute URI or an array of URIs.
130
+ The client sends repeated `resource` parameters in authorization, PAR, code
131
+ exchange, and refresh requests, preserving the existing scope encoding.
132
+ Use `resources` to register each managed resource exactly once and specify its
133
+ permitted API URL prefixes. A resource is an API identifier, not a scope.
134
+
135
+ Clients without a resource registry retain the existing callback, custom-storage,
136
+ fetch and local-session-clearing paths. Resource transaction bookkeeping uses
137
+ native tab-scoped `sessionStorage`; configuring custom storage does not remove
138
+ that requirement when opting into resource management.
139
+
140
+ This example is illustrative: replace the issuer, resource identifiers,
141
+ audiences, scopes, and callback routes with values supported by your provider.
142
+ It does not claim that the hosted demo providers support RFC 8707.
143
+
144
+ ```typescript
145
+ import { OidcClient, type OidcConfiguration } from '@axa-fr/oidc-client';
146
+
147
+ const ordersResource = 'https://orders.example.com';
148
+ const inventoryResource = 'https://inventory.example.com';
149
+ const configuration: OidcConfiguration = {
150
+ authority: 'https://issuer.example.com',
151
+ client_id: 'your-public-client',
152
+ redirect_uri: `${window.location.origin}/authentication/callback`,
153
+ silent_redirect_uri: `${window.location.origin}/authentication/silent-callback`,
154
+ silent_login_uri: `${window.location.origin}/authentication/silent-login`,
155
+ scope: 'openid profile offline_access orders.read inventory.read',
156
+ resource: [ordersResource, inventoryResource],
157
+ resources: [
158
+ {
159
+ resource: ordersResource,
160
+ allowedUrlPrefixes: ['https://orders.example.com/v1'],
161
+ scope: 'orders.read',
162
+ audiences: ['orders-api'],
163
+ },
164
+ {
165
+ resource: inventoryResource,
166
+ allowedUrlPrefixes: ['https://inventory.example.com/v1'],
167
+ scope: 'inventory.read',
168
+ audiences: ['inventory-api'],
169
+ },
170
+ ],
171
+ };
172
+ const oidcClient = OidcClient.getOrCreate(() => fetch)(configuration);
173
+
174
+ // Process callbacks or restore the existing session as in the quick start,
175
+ // and let the user sign in before acquiring resource tokens.
176
+ async function loadApis(): Promise<void> {
177
+ const ordersFetch = oidcClient.fetchForResource(ordersResource, fetch);
178
+ const inventoryFetch = oidcClient.fetchForResource(inventoryResource, fetch);
179
+ const [orders, inventory] = await Promise.all([
180
+ ordersFetch('https://orders.example.com/v1/orders'),
181
+ inventoryFetch('https://inventory.example.com/v1/items'),
182
+ ]);
183
+ if (!orders.ok || !inventory.ok) throw new Error('A protected API request failed.');
184
+ const data = await Promise.all([orders.json(), inventory.json()]);
185
+ console.log(data); // API data, not tokens.
186
+ }
187
+
188
+ // Equivalent selection through the existing fetch pipeline:
189
+ const selectedFetch = oidcClient.fetchWithTokens(fetch, false, { resource: ordersResource });
190
+
191
+ const token = await oidcClient.getAccessTokenForResourceAsync(ordersResource);
192
+ await oidcClient.getAccessTokenForResourceAsync(ordersResource, { forceRenew: true });
193
+ const cached = oidcClient.getAccessTokenForResource(ordersResource); // token or null; no authorization
194
+ await oidcClient.clearResourceTokensAsync(ordersResource);
195
+ ```
196
+
197
+ `ResourceAccessToken` contains `resource`, `issuer`, `clientId`,
198
+ `configurationName`, `accessToken`, Unix-seconds `expiresAt`, and optional
199
+ `scope`/`tokenType`. It does not expose refresh tokens or DPoP private keys.
200
+ In worker mode `accessToken` is a secured placeholder, even when default-token
201
+ `showAccessToken` is enabled. Do not log token values or use placeholders outside
202
+ the configured worker.
203
+
204
+ ### Acquisition, renewal, and clearing
205
+
206
+ - Each existing OIDC client owns one reusable resource manager. Separate entries
207
+ retain default and sibling access tokens; no additional OIDC client is created.
208
+ Default renewal updates only the default entry, even for single-resource grants.
209
+ Restoring a persisted resource entry emits `resource_token_acquired` when its
210
+ public snapshot changes; unchanged cache hits do not emit another event.
211
+ - Resources and requested scopes already included in the initial grant may use
212
+ its refresh token. Rotation is serialized with default-token renewal using
213
+ Web Locks, or a local queue when Web Locks are unavailable.
214
+ - A new resource, additional scope, unavailable refresh token, or `invalid_grant`
215
+ triggers bounded silent authorization with `prompt=none`. Serve both silent
216
+ routes using the existing callback integration (React's provider supplies
217
+ this routing). Cookies, provider consent, and provider capabilities still apply.
218
+ Additional authorization requires a fresh ID token for the same authenticated
219
+ subject. Resource refresh may omit an ID token; an earlier ID token's expiration
220
+ does not prevent renewal of the resource access token.
221
+ - Separately authorized resources retain independent grants. Providers reusing
222
+ the identical refresh token across separate authorization transactions are
223
+ rejected; use an initial multi-resource grant with such providers.
224
+ - Resource tokens follow `token_automatic_renew_mode`; the fetch-only mode renews
225
+ on acquisition/fetch. Concurrent acquisition of the same resource is deduplicated.
226
+ The renewal margin is capped at half the issued access-token lifetime to avoid
227
+ immediate renewal loops for short-lived API tokens.
228
+ - Clearing a resource is local-only: it drops that entry and its transaction
229
+ state, but does not revoke the shared grant or clear siblings. Clearing
230
+ invalidates in-flight cache lookups as well as network responses. Session
231
+ clearing removes all resource entries. Logout follows
232
+ `logout_tokens_to_invalidate`, including resource access tokens and independent
233
+ refresh grants, deduplicating shared refresh tokens.
234
+ - Resource entries follow the client's existing storage/tab configuration.
235
+ Resource responses cannot change the authenticated subject or recreate a
236
+ cleared entry. A new default authorization invalidates prior resource entries.
237
+
238
+ ### Destination and provider limitations
239
+
240
+ - API prefixes match parsed HTTP(S) origins and pathname boundaries, not
241
+ hostname suffixes or regular expressions. Resource URIs may also be URNs.
242
+ Fragments, credentials, and encoded path separators are rejected for API URLs;
243
+ prefixes must not contain queries.
244
+ - Resource fetch always rejects automatic redirects; `redirect: 'follow'` in
245
+ fetch options is rejected before acquisition. With `redirect: 'manual'`, handle the response
246
+ yourself and issue a separately validated request if appropriate.
247
+ - API origins registered in `resources` require explicit selection in authenticated
248
+ fetch, including paths outside their permitted prefixes (which require a new
249
+ mapping before resource fetch will permit them). Plain fetch can still make anonymous requests. Outside managed origins,
250
+ legacy fetch behavior is unchanged.
251
+ - Worker selection must satisfy both resource mappings and
252
+ `OidcTrustedDomains.js`. Deploy the matching worker: missing/older workers
253
+ reject resource acquisition with `RESOURCE_WORKER_UNSUPPORTED` instead of
254
+ falling back to browser storage. Lost worker memory requires restoring or
255
+ reauthenticating the original session; stale placeholders cannot recover grants.
256
+ - DPoP tokens retain their grant's key and nonce, and API proofs hash the selected
257
+ resource access token. Follow the existing DPoP setup, including worker settings.
258
+ Proof targets omit URL queries and fragments as required by RFC 9449.
259
+ API `DPoP-Nonce` responses are retained separately for each resource, not mixed
260
+ with token-endpoint nonces. API HTTP responses are returned without automatic
261
+ retries; callers decide whether to retry a nonce challenge.
262
+ - Configure `audiences` for JWT access tokens; resource identifiers need not equal
263
+ JWT audiences. Configured audience and issuer mismatches are rejected.
264
+ Without an audience mapping, and for opaque tokens, the client must trust the
265
+ provider to honor `resource`. No token introspection, signature-verification
266
+ extension, or token exchange is introduced. APIs must validate tokens themselves.
267
+ - Explicit insufficient returned scopes are rejected. As specified by OAuth,
268
+ omitted `scope` is treated as the requested scope; this also requires a
269
+ conforming provider.
270
+ - `invalid_target`, login/consent requirements, network failures, and silent
271
+ timeouts remain explicit. The client never retries by stripping `resource`,
272
+ using a default/sibling token, or navigating interactively. Catch acquisition
273
+ errors and offer a user-driven sign-in/consent action appropriate to the provider.
274
+
275
+ Observe `resource_token_acquired`, `resource_token_cleared`, and
276
+ `resource_token_error` through `subscribeEvents`; each identifies its resource,
277
+ and errors include the typed `OidcError`. See the [FAQ](../../FAQ.md#how-do-i-call-multiple-apis-with-different-audiences)
278
+ for troubleshooting.
279
+
107
280
  <a id="service-worker-support"></a>
108
281
 
109
282
  ## Service worker
@@ -226,6 +399,16 @@ Silent login uses an iframe and the provider's existing session. It depends on p
226
399
 
227
400
  For a vanilla application, implement both the `silent_login_uri` page and the `silent_redirect_uri` callback page. The login page starts `loginAsync` with `isSilentSignin: true` (the third argument); the callback page calls `silentLoginCallbackAsync()`. Keep these routes separate from the interactive callback. The React provider handles these routes for you; its [silent-login route implementation](../react-oidc/src/core/default-component/SilentLogin.component.tsx) is also a reference for forwarding silent-login parameters.
228
401
 
402
+ To request iframe-only sign-in from the main page, call
403
+ `loginAsync(undefined, undefined, false, undefined, true)`. This existing entry
404
+ point preserves its fulfilled-result convention: provider and timeout failures
405
+ resolve with an `Error` value, and disabled silent callbacks resolve `undefined`.
406
+ Check `result instanceof Error` after awaiting it; errors are also reported by
407
+ silent-login events. Resource-acquisition methods reject on failure. A failed
408
+ attempt does not replace the current main-session tokens or cancel their renewal
409
+ timer. Supply both silent routes, and retain all API scopes required by configured
410
+ resources if overriding the scope.
411
+
229
412
  ## Token renewal
230
413
 
231
414
  By default, the client schedules renewal before tokens expire. It uses a refresh token when available, or the configured silent-login flow. Refresh-token issuance and lifetime remain provider decisions.
@@ -266,6 +449,10 @@ The PAR endpoint must allow CORS from your application and accept public clients
266
449
 
267
450
  ## DPoP
268
451
 
452
+ Generated `htu` values exclude query strings and fragments, as RFC 9449 requires;
453
+ relative targets resolve against the current browser location. Worker registration
454
+ also preserves existing URL query parameters when appending the SDK version.
455
+
269
456
  [Demonstrating Proof of Possession (RFC 9449)](https://www.rfc-editor.org/rfc/rfc9449.html) binds supported tokens to a key and uses signed proofs for requests. It requires support from the authorization server and resource server. It reduces the usefulness of a stolen token without its key; it does not make an application immune to XSS.
270
457
 
271
458
  For client-side DPoP, set `demonstrating_proof_of_possession: true` in the OIDC configuration and opt in for protected requests:
package/dist/events.d.ts CHANGED
@@ -1,4 +1,7 @@
1
1
  export declare const eventNames: {
2
+ resource_token_acquired: string;
3
+ resource_token_cleared: string;
4
+ resource_token_error: string;
2
5
  service_worker_not_supported_by_browser: string;
3
6
  token_acquired: string;
4
7
  logout_from_another_tab: string;
@@ -1 +1 @@
1
- {"version":3,"file":"events.d.ts","sourceRoot":"","sources":["../src/events.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAmCtB,CAAC"}
1
+ {"version":3,"file":"events.d.ts","sourceRoot":"","sources":["../src/events.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAsCtB,CAAC"}
package/dist/fetch.d.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  import { default as Oidc } from './oidc';
2
2
  import { OidcErrorPhase } from './oidcError';
3
- import { Fetch } from './types';
4
- export declare const fetchWithTokens: (fetch: Fetch, oidc: Oidc, demonstrating_proof_of_possession?: boolean, phase?: OidcErrorPhase) => Fetch;
3
+ import { Fetch, ResourceFetchOptions } from './types';
4
+ export declare const fetchWithTokens: (fetch: Fetch, oidc: Oidc, demonstrating_proof_of_possession?: boolean, selection?: OidcErrorPhase | ResourceFetchOptions) => Fetch;
5
5
  //# sourceMappingURL=fetch.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"fetch.d.ts","sourceRoot":"","sources":["../src/fetch.ts"],"names":[],"mappings":"AACA,OAAO,IAAI,MAAM,QAAQ,CAAC;AAC1B,OAAO,EAAgD,cAAc,EAAE,MAAM,aAAa,CAAC;AAG3F,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAGhC,eAAO,MAAM,eAAe,GAExB,OAAO,KAAK,EACZ,MAAM,IAAI,EACV,oCAAmC,OAAe,EAClD,QAAO,cAA8B,KACpC,KAuFF,CAAC"}
1
+ {"version":3,"file":"fetch.d.ts","sourceRoot":"","sources":["../src/fetch.ts"],"names":[],"mappings":"AACA,OAAO,IAAI,MAAM,QAAQ,CAAC;AAC1B,OAAO,EAAgD,cAAc,EAAE,MAAM,aAAa,CAAC;AAQ3F,OAAO,EAAE,KAAK,EAAE,oBAAoB,EAAE,MAAM,SAAS,CAAC;AAGtD,eAAO,MAAM,eAAe,GAExB,OAAO,KAAK,EACZ,MAAM,IAAI,EACV,oCAAmC,OAAe,EAClD,YAAW,cAAc,GAAG,oBAAoC,KAC/D,KAsLF,CAAC"}
package/dist/index.d.ts CHANGED
@@ -14,6 +14,6 @@ export type { ServiceWorkerMessage, ServiceWorkerMessageTypeKey, ServiceWorkerMe
14
14
  export { buildDpopSecuredPlaceholder, buildSecuredTokenPlaceholder, buildStorageKey, DPOP_TOKEN_PLACEHOLDER_PREFIX, isServiceWorkerMessageType, PROTOCOL_VERSION, ServiceWorkerMessageType, STORAGE_KEY_PREFIX, SW_CONTROLLER_CHANGE_RELOAD_COUNT_KEY, TOKEN_PLACEHOLDERS, } from './protocol.js';
15
15
  export { isPushedAuthorizationRequestError, PushedAuthorizationRequestError, PushedAuthorizationRequestErrorCode, } from './pushedAuthorizationRequestError.js';
16
16
  export { getParseQueryStringFromLocation, getPath } from './route-utils';
17
- export type { AuthorityConfiguration, Fetch, OidcConfiguration, PushedAuthorizationRequestMode, StringMap, } from './types.js';
17
+ export type { AuthorityConfiguration, Fetch, OidcConfiguration, OidcResourceConfiguration, PushedAuthorizationRequestMode, ResourceAccessToken, ResourceFetchOptions, ResourceTokenOptions, StringMap, } from './types.js';
18
18
  export { TokenAutomaticRenewMode } from './types.js';
19
19
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,YAAY,EAAE,0BAA0B,EAAE,0BAA0B,EAAE,MAAM,iBAAiB,CAAC;AAC9F,OAAO,EAAE,wBAAwB,EAAE,MAAM,iBAAiB,CAAC;AAC3D,YAAY,EAAE,cAAc,EAAE,MAAM,eAAe,CAAC;AACpD,OAAO,EAAE,YAAY,EAAE,MAAM,eAAe,CAAC;AAC7C,OAAO,EAAE,eAAe,EAAE,MAAM,WAAW,CAAC;AAC5C,YAAY,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AACpD,OAAO,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAC;AAC7C,YAAY,EAAE,gBAAgB,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAC;AACvE,OAAO,EAAE,WAAW,EAAE,SAAS,EAAE,aAAa,EAAE,MAAM,gBAAgB,CAAC;AACvE,OAAO,EAAE,gBAAgB,EAAE,cAAc,EAAE,kBAAkB,EAAE,MAAM,qBAAqB,CAAC;AAC3F,YAAY,EAAE,MAAM,EAAE,MAAM,kBAAkB,CAAC;AAC/C,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAClD,YAAY,EACV,oBAAoB,EACpB,2BAA2B,EAC3B,6BAA6B,EAC7B,qBAAqB,GACtB,MAAM,eAAe,CAAC;AACvB,OAAO,EACL,2BAA2B,EAC3B,4BAA4B,EAC5B,eAAe,EACf,6BAA6B,EAC7B,0BAA0B,EAC1B,gBAAgB,EAChB,wBAAwB,EACxB,kBAAkB,EAClB,qCAAqC,EACrC,kBAAkB,GACnB,MAAM,eAAe,CAAC;AACvB,OAAO,EACL,iCAAiC,EACjC,+BAA+B,EAC/B,mCAAmC,GACpC,MAAM,sCAAsC,CAAC;AAC9C,OAAO,EAAE,+BA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