@rxap/authentication 19.0.1 → 19.0.2-dev.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 (68) hide show
  1. package/CHANGELOG.md +10 -0
  2. package/README.md +25 -23
  3. package/compodoc/changelog.html +7 -0
  4. package/compodoc/dependencies.html +1 -1
  5. package/compodoc/index.html +15 -21
  6. package/compodoc/js/search/search_index.js +2 -2
  7. package/compodoc/properties.html +1 -1
  8. package/docs/documentation.json +77 -76
  9. package/docs/html/assets/highlight.css +6 -13
  10. package/docs/html/classes/AuthenticationRoutingService.html +2 -2
  11. package/docs/html/classes/DisabledAuthenticationService.html +2 -2
  12. package/docs/html/classes/RegisterService.html +2 -2
  13. package/docs/html/classes/RxapAuthenticationGuard.html +2 -2
  14. package/docs/html/classes/RxapAuthenticationService.html +2 -2
  15. package/docs/html/classes/SignOutDirective.html +2 -2
  16. package/docs/html/enums/AuthenticationEventType.html +2 -2
  17. package/docs/html/functions/BearerTokenInterceptor.html +1 -1
  18. package/docs/html/functions/provideAuthentication.html +1 -1
  19. package/docs/html/functions/withDisabledAuthentication.html +1 -1
  20. package/docs/html/functions/withInitialAuthenticationState.html +1 -1
  21. package/docs/html/hierarchy.html +1 -1
  22. package/docs/html/index.html +23 -22
  23. package/docs/html/interfaces/AuthenticationAccessToken.html +2 -2
  24. package/docs/html/interfaces/AuthenticationEvent.html +2 -2
  25. package/docs/html/interfaces/IAuthenticationService.html +2 -2
  26. package/docs/html/modules.html +1 -1
  27. package/docs/html/variables/RXAP_AUTHENTICATION_ACCESS_TOKEN.html +1 -1
  28. package/docs/html/variables/RXAP_AUTHENTICATION_DEACTIVATED.html +1 -1
  29. package/docs/html/variables/RXAP_INITIAL_AUTHENTICATION_STATE.html +1 -1
  30. package/docs/markdown/README.md +26 -24
  31. package/docs/markdown/classes/AuthenticationRoutingService.md +3 -3
  32. package/docs/markdown/classes/DisabledAuthenticationService.md +6 -6
  33. package/docs/markdown/classes/RegisterService.md +4 -4
  34. package/docs/markdown/classes/RxapAuthenticationGuard.md +8 -8
  35. package/docs/markdown/classes/RxapAuthenticationService.md +7 -7
  36. package/docs/markdown/classes/SignOutDirective.md +6 -6
  37. package/docs/markdown/enumerations/AuthenticationEventType.md +5 -5
  38. package/docs/markdown/functions/BearerTokenInterceptor.md +2 -2
  39. package/docs/markdown/functions/provideAuthentication.md +2 -2
  40. package/docs/markdown/functions/withDisabledAuthentication.md +2 -2
  41. package/docs/markdown/functions/withInitialAuthenticationState.md +2 -2
  42. package/docs/markdown/globals.md +2 -2
  43. package/docs/markdown/interfaces/AuthenticationAccessToken.md +4 -4
  44. package/docs/markdown/interfaces/AuthenticationEvent.md +3 -3
  45. package/docs/markdown/interfaces/IAuthenticationService.md +6 -6
  46. package/docs/markdown/variables/RXAP_AUTHENTICATION_ACCESS_TOKEN.md +2 -2
  47. package/docs/markdown/variables/RXAP_AUTHENTICATION_DEACTIVATED.md +2 -2
  48. package/docs/markdown/variables/RXAP_INITIAL_AUTHENTICATION_STATE.md +2 -2
  49. package/docs/wiki/Class.AuthenticationRoutingService.md +2 -2
  50. package/docs/wiki/Class.DisabledAuthenticationService.md +5 -5
  51. package/docs/wiki/Class.RegisterService.md +3 -3
  52. package/docs/wiki/Class.RxapAuthenticationGuard.md +7 -7
  53. package/docs/wiki/Class.RxapAuthenticationService.md +6 -6
  54. package/docs/wiki/Class.SignOutDirective.md +5 -5
  55. package/docs/wiki/Enumeration.AuthenticationEventType.md +4 -4
  56. package/docs/wiki/Function.BearerTokenInterceptor.md +1 -1
  57. package/docs/wiki/Function.provideAuthentication.md +1 -1
  58. package/docs/wiki/Function.withDisabledAuthentication.md +1 -1
  59. package/docs/wiki/Function.withInitialAuthenticationState.md +1 -1
  60. package/docs/wiki/Home.md +25 -23
  61. package/docs/wiki/Interface.AuthenticationAccessToken.md +3 -3
  62. package/docs/wiki/Interface.AuthenticationEvent.md +2 -2
  63. package/docs/wiki/Interface.IAuthenticationService.md +5 -5
  64. package/docs/wiki/Variable.RXAP_AUTHENTICATION_ACCESS_TOKEN.md +1 -1
  65. package/docs/wiki/Variable.RXAP_AUTHENTICATION_DEACTIVATED.md +1 -1
  66. package/docs/wiki/Variable.RXAP_INITIAL_AUTHENTICATION_STATE.md +1 -1
  67. package/docs/wiki/globals.md +1 -1
  68. package/package.json +4 -4
@@ -4,7 +4,7 @@
4
4
 
5
5
  > **withInitialAuthenticationState**(`state`): `Provider`
6
6
 
7
- Defined in: [provide.ts:22](https://gitlab.com/rxap/packages/-/blob/753c877fe1a5c2fcfa737310f6e99fd1371f9b4d/packages/angular/authentication/src/lib/provide.ts#L22)
7
+ Defined in: [provide.ts:22](https://gitlab.com/rxap/packages/-/blob/8058138ff98d9e37b711846892c79ebc45ed17d4/packages/angular/authentication/src/lib/provide.ts#L22)
8
8
 
9
9
  ## Parameters
10
10
 
package/docs/wiki/Home.md CHANGED
@@ -1,33 +1,35 @@
1
1
  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.
2
2
 
3
3
  [![npm version](https://img.shields.io/npm/v/@rxap/authentication?style=flat-square)](https://www.npmjs.com/package/@rxap/authentication)
4
- [![commitizen
5
- friendly](https://img.shields.io/badge/commitizen-friendly-brightgreen.svg?style=flat-square)](https://commitizen.github.io/cz-cli/)
6
- [![styled with
7
- prettier](https://img.shields.io/badge/styled_with-prettier-ff69b4.svg?style=flat-square)](https://github.com/prettier/prettier)
8
- ![Libraries.io dependency status for latest release, scoped npm
9
- package](https://img.shields.io/librariesio/release/npm/@rxap/authentication)
4
+ [![commitizen friendly](https://img.shields.io/badge/commitizen-friendly-brightgreen.svg?style=flat-square)](https://commitizen.github.io/cz-cli/)
5
+ [![styled with prettier](https://img.shields.io/badge/styled_with-prettier-ff69b4.svg?style=flat-square)](https://github.com/prettier/prettier)
6
+ ![Libraries.io dependency status for latest release, scoped npm package](https://img.shields.io/librariesio/release/npm/@rxap/authentication)
10
7
  ![npm](https://img.shields.io/npm/dm/@rxap/authentication)
11
- ![NPM](https://img.shields.io/npm/l/@rxap/authentication) -
12
- [Installation](../wiki/#installation)
8
+ ![NPM](https://img.shields.io/npm/l/@rxap/authentication)
9
+
10
+ - [Installation](../wiki/#installation)
13
11
  - [Generators](../wiki/#generators)
14
- - [init](../wiki/#init)
12
+ - [init](../wiki/#init)
13
+
14
+ # Installation
15
15
 
16
- # Installation **Add the package to your workspace:** ```bash yarn add
17
- @rxap/authentication
16
+ **Add the package to your workspace:**
17
+ ```bash
18
+ yarn add @rxap/authentication
19
+ ```
20
+ **Install peer dependencies:**
21
+ ```bash
22
+ yarn add @angular/common@^19.1.3 @angular/core@^19.1.3 @angular/router@^19.1.3 @rxap/utilities@^16.4.3-dev.0 rxjs@^7.8.1
23
+ ```
24
+ **Execute the init generator:**
25
+ ```bash
26
+ yarn nx g @rxap/authentication:init
18
27
  ```
19
- **Install peer dependencies:** ```bash yarn add
20
- @angular/common@^19.1.3 @angular/core@^19.1.3 @angular/router@^19.1.3 @rxap/utilities@^16.4.2-dev.4 rxjs@^7.8.1
21
- ```
22
- **Execute the init generator:** ```bash yarn nx g
23
- @rxap/authentication:init ```
24
28
  # Generators
25
29
 
26
- ##
27
- init
28
- >
29
- Initialize the package in the workspace
30
+ ## init
31
+ > Initialize the package in the workspace
30
32
 
31
- ```bash nx g
32
- @rxap/authentication:init
33
- ```
33
+ ```bash
34
+ nx g @rxap/authentication:init
35
+ ```
@@ -2,7 +2,7 @@
2
2
 
3
3
  # Interface: AuthenticationAccessToken
4
4
 
5
- Defined in: [tokens.ts:9](https://gitlab.com/rxap/packages/-/blob/753c877fe1a5c2fcfa737310f6e99fd1371f9b4d/packages/angular/authentication/src/lib/tokens.ts#L9)
5
+ Defined in: [tokens.ts:9](https://gitlab.com/rxap/packages/-/blob/8058138ff98d9e37b711846892c79ebc45ed17d4/packages/angular/authentication/src/lib/tokens.ts#L9)
6
6
 
7
7
  ## Extends
8
8
 
@@ -18,7 +18,7 @@ Defined in: [tokens.ts:9](https://gitlab.com/rxap/packages/-/blob/753c877fe1a5c2
18
18
 
19
19
  > **token**: `string`
20
20
 
21
- Defined in: [tokens.ts:10](https://gitlab.com/rxap/packages/-/blob/753c877fe1a5c2fcfa737310f6e99fd1371f9b4d/packages/angular/authentication/src/lib/tokens.ts#L10)
21
+ Defined in: [tokens.ts:10](https://gitlab.com/rxap/packages/-/blob/8058138ff98d9e37b711846892c79ebc45ed17d4/packages/angular/authentication/src/lib/tokens.ts#L10)
22
22
 
23
23
  ***
24
24
 
@@ -26,4 +26,4 @@ Defined in: [tokens.ts:10](https://gitlab.com/rxap/packages/-/blob/753c877fe1a5c
26
26
 
27
27
  > `optional` **valid**: `boolean`
28
28
 
29
- Defined in: [tokens.ts:11](https://gitlab.com/rxap/packages/-/blob/753c877fe1a5c2fcfa737310f6e99fd1371f9b4d/packages/angular/authentication/src/lib/tokens.ts#L11)
29
+ Defined in: [tokens.ts:11](https://gitlab.com/rxap/packages/-/blob/8058138ff98d9e37b711846892c79ebc45ed17d4/packages/angular/authentication/src/lib/tokens.ts#L11)
@@ -2,7 +2,7 @@
2
2
 
3
3
  # Interface: AuthenticationEvent
4
4
 
5
- Defined in: [authentication.service.ts:26](https://gitlab.com/rxap/packages/-/blob/753c877fe1a5c2fcfa737310f6e99fd1371f9b4d/packages/angular/authentication/src/lib/authentication.service.ts#L26)
5
+ Defined in: [authentication.service.ts:26](https://gitlab.com/rxap/packages/-/blob/8058138ff98d9e37b711846892c79ebc45ed17d4/packages/angular/authentication/src/lib/authentication.service.ts#L26)
6
6
 
7
7
  ## Extends
8
8
 
@@ -18,4 +18,4 @@ Defined in: [authentication.service.ts:26](https://gitlab.com/rxap/packages/-/bl
18
18
 
19
19
  > **type**: [`AuthenticationEventType`](../wiki/Enumeration.AuthenticationEventType)
20
20
 
21
- Defined in: [authentication.service.ts:27](https://gitlab.com/rxap/packages/-/blob/753c877fe1a5c2fcfa737310f6e99fd1371f9b4d/packages/angular/authentication/src/lib/authentication.service.ts#L27)
21
+ Defined in: [authentication.service.ts:27](https://gitlab.com/rxap/packages/-/blob/8058138ff98d9e37b711846892c79ebc45ed17d4/packages/angular/authentication/src/lib/authentication.service.ts#L27)
@@ -2,7 +2,7 @@
2
2
 
3
3
  # Interface: IAuthenticationService
4
4
 
5
- Defined in: [authentication.service.ts:12](https://gitlab.com/rxap/packages/-/blob/753c877fe1a5c2fcfa737310f6e99fd1371f9b4d/packages/angular/authentication/src/lib/authentication.service.ts#L12)
5
+ Defined in: [authentication.service.ts:12](https://gitlab.com/rxap/packages/-/blob/8058138ff98d9e37b711846892c79ebc45ed17d4/packages/angular/authentication/src/lib/authentication.service.ts#L12)
6
6
 
7
7
  ## Properties
8
8
 
@@ -10,7 +10,7 @@ Defined in: [authentication.service.ts:12](https://gitlab.com/rxap/packages/-/bl
10
10
 
11
11
  > **events$**: `Observable`\<[`AuthenticationEvent`](../wiki/Interface.AuthenticationEvent)\>
12
12
 
13
- Defined in: [authentication.service.ts:14](https://gitlab.com/rxap/packages/-/blob/753c877fe1a5c2fcfa737310f6e99fd1371f9b4d/packages/angular/authentication/src/lib/authentication.service.ts#L14)
13
+ Defined in: [authentication.service.ts:14](https://gitlab.com/rxap/packages/-/blob/8058138ff98d9e37b711846892c79ebc45ed17d4/packages/angular/authentication/src/lib/authentication.service.ts#L14)
14
14
 
15
15
  ***
16
16
 
@@ -18,7 +18,7 @@ Defined in: [authentication.service.ts:14](https://gitlab.com/rxap/packages/-/bl
18
18
 
19
19
  > **isAuthenticated$**: `Observable`\<`null` \| `boolean`\>
20
20
 
21
- Defined in: [authentication.service.ts:13](https://gitlab.com/rxap/packages/-/blob/753c877fe1a5c2fcfa737310f6e99fd1371f9b4d/packages/angular/authentication/src/lib/authentication.service.ts#L13)
21
+ Defined in: [authentication.service.ts:13](https://gitlab.com/rxap/packages/-/blob/8058138ff98d9e37b711846892c79ebc45ed17d4/packages/angular/authentication/src/lib/authentication.service.ts#L13)
22
22
 
23
23
  ## Methods
24
24
 
@@ -26,7 +26,7 @@ Defined in: [authentication.service.ts:13](https://gitlab.com/rxap/packages/-/bl
26
26
 
27
27
  > **isAuthenticated**(): `Promise`\<`boolean`\>
28
28
 
29
- Defined in: [authentication.service.ts:17](https://gitlab.com/rxap/packages/-/blob/753c877fe1a5c2fcfa737310f6e99fd1371f9b4d/packages/angular/authentication/src/lib/authentication.service.ts#L17)
29
+ Defined in: [authentication.service.ts:17](https://gitlab.com/rxap/packages/-/blob/8058138ff98d9e37b711846892c79ebc45ed17d4/packages/angular/authentication/src/lib/authentication.service.ts#L17)
30
30
 
31
31
  #### Returns
32
32
 
@@ -38,7 +38,7 @@ Defined in: [authentication.service.ts:17](https://gitlab.com/rxap/packages/-/bl
38
38
 
39
39
  > **signOut**(): `Promise`\<`void`\>
40
40
 
41
- Defined in: [authentication.service.ts:15](https://gitlab.com/rxap/packages/-/blob/753c877fe1a5c2fcfa737310f6e99fd1371f9b4d/packages/angular/authentication/src/lib/authentication.service.ts#L15)
41
+ Defined in: [authentication.service.ts:15](https://gitlab.com/rxap/packages/-/blob/8058138ff98d9e37b711846892c79ebc45ed17d4/packages/angular/authentication/src/lib/authentication.service.ts#L15)
42
42
 
43
43
  #### Returns
44
44
 
@@ -4,4 +4,4 @@
4
4
 
5
5
  > `const` **RXAP\_AUTHENTICATION\_ACCESS\_TOKEN**: `InjectionToken`\<`BehaviorSubject`\<`null` \| [`AuthenticationAccessToken`](../wiki/Interface.AuthenticationAccessToken)\>\>
6
6
 
7
- Defined in: [tokens.ts:14](https://gitlab.com/rxap/packages/-/blob/753c877fe1a5c2fcfa737310f6e99fd1371f9b4d/packages/angular/authentication/src/lib/tokens.ts#L14)
7
+ Defined in: [tokens.ts:14](https://gitlab.com/rxap/packages/-/blob/8058138ff98d9e37b711846892c79ebc45ed17d4/packages/angular/authentication/src/lib/tokens.ts#L14)
@@ -4,4 +4,4 @@
4
4
 
5
5
  > `const` **RXAP\_AUTHENTICATION\_DEACTIVATED**: `InjectionToken`\<`boolean`\>
6
6
 
7
- Defined in: [tokens.ts:7](https://gitlab.com/rxap/packages/-/blob/753c877fe1a5c2fcfa737310f6e99fd1371f9b4d/packages/angular/authentication/src/lib/tokens.ts#L7)
7
+ Defined in: [tokens.ts:7](https://gitlab.com/rxap/packages/-/blob/8058138ff98d9e37b711846892c79ebc45ed17d4/packages/angular/authentication/src/lib/tokens.ts#L7)
@@ -4,4 +4,4 @@
4
4
 
5
5
  > `const` **RXAP\_INITIAL\_AUTHENTICATION\_STATE**: `InjectionToken`\<`boolean`\>
6
6
 
7
- Defined in: [tokens.ts:22](https://gitlab.com/rxap/packages/-/blob/753c877fe1a5c2fcfa737310f6e99fd1371f9b4d/packages/angular/authentication/src/lib/tokens.ts#L22)
7
+ Defined in: [tokens.ts:22](https://gitlab.com/rxap/packages/-/blob/8058138ff98d9e37b711846892c79ebc45ed17d4/packages/angular/authentication/src/lib/tokens.ts#L22)
@@ -1,4 +1,4 @@
1
- # @rxap/authentication
1
+ # @rxap/authentication v19.0.2-dev.1
2
2
 
3
3
  ## Enumerations
4
4
 
package/package.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "19.0.1",
2
+ "version": "19.0.2-dev.1",
3
3
  "name": "@rxap/authentication",
4
4
  "description": "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.\n",
5
5
  "license": "GPL-3.0-or-later",
@@ -11,7 +11,7 @@
11
11
  "@angular/common": "^19.1.3",
12
12
  "@angular/core": "^19.1.3",
13
13
  "@angular/router": "^19.1.3",
14
- "@rxap/utilities": "^16.4.2-dev.4",
14
+ "@rxap/utilities": "^16.4.3-dev.0",
15
15
  "rxjs": "^7.8.1"
16
16
  },
17
17
  "author": {
@@ -53,7 +53,7 @@
53
53
  },
54
54
  {
55
55
  "package": "@rxap/utilities",
56
- "version": "16.4.2-dev.4"
56
+ "version": "16.4.3-dev.0"
57
57
  }
58
58
  ]
59
59
  },
@@ -68,7 +68,7 @@
68
68
  },
69
69
  "schematics": "./generators.json",
70
70
  "sideEffects": false,
71
- "gitHead": "753c877fe1a5c2fcfa737310f6e99fd1371f9b4d",
71
+ "gitHead": "8058138ff98d9e37b711846892c79ebc45ed17d4",
72
72
  "module": "fesm2022/rxap-authentication.mjs",
73
73
  "typings": "index.d.ts",
74
74
  "exports": {