@rxap/authentication 22.0.0-dev.1 → 22.0.0-dev.2

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 (77) hide show
  1. package/CHANGELOG.md +16 -0
  2. package/README.md +5 -3
  3. package/compodoc/changelog.html +15 -0
  4. package/compodoc/dependencies.html +1 -1
  5. package/compodoc/index.html +4 -3
  6. package/compodoc/js/search/search_index.js +2 -2
  7. package/compodoc/llms.txt +3 -1
  8. package/compodoc/miscellaneous/functions.html +81 -0
  9. package/compodoc/properties.html +1 -1
  10. package/docs/documentation.json +93 -69
  11. package/docs/html/classes/AuthenticationRoutingService.html +5 -5
  12. package/docs/html/classes/DisabledAuthenticationService.html +8 -8
  13. package/docs/html/classes/RegisterService.html +6 -6
  14. package/docs/html/classes/RxapAuthenticationGuard.html +9 -9
  15. package/docs/html/classes/RxapAuthenticationService.html +9 -9
  16. package/docs/html/classes/SignOutDirective.html +7 -7
  17. package/docs/html/enums/AuthenticationEventType.html +7 -7
  18. package/docs/html/functions/BearerTokenInterceptor.html +4 -4
  19. package/docs/html/functions/provideAuthentication.html +4 -4
  20. package/docs/html/functions/withDisabledAuthentication.html +4 -4
  21. package/docs/html/functions/withInitialAuthenticationState.html +4 -4
  22. package/docs/html/hierarchy.html +4 -4
  23. package/docs/html/index.html +8 -7
  24. package/docs/html/interfaces/AuthenticationAccessToken.html +6 -6
  25. package/docs/html/interfaces/AuthenticationEvent.html +5 -5
  26. package/docs/html/interfaces/IAuthenticationService.html +8 -8
  27. package/docs/html/modules.html +4 -4
  28. package/docs/html/variables/RXAP_AUTHENTICATION_ACCESS_TOKEN.html +4 -4
  29. package/docs/html/variables/RXAP_AUTHENTICATION_DEACTIVATED.html +4 -4
  30. package/docs/html/variables/RXAP_INITIAL_AUTHENTICATION_STATE.html +4 -4
  31. package/docs/markdown/README.md +6 -4
  32. package/docs/markdown/classes/AuthenticationRoutingService.md +3 -3
  33. package/docs/markdown/classes/DisabledAuthenticationService.md +6 -6
  34. package/docs/markdown/classes/RegisterService.md +4 -4
  35. package/docs/markdown/classes/RxapAuthenticationGuard.md +7 -7
  36. package/docs/markdown/classes/RxapAuthenticationService.md +7 -7
  37. package/docs/markdown/classes/SignOutDirective.md +5 -5
  38. package/docs/markdown/enumerations/AuthenticationEventType.md +5 -5
  39. package/docs/markdown/functions/BearerTokenInterceptor.md +2 -2
  40. package/docs/markdown/functions/provideAuthentication.md +2 -2
  41. package/docs/markdown/functions/withDisabledAuthentication.md +2 -2
  42. package/docs/markdown/functions/withInitialAuthenticationState.md +2 -2
  43. package/docs/markdown/globals.md +2 -2
  44. package/docs/markdown/interfaces/AuthenticationAccessToken.md +4 -4
  45. package/docs/markdown/interfaces/AuthenticationEvent.md +3 -3
  46. package/docs/markdown/interfaces/IAuthenticationService.md +6 -6
  47. package/docs/markdown/variables/RXAP_AUTHENTICATION_ACCESS_TOKEN.md +2 -2
  48. package/docs/markdown/variables/RXAP_AUTHENTICATION_DEACTIVATED.md +2 -2
  49. package/docs/markdown/variables/RXAP_INITIAL_AUTHENTICATION_STATE.md +2 -2
  50. package/docs/wiki/Class.AuthenticationRoutingService.md +2 -2
  51. package/docs/wiki/Class.DisabledAuthenticationService.md +5 -5
  52. package/docs/wiki/Class.RegisterService.md +3 -3
  53. package/docs/wiki/Class.RxapAuthenticationGuard.md +6 -6
  54. package/docs/wiki/Class.RxapAuthenticationService.md +6 -6
  55. package/docs/wiki/Class.SignOutDirective.md +4 -4
  56. package/docs/wiki/Enumeration.AuthenticationEventType.md +4 -4
  57. package/docs/wiki/Function.BearerTokenInterceptor.md +1 -1
  58. package/docs/wiki/Function.provideAuthentication.md +1 -1
  59. package/docs/wiki/Function.withDisabledAuthentication.md +1 -1
  60. package/docs/wiki/Function.withInitialAuthenticationState.md +1 -1
  61. package/docs/wiki/Home.md +5 -3
  62. package/docs/wiki/Interface.AuthenticationAccessToken.md +3 -3
  63. package/docs/wiki/Interface.AuthenticationEvent.md +2 -2
  64. package/docs/wiki/Interface.IAuthenticationService.md +5 -5
  65. package/docs/wiki/Variable.RXAP_AUTHENTICATION_ACCESS_TOKEN.md +1 -1
  66. package/docs/wiki/Variable.RXAP_AUTHENTICATION_DEACTIVATED.md +1 -1
  67. package/docs/wiki/Variable.RXAP_INITIAL_AUTHENTICATION_STATE.md +1 -1
  68. package/docs/wiki/globals.md +1 -1
  69. package/generators.json +16 -0
  70. package/package.json +6 -8
  71. package/src/generators/init/generator.js +120 -0
  72. package/src/generators/init/index.js +6 -0
  73. package/src/generators/init/schema.json +8 -0
  74. package/src/generators/package.json +3 -0
  75. package/compodoc/js/libs/vis.min.js +0 -47
  76. package/compodoc/js/menu-wc_es5.js +0 -40
  77. package/theme.css +0 -1
package/compodoc/llms.txt CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  > Provides authentication services, guards, and interceptors for Angular applications. It supports token-based authentication and provides features such as sign-out functionality and routing based on authentication status. This package also includes utilities for disabling authentication in certain environments and managing access tokens.
4
4
 
5
- > Generated by compodoc 2.0.0 at 2026-11-23T22:34:14.939Z, llm-md export.
5
+ > Generated by compodoc 2.0.0 at 2026-11-26T16:48:43.573Z, llm-md export.
6
6
 
7
7
  ## Directives
8
8
 
@@ -112,6 +112,8 @@ Methods:
112
112
  Defined in `src/generators/init/generator.ts`
113
113
  - `provideAuthentication(service: Constructor, ...additionalProviders): Provider[]`
114
114
  Defined in `src/lib/provide.ts`
115
+ - `resolvePackageDir(root: string, packageName: string): string` — Resolves the directory of a package installed in the workspace. The lookup starts at the workspace root, not at this package: with an isolated node\_modules layout (pnpm) or Yarn PnP the peer is not resolvable from here. The plain node\_modules path is the fallback for packages whose exports map hides their package.json.
116
+ Defined in `src/generators/init/generator.ts`
115
117
  - `withDisabledAuthentication(disabled: unknown = true): Provider`
116
118
  Defined in `src/lib/tokens.ts`
117
119
  - `withInitialAuthenticationState(state: boolean): Provider`
@@ -145,6 +145,9 @@
145
145
  <li>
146
146
  <a href="#provideAuthentication" title="src/lib/provide.ts" class="reference-link "><span class="reference-badge reference-badge--function" aria-hidden="true">F</span><span class="reference-link-label"><b>provideAuthentication</b>&nbsp;&nbsp;&nbsp;(src/.../provide.ts)</span></a>
147
147
  </li>
148
+ <li>
149
+ <a href="#resolvePackageDir" title="src/generators/init/generator.ts" class="reference-link "><span class="reference-badge reference-badge--function" aria-hidden="true">F</span><span class="reference-link-label"><b>resolvePackageDir</b>&nbsp;&nbsp;&nbsp;(src/.../generator.ts)</span></a>
150
+ </li>
148
151
  <li>
149
152
  <a href="#withDisabledAuthentication" title="src/lib/tokens.ts" class="reference-link "><span class="reference-badge reference-badge--function" aria-hidden="true">F</span><span class="reference-link-label"><b>withDisabledAuthentication</b>&nbsp;&nbsp;&nbsp;(src/.../tokens.ts)</span></a>
150
153
  </li>
@@ -302,6 +305,84 @@
302
305
  </tr>
303
306
  </tbody>
304
307
  </table>
308
+ <table class="table table-sm table-bordered">
309
+ <tbody>
310
+ <tr>
311
+ <td class="col-md-4">
312
+ <a name="resolvePackageDir"></a>
313
+ <span class="name">
314
+ <span ><b>resolvePackageDir</b></span>
315
+ <a href="#resolvePackageDir"><span class="icon ion-ios-link"></span></a>
316
+ </span>
317
+ </td>
318
+ </tr>
319
+ <tr>
320
+ <td class="col-md-4">
321
+ <code>resolvePackageDir(root: <a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/string" target="_blank">string</a>, packageName: <a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/string" target="_blank">string</a>)</code>
322
+ </td>
323
+ </tr>
324
+
325
+
326
+
327
+
328
+ <tr>
329
+ <td class="col-md-4">
330
+ <div class="io-description"><p>Resolves the directory of a package installed in the workspace. The lookup starts at the
331
+ workspace root, not at this package: with an isolated node_modules layout (pnpm) or Yarn PnP
332
+ the peer is not resolvable from here. The plain node_modules path is the fallback for packages
333
+ whose <code>exports</code> map hides their package.json.</p>
334
+ </div>
335
+
336
+ <div class="io-description">
337
+ <b>Parameters :</b>
338
+
339
+ <table class="params">
340
+ <thead>
341
+ <tr>
342
+ <td>Name</td>
343
+ <td>Type</td>
344
+ <td>Optional</td>
345
+ </tr>
346
+ </thead>
347
+ <tbody>
348
+ <tr>
349
+ <td>root</td>
350
+ <td>
351
+ <code><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/string" target="_blank" >string</a></code>
352
+ </td>
353
+
354
+ <td>
355
+ No
356
+ </td>
357
+
358
+
359
+ </tr>
360
+ <tr>
361
+ <td>packageName</td>
362
+ <td>
363
+ <code><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/string" target="_blank" >string</a></code>
364
+ </td>
365
+
366
+ <td>
367
+ No
368
+ </td>
369
+
370
+
371
+ </tr>
372
+ </tbody>
373
+ </table>
374
+ </div>
375
+ <div class="io-description">
376
+ <b>Returns : </b> <code><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/string" target="_blank" >string</a></code>
377
+
378
+ </div>
379
+ <div class="io-description">
380
+
381
+ </div>
382
+ </td>
383
+ </tr>
384
+ </tbody>
385
+ </table>
305
386
  </section>
306
387
  <h3>src/lib/provide.ts</h3>
307
388
  <section data-compodoc="block-methods">
@@ -127,7 +127,7 @@
127
127
  </ol>
128
128
  <ul class="properties-list">
129
129
  <li>
130
- <b>Version</b> : 22.0.0-dev.1</li>
130
+ <b>Version</b> : 22.0.0-dev.2</li>
131
131
  <li>
132
132
  <b>Description</b> : Provides authentication services, guards, and interceptors for Angular applications. It supports token-based authentication and provides features such as sign-out functionality and routing based on authentication status. This package also includes utilities for disabling authentication in certain environments and managing access tokens.
133
133
  </li>