@rxap/ngx-oauth2-proxy 19.0.2-dev.1 → 19.0.2-dev.3

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 (43) hide show
  1. package/CHANGELOG.md +10 -0
  2. package/README.md +1 -1
  3. package/compodoc/changelog.html +7 -0
  4. package/compodoc/dependencies.html +3 -3
  5. package/compodoc/index.html +1 -1
  6. package/compodoc/js/search/search_index.js +2 -2
  7. package/compodoc/properties.html +1 -1
  8. package/docs/documentation.json +4289 -0
  9. package/docs/html/.nojekyll +1 -0
  10. package/docs/html/assets/hierarchy.js +1 -0
  11. package/docs/html/assets/highlight.css +43 -0
  12. package/docs/html/assets/icons.js +18 -0
  13. package/docs/html/assets/icons.svg +1 -0
  14. package/docs/html/assets/main.js +60 -0
  15. package/docs/html/assets/navigation.js +1 -0
  16. package/docs/html/assets/search.js +1 -0
  17. package/docs/html/assets/style.css +1611 -0
  18. package/docs/html/classes/GetOauth2ProxyUserProfileMethod.html +3 -0
  19. package/docs/html/classes/Oauth2ProxyUserProfileDataSource.html +75 -0
  20. package/docs/html/functions/oauth2ProxyGuard.html +1 -0
  21. package/docs/html/functions/provideOauth2Proxy.html +1 -0
  22. package/docs/html/functions/subscribeToLogoutEvent.html +1 -0
  23. package/docs/html/index.html +34 -0
  24. package/docs/html/interfaces/Oauth2ProxyUserProfile.html +5 -0
  25. package/docs/html/modules.html +1 -0
  26. package/docs/markdown/README.md +39 -0
  27. package/docs/markdown/classes/GetOauth2ProxyUserProfileMethod.md +39 -0
  28. package/docs/markdown/classes/Oauth2ProxyUserProfileDataSource.md +944 -0
  29. package/docs/markdown/functions/oauth2ProxyGuard.md +25 -0
  30. package/docs/markdown/functions/provideOauth2Proxy.md +15 -0
  31. package/docs/markdown/functions/subscribeToLogoutEvent.md +25 -0
  32. package/docs/markdown/globals.md +20 -0
  33. package/docs/markdown/interfaces/Oauth2ProxyUserProfile.md +29 -0
  34. package/docs/wiki/Class.GetOauth2ProxyUserProfileMethod.md +35 -0
  35. package/docs/wiki/Class.Oauth2ProxyUserProfileDataSource.md +940 -0
  36. package/docs/wiki/Function.oauth2ProxyGuard.md +21 -0
  37. package/docs/wiki/Function.provideOauth2Proxy.md +11 -0
  38. package/docs/wiki/Function.subscribeToLogoutEvent.md +21 -0
  39. package/docs/wiki/Home.md +35 -0
  40. package/docs/wiki/Interface.Oauth2ProxyUserProfile.md +25 -0
  41. package/docs/wiki/_Sidebar.md +16 -0
  42. package/docs/wiki/globals.md +16 -0
  43. package/package.json +7 -7
@@ -0,0 +1,21 @@
1
+ [@rxap/ngx-oauth2-proxy](../wiki/globals) / oauth2ProxyGuard
2
+
3
+ # Function: oauth2ProxyGuard()
4
+
5
+ > **oauth2ProxyGuard**(`route`, `state`): `MaybeAsync`\<`GuardResult`\>
6
+
7
+ Defined in: [packages/angular/oauth2-proxy/src/lib/oauth2-proxy.guard.ts:14](https://gitlab.com/rxap/packages/-/blob/505a9f353394d70acb3be23c156f43cb944d2ab5/packages/angular/oauth2-proxy/src/lib/oauth2-proxy.guard.ts#L14)
8
+
9
+ ## Parameters
10
+
11
+ ### route
12
+
13
+ `ActivatedRouteSnapshot`
14
+
15
+ ### state
16
+
17
+ `RouterStateSnapshot`
18
+
19
+ ## Returns
20
+
21
+ `MaybeAsync`\<`GuardResult`\>
@@ -0,0 +1,11 @@
1
+ [@rxap/ngx-oauth2-proxy](../wiki/globals) / provideOauth2Proxy
2
+
3
+ # Function: provideOauth2Proxy()
4
+
5
+ > **provideOauth2Proxy**(): `EnvironmentProviders`
6
+
7
+ Defined in: [packages/angular/oauth2-proxy/src/lib/provide-oauth2-proxy.ts:21](https://gitlab.com/rxap/packages/-/blob/505a9f353394d70acb3be23c156f43cb944d2ab5/packages/angular/oauth2-proxy/src/lib/provide-oauth2-proxy.ts#L21)
8
+
9
+ ## Returns
10
+
11
+ `EnvironmentProviders`
@@ -0,0 +1,21 @@
1
+ [@rxap/ngx-oauth2-proxy](../wiki/globals) / subscribeToLogoutEvent
2
+
3
+ # Function: subscribeToLogoutEvent()
4
+
5
+ > **subscribeToLogoutEvent**(`pubSubService`): () => `void`
6
+
7
+ Defined in: [packages/angular/oauth2-proxy/src/lib/provide-oauth2-proxy.ts:11](https://gitlab.com/rxap/packages/-/blob/505a9f353394d70acb3be23c156f43cb944d2ab5/packages/angular/oauth2-proxy/src/lib/provide-oauth2-proxy.ts#L11)
8
+
9
+ ## Parameters
10
+
11
+ ### pubSubService
12
+
13
+ `PubSubService`
14
+
15
+ ## Returns
16
+
17
+ `Function`
18
+
19
+ ### Returns
20
+
21
+ `void`
@@ -0,0 +1,35 @@
1
+ Provides an Angular guard and utilities for integrating with an OAuth2 Proxy. It includes a guard to protect routes, a method to fetch user profile information, and a data source for managing the user profile. Also provides an app initializer to subscribe to logout events.
2
+
3
+ [![npm version](https://img.shields.io/npm/v/@rxap/ngx-oauth2-proxy?style=flat-square)](https://www.npmjs.com/package/@rxap/ngx-oauth2-proxy)
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/ngx-oauth2-proxy)
7
+ ![npm](https://img.shields.io/npm/dm/@rxap/ngx-oauth2-proxy)
8
+ ![NPM](https://img.shields.io/npm/l/@rxap/ngx-oauth2-proxy)
9
+
10
+ - [Installation](../wiki/#installation)
11
+ - [Generators](../wiki/#generators)
12
+ - [init](../wiki/#init)
13
+
14
+ # Installation
15
+
16
+ **Add the package to your workspace:**
17
+ ```bash
18
+ yarn add @rxap/ngx-oauth2-proxy
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/config@^19.0.2-dev.1 @rxap/data-source@^19.0.2-dev.1 @rxap/ngx-pub-sub@^19.0.2-dev.0 @rxap/pattern@^1.1.12-dev.0 rxjs@^7.8.1
23
+ ```
24
+ **Execute the init generator:**
25
+ ```bash
26
+ yarn nx g @rxap/ngx-oauth2-proxy:init
27
+ ```
28
+ # Generators
29
+
30
+ ## init
31
+ > Initialize the package in the workspace
32
+
33
+ ```bash
34
+ nx g @rxap/ngx-oauth2-proxy:init
35
+ ```
@@ -0,0 +1,25 @@
1
+ [@rxap/ngx-oauth2-proxy](../wiki/globals) / Oauth2ProxyUserProfile
2
+
3
+ # Interface: Oauth2ProxyUserProfile
4
+
5
+ Defined in: [packages/angular/oauth2-proxy/src/lib/get-oauth2-proxy-user-profile.method.ts:10](https://gitlab.com/rxap/packages/-/blob/505a9f353394d70acb3be23c156f43cb944d2ab5/packages/angular/oauth2-proxy/src/lib/get-oauth2-proxy-user-profile.method.ts#L10)
6
+
7
+ ## Properties
8
+
9
+ ### email
10
+
11
+ > **email**: `string`
12
+
13
+ Defined in: [packages/angular/oauth2-proxy/src/lib/get-oauth2-proxy-user-profile.method.ts:18](https://gitlab.com/rxap/packages/-/blob/505a9f353394d70acb3be23c156f43cb944d2ab5/packages/angular/oauth2-proxy/src/lib/get-oauth2-proxy-user-profile.method.ts#L18)
14
+
15
+ Email address of the user
16
+
17
+ ***
18
+
19
+ ### user
20
+
21
+ > **user**: `string`
22
+
23
+ Defined in: [packages/angular/oauth2-proxy/src/lib/get-oauth2-proxy-user-profile.method.ts:14](https://gitlab.com/rxap/packages/-/blob/505a9f353394d70acb3be23c156f43cb944d2ab5/packages/angular/oauth2-proxy/src/lib/get-oauth2-proxy-user-profile.method.ts#L14)
24
+
25
+ User Id of the user
@@ -0,0 +1,16 @@
1
+ ## API
2
+
3
+ ### Classes
4
+
5
+ - [GetOauth2ProxyUserProfileMethod](../wiki/Class.GetOauth2ProxyUserProfileMethod)
6
+ - [Oauth2ProxyUserProfileDataSource](../wiki/Class.Oauth2ProxyUserProfileDataSource)
7
+
8
+ ### Interfaces
9
+
10
+ - [Oauth2ProxyUserProfile](../wiki/Interface.Oauth2ProxyUserProfile)
11
+
12
+ ### Functions
13
+
14
+ - [oauth2ProxyGuard](../wiki/Function.oauth2ProxyGuard)
15
+ - [provideOauth2Proxy](../wiki/Function.provideOauth2Proxy)
16
+ - [subscribeToLogoutEvent](../wiki/Function.subscribeToLogoutEvent)
@@ -0,0 +1,16 @@
1
+ # @rxap/ngx-oauth2-proxy v19.0.2-dev.3
2
+
3
+ ## Classes
4
+
5
+ - [GetOauth2ProxyUserProfileMethod](../wiki/Class.GetOauth2ProxyUserProfileMethod)
6
+ - [Oauth2ProxyUserProfileDataSource](../wiki/Class.Oauth2ProxyUserProfileDataSource)
7
+
8
+ ## Interfaces
9
+
10
+ - [Oauth2ProxyUserProfile](../wiki/Interface.Oauth2ProxyUserProfile)
11
+
12
+ ## Functions
13
+
14
+ - [oauth2ProxyGuard](../wiki/Function.oauth2ProxyGuard)
15
+ - [provideOauth2Proxy](../wiki/Function.provideOauth2Proxy)
16
+ - [subscribeToLogoutEvent](../wiki/Function.subscribeToLogoutEvent)
package/package.json CHANGED
@@ -1,18 +1,18 @@
1
1
  {
2
- "version": "19.0.2-dev.1",
2
+ "version": "19.0.2-dev.3",
3
3
  "name": "@rxap/ngx-oauth2-proxy",
4
4
  "description": "Provides an Angular guard and utilities for integrating with an OAuth2 Proxy. It includes a guard to protect routes, a method to fetch user profile information, and a data source for managing the user profile. Also provides an app initializer to subscribe to logout events.\n",
5
5
  "license": "GPL-3.0-or-later",
6
6
  "dependencies": {
7
- "@nx/devkit": "20.4.2",
7
+ "@nx/devkit": "20.4.6",
8
8
  "tslib": "2.6.2"
9
9
  },
10
10
  "peerDependencies": {
11
11
  "@angular/common": "^19.1.3",
12
12
  "@angular/core": "^19.1.3",
13
13
  "@angular/router": "^19.1.3",
14
- "@rxap/config": "^19.0.2-dev.0",
15
- "@rxap/data-source": "^19.0.2-dev.0",
14
+ "@rxap/config": "^19.0.2-dev.1",
15
+ "@rxap/data-source": "^19.0.2-dev.1",
16
16
  "@rxap/ngx-pub-sub": "^19.0.2-dev.0",
17
17
  "@rxap/pattern": "^1.1.12-dev.0",
18
18
  "rxjs": "^7.8.1"
@@ -71,11 +71,11 @@
71
71
  },
72
72
  {
73
73
  "package": "@rxap/config",
74
- "version": "19.0.2-dev.0"
74
+ "version": "19.0.2-dev.1"
75
75
  },
76
76
  {
77
77
  "package": "@rxap/data-source",
78
- "version": "19.0.2-dev.0"
78
+ "version": "19.0.2-dev.1"
79
79
  },
80
80
  {
81
81
  "package": "@rxap/data-structure-tree",
@@ -122,7 +122,7 @@
122
122
  },
123
123
  "schematics": "./generators.json",
124
124
  "sideEffects": false,
125
- "gitHead": "56dd8f41988cee44681204be2f9ad1cb7725cb7f",
125
+ "gitHead": "505a9f353394d70acb3be23c156f43cb944d2ab5",
126
126
  "module": "fesm2022/rxap-ngx-oauth2-proxy.mjs",
127
127
  "typings": "index.d.ts",
128
128
  "exports": {