@rxap/oauth 19.0.1-dev.4 → 19.0.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.
- package/CHANGELOG.md +14 -0
- package/README.md +24 -25
- package/compodoc/changelog.html +9 -0
- package/compodoc/dependencies.html +2 -2
- package/compodoc/index.html +26 -17
- package/compodoc/js/search/search_index.js +2 -2
- package/compodoc/miscellaneous/variables.html +26 -0
- package/compodoc/properties.html +4 -1
- package/docs/documentation.json +57 -291
- package/docs/html/assets/hierarchy.js +1 -0
- package/docs/{assets → html/assets}/highlight.css +13 -6
- package/docs/html/assets/icons.js +18 -0
- package/docs/html/assets/icons.svg +1 -0
- package/docs/{assets → html/assets}/main.js +5 -4
- package/docs/html/assets/navigation.js +1 -0
- package/docs/html/assets/search.js +1 -0
- package/docs/html/assets/style.css +1611 -0
- package/docs/html/classes/AuthenticationService.html +8 -0
- package/docs/html/functions/AuthenticationGuard.html +1 -0
- package/docs/html/functions/ProvideAuth.html +1 -0
- package/docs/html/functions/withAuthConfig.html +1 -0
- package/docs/html/index.html +33 -0
- package/docs/html/modules.html +1 -0
- package/docs/markdown/README.md +37 -0
- package/docs/markdown/classes/AuthenticationService.md +123 -0
- package/docs/markdown/functions/AuthenticationGuard.md +25 -0
- package/docs/markdown/functions/ProvideAuth.md +21 -0
- package/docs/markdown/functions/withAuthConfig.md +21 -0
- package/docs/markdown/globals.md +15 -0
- package/docs/wiki/Class.AuthenticationService.md +119 -0
- package/docs/wiki/Function.AuthenticationGuard.md +21 -0
- package/docs/wiki/Function.ProvideAuth.md +17 -0
- package/docs/wiki/Function.withAuthConfig.md +17 -0
- package/docs/wiki/Home.md +33 -0
- package/docs/wiki/_Sidebar.md +11 -0
- package/docs/wiki/globals.md +11 -0
- package/package.json +9 -7
- package/docs/assets/icons.js +0 -15
- package/docs/assets/icons.svg +0 -1
- package/docs/assets/navigation.js +0 -1
- package/docs/assets/search.js +0 -1
- package/docs/assets/style.css +0 -1412
- package/docs/classes/AuthenticationService.html +0 -15
- package/docs/functions/AuthenticationGuard.html +0 -1
- package/docs/functions/ProvideAuth.html +0 -1
- package/docs/functions/withAuthConfig.html +0 -1
- package/docs/index.html +0 -25
- package/docs/modules.html +0 -5
- /package/docs/{.nojekyll → html/.nojekyll} +0 -0
|
@@ -114,6 +114,9 @@
|
|
|
114
114
|
<li>
|
|
115
115
|
<a href="#JONE_DOE_JWT" title="src/lib/authentication.service.ts" ><b>JONE_DOE_JWT</b> (src/.../authentication.service.ts)</a>
|
|
116
116
|
</li>
|
|
117
|
+
<li>
|
|
118
|
+
<a href="#schematic" title="src/generators/init/index.ts" ><b>schematic</b> (src/.../index.ts)</a>
|
|
119
|
+
</li>
|
|
117
120
|
</ul>
|
|
118
121
|
</td>
|
|
119
122
|
</tr>
|
|
@@ -147,6 +150,29 @@
|
|
|
147
150
|
</tr>
|
|
148
151
|
|
|
149
152
|
|
|
153
|
+
</tbody>
|
|
154
|
+
</table>
|
|
155
|
+
</section>
|
|
156
|
+
<h3>src/generators/init/index.ts</h3>
|
|
157
|
+
<section data-compodoc="block-properties">
|
|
158
|
+
<h3></h3> <table class="table table-sm table-bordered">
|
|
159
|
+
<tbody>
|
|
160
|
+
<tr>
|
|
161
|
+
<td class="col-md-4">
|
|
162
|
+
<a name="schematic"></a>
|
|
163
|
+
<span class="name">
|
|
164
|
+
<span ><b>schematic</b></span>
|
|
165
|
+
<a href="#schematic"><span class="icon ion-ios-link"></span></a>
|
|
166
|
+
</span>
|
|
167
|
+
</td>
|
|
168
|
+
</tr>
|
|
169
|
+
<tr>
|
|
170
|
+
<td class="col-md-4">
|
|
171
|
+
<i>Default value : </i><code>convertNxGenerator(generator)</code>
|
|
172
|
+
</td>
|
|
173
|
+
</tr>
|
|
174
|
+
|
|
175
|
+
|
|
150
176
|
</tbody>
|
|
151
177
|
</table>
|
|
152
178
|
</section>
|
package/compodoc/properties.html
CHANGED
|
@@ -102,7 +102,10 @@
|
|
|
102
102
|
</ol>
|
|
103
103
|
<ul class="properties-list">
|
|
104
104
|
<li>
|
|
105
|
-
<b>Version</b> : 19.0.1
|
|
105
|
+
<b>Version</b> : 19.0.1</li>
|
|
106
|
+
<li>
|
|
107
|
+
<b>Description</b> : This package provides an authentication guard and service for Angular applications using OAuth 2.0 and OpenID Connect. It simplifies the integration of authentication flows, including sign-in, sign-out, and token management, with support for disabled authentication scenarios. The package also includes a provider function to streamline configuration.
|
|
108
|
+
</li>
|
|
106
109
|
<li>
|
|
107
110
|
<b>Keywords</b> : angular, angular-oauth, ngx, oauth, packages, rxap, scope:integration</li>
|
|
108
111
|
<li>
|
package/docs/documentation.json
CHANGED
|
@@ -20,25 +20,25 @@
|
|
|
20
20
|
"flags": {},
|
|
21
21
|
"sources": [
|
|
22
22
|
{
|
|
23
|
-
"fileName": "
|
|
23
|
+
"fileName": "authentication.service.ts",
|
|
24
24
|
"line": 45,
|
|
25
25
|
"character": 2,
|
|
26
|
-
"url": "https://gitlab.com/rxap/packages/-/blob/
|
|
26
|
+
"url": "https://gitlab.com/rxap/packages/-/blob/753c877fe1a5c2fcfa737310f6e99fd1371f9b4d/packages/angular/oauth/src/lib/authentication.service.ts#L45"
|
|
27
27
|
}
|
|
28
28
|
],
|
|
29
29
|
"signatures": [
|
|
30
30
|
{
|
|
31
31
|
"id": 7,
|
|
32
|
-
"name": "
|
|
32
|
+
"name": "AuthenticationService",
|
|
33
33
|
"variant": "signature",
|
|
34
34
|
"kind": 16384,
|
|
35
35
|
"flags": {},
|
|
36
36
|
"sources": [
|
|
37
37
|
{
|
|
38
|
-
"fileName": "
|
|
38
|
+
"fileName": "authentication.service.ts",
|
|
39
39
|
"line": 45,
|
|
40
40
|
"character": 2,
|
|
41
|
-
"url": "https://gitlab.com/rxap/packages/-/blob/
|
|
41
|
+
"url": "https://gitlab.com/rxap/packages/-/blob/753c877fe1a5c2fcfa737310f6e99fd1371f9b4d/packages/angular/oauth/src/lib/authentication.service.ts#L45"
|
|
42
42
|
}
|
|
43
43
|
],
|
|
44
44
|
"parameters": [
|
|
@@ -131,127 +131,6 @@
|
|
|
131
131
|
}
|
|
132
132
|
]
|
|
133
133
|
},
|
|
134
|
-
{
|
|
135
|
-
"id": 14,
|
|
136
|
-
"name": "_events$",
|
|
137
|
-
"variant": "declaration",
|
|
138
|
-
"kind": 1024,
|
|
139
|
-
"flags": {
|
|
140
|
-
"isPrivate": true,
|
|
141
|
-
"isReadonly": true
|
|
142
|
-
},
|
|
143
|
-
"comment": {
|
|
144
|
-
"summary": [
|
|
145
|
-
{
|
|
146
|
-
"kind": "text",
|
|
147
|
-
"text": "Is only used when authentication is disabled to emit the events"
|
|
148
|
-
}
|
|
149
|
-
]
|
|
150
|
-
},
|
|
151
|
-
"sources": [
|
|
152
|
-
{
|
|
153
|
-
"fileName": "lib/authentication.service.ts",
|
|
154
|
-
"line": 43,
|
|
155
|
-
"character": 19,
|
|
156
|
-
"url": "https://gitlab.com/rxap/packages/-/blob/3c5aef907af80a815e7c9a404878c2eda2596cf4/packages/angular/oauth/src/lib/authentication.service.ts#L43"
|
|
157
|
-
}
|
|
158
|
-
],
|
|
159
|
-
"type": {
|
|
160
|
-
"type": "reference",
|
|
161
|
-
"target": {
|
|
162
|
-
"sourceFileName": "node_modules/rxjs/src/internal/Subject.ts",
|
|
163
|
-
"qualifiedName": "Subject"
|
|
164
|
-
},
|
|
165
|
-
"typeArguments": [
|
|
166
|
-
{
|
|
167
|
-
"type": "reference",
|
|
168
|
-
"target": {
|
|
169
|
-
"sourceFileName": "packages/angular/authentication/src/lib/authentication.service.ts",
|
|
170
|
-
"qualifiedName": "AuthenticationEvent"
|
|
171
|
-
},
|
|
172
|
-
"name": "AuthenticationEvent",
|
|
173
|
-
"package": "@rxap/authentication"
|
|
174
|
-
}
|
|
175
|
-
],
|
|
176
|
-
"name": "Subject",
|
|
177
|
-
"package": "rxjs"
|
|
178
|
-
},
|
|
179
|
-
"defaultValue": "..."
|
|
180
|
-
},
|
|
181
|
-
{
|
|
182
|
-
"id": 16,
|
|
183
|
-
"name": "authConfig",
|
|
184
|
-
"variant": "declaration",
|
|
185
|
-
"kind": 1024,
|
|
186
|
-
"flags": {
|
|
187
|
-
"isPrivate": true,
|
|
188
|
-
"isReadonly": true
|
|
189
|
-
},
|
|
190
|
-
"sources": [
|
|
191
|
-
{
|
|
192
|
-
"fileName": "lib/authentication.service.ts",
|
|
193
|
-
"line": 49,
|
|
194
|
-
"character": 21,
|
|
195
|
-
"url": "https://gitlab.com/rxap/packages/-/blob/3c5aef907af80a815e7c9a404878c2eda2596cf4/packages/angular/oauth/src/lib/authentication.service.ts#L49"
|
|
196
|
-
}
|
|
197
|
-
],
|
|
198
|
-
"type": {
|
|
199
|
-
"type": "reference",
|
|
200
|
-
"target": {
|
|
201
|
-
"sourceFileName": "node_modules/angular-oauth2-oidc/auth.config.d.ts",
|
|
202
|
-
"qualifiedName": "AuthConfig"
|
|
203
|
-
},
|
|
204
|
-
"name": "AuthConfig",
|
|
205
|
-
"package": "angular-oauth2-oidc"
|
|
206
|
-
}
|
|
207
|
-
},
|
|
208
|
-
{
|
|
209
|
-
"id": 17,
|
|
210
|
-
"name": "authenticationAccessToken",
|
|
211
|
-
"variant": "declaration",
|
|
212
|
-
"kind": 1024,
|
|
213
|
-
"flags": {
|
|
214
|
-
"isPrivate": true,
|
|
215
|
-
"isReadonly": true
|
|
216
|
-
},
|
|
217
|
-
"sources": [
|
|
218
|
-
{
|
|
219
|
-
"fileName": "lib/authentication.service.ts",
|
|
220
|
-
"line": 51,
|
|
221
|
-
"character": 21,
|
|
222
|
-
"url": "https://gitlab.com/rxap/packages/-/blob/3c5aef907af80a815e7c9a404878c2eda2596cf4/packages/angular/oauth/src/lib/authentication.service.ts#L51"
|
|
223
|
-
}
|
|
224
|
-
],
|
|
225
|
-
"type": {
|
|
226
|
-
"type": "reference",
|
|
227
|
-
"target": {
|
|
228
|
-
"sourceFileName": "node_modules/rxjs/src/internal/BehaviorSubject.ts",
|
|
229
|
-
"qualifiedName": "BehaviorSubject"
|
|
230
|
-
},
|
|
231
|
-
"typeArguments": [
|
|
232
|
-
{
|
|
233
|
-
"type": "union",
|
|
234
|
-
"types": [
|
|
235
|
-
{
|
|
236
|
-
"type": "literal",
|
|
237
|
-
"value": null
|
|
238
|
-
},
|
|
239
|
-
{
|
|
240
|
-
"type": "reference",
|
|
241
|
-
"target": {
|
|
242
|
-
"sourceFileName": "packages/angular/authentication/src/lib/tokens.ts",
|
|
243
|
-
"qualifiedName": "AuthenticationAccessToken"
|
|
244
|
-
},
|
|
245
|
-
"name": "AuthenticationAccessToken",
|
|
246
|
-
"package": "@rxap/authentication"
|
|
247
|
-
}
|
|
248
|
-
]
|
|
249
|
-
}
|
|
250
|
-
],
|
|
251
|
-
"name": "BehaviorSubject",
|
|
252
|
-
"package": "rxjs"
|
|
253
|
-
}
|
|
254
|
-
},
|
|
255
134
|
{
|
|
256
135
|
"id": 12,
|
|
257
136
|
"name": "events$",
|
|
@@ -260,10 +139,10 @@
|
|
|
260
139
|
"flags": {},
|
|
261
140
|
"sources": [
|
|
262
141
|
{
|
|
263
|
-
"fileName": "
|
|
142
|
+
"fileName": "authentication.service.ts",
|
|
264
143
|
"line": 36,
|
|
265
144
|
"character": 2,
|
|
266
|
-
"url": "https://gitlab.com/rxap/packages/-/blob/
|
|
145
|
+
"url": "https://gitlab.com/rxap/packages/-/blob/753c877fe1a5c2fcfa737310f6e99fd1371f9b4d/packages/angular/oauth/src/lib/authentication.service.ts#L36"
|
|
267
146
|
}
|
|
268
147
|
],
|
|
269
148
|
"type": {
|
|
@@ -293,28 +172,6 @@
|
|
|
293
172
|
"name": "IAuthenticationService.events$"
|
|
294
173
|
}
|
|
295
174
|
},
|
|
296
|
-
{
|
|
297
|
-
"id": 18,
|
|
298
|
-
"name": "isAuthDisabled",
|
|
299
|
-
"variant": "declaration",
|
|
300
|
-
"kind": 1024,
|
|
301
|
-
"flags": {
|
|
302
|
-
"isPrivate": true,
|
|
303
|
-
"isReadonly": true
|
|
304
|
-
},
|
|
305
|
-
"sources": [
|
|
306
|
-
{
|
|
307
|
-
"fileName": "lib/authentication.service.ts",
|
|
308
|
-
"line": 53,
|
|
309
|
-
"character": 21,
|
|
310
|
-
"url": "https://gitlab.com/rxap/packages/-/blob/3c5aef907af80a815e7c9a404878c2eda2596cf4/packages/angular/oauth/src/lib/authentication.service.ts#L53"
|
|
311
|
-
}
|
|
312
|
-
],
|
|
313
|
-
"type": {
|
|
314
|
-
"type": "intrinsic",
|
|
315
|
-
"name": "boolean"
|
|
316
|
-
}
|
|
317
|
-
},
|
|
318
175
|
{
|
|
319
176
|
"id": 13,
|
|
320
177
|
"name": "isAuthenticated$",
|
|
@@ -326,10 +183,10 @@
|
|
|
326
183
|
},
|
|
327
184
|
"sources": [
|
|
328
185
|
{
|
|
329
|
-
"fileName": "
|
|
186
|
+
"fileName": "authentication.service.ts",
|
|
330
187
|
"line": 37,
|
|
331
188
|
"character": 18,
|
|
332
|
-
"url": "https://gitlab.com/rxap/packages/-/blob/
|
|
189
|
+
"url": "https://gitlab.com/rxap/packages/-/blob/753c877fe1a5c2fcfa737310f6e99fd1371f9b4d/packages/angular/oauth/src/lib/authentication.service.ts#L37"
|
|
333
190
|
}
|
|
334
191
|
],
|
|
335
192
|
"type": {
|
|
@@ -363,33 +220,6 @@
|
|
|
363
220
|
"name": "IAuthenticationService.isAuthenticated$"
|
|
364
221
|
}
|
|
365
222
|
},
|
|
366
|
-
{
|
|
367
|
-
"id": 15,
|
|
368
|
-
"name": "oauthService",
|
|
369
|
-
"variant": "declaration",
|
|
370
|
-
"kind": 1024,
|
|
371
|
-
"flags": {
|
|
372
|
-
"isPrivate": true,
|
|
373
|
-
"isReadonly": true
|
|
374
|
-
},
|
|
375
|
-
"sources": [
|
|
376
|
-
{
|
|
377
|
-
"fileName": "lib/authentication.service.ts",
|
|
378
|
-
"line": 46,
|
|
379
|
-
"character": 21,
|
|
380
|
-
"url": "https://gitlab.com/rxap/packages/-/blob/3c5aef907af80a815e7c9a404878c2eda2596cf4/packages/angular/oauth/src/lib/authentication.service.ts#L46"
|
|
381
|
-
}
|
|
382
|
-
],
|
|
383
|
-
"type": {
|
|
384
|
-
"type": "reference",
|
|
385
|
-
"target": {
|
|
386
|
-
"sourceFileName": "node_modules/angular-oauth2-oidc/oauth-service.d.ts",
|
|
387
|
-
"qualifiedName": "OAuthService"
|
|
388
|
-
},
|
|
389
|
-
"name": "OAuthService",
|
|
390
|
-
"package": "angular-oauth2-oidc"
|
|
391
|
-
}
|
|
392
|
-
},
|
|
393
223
|
{
|
|
394
224
|
"id": 19,
|
|
395
225
|
"name": "init",
|
|
@@ -398,10 +228,10 @@
|
|
|
398
228
|
"flags": {},
|
|
399
229
|
"sources": [
|
|
400
230
|
{
|
|
401
|
-
"fileName": "
|
|
231
|
+
"fileName": "authentication.service.ts",
|
|
402
232
|
"line": 71,
|
|
403
233
|
"character": 2,
|
|
404
|
-
"url": "https://gitlab.com/rxap/packages/-/blob/
|
|
234
|
+
"url": "https://gitlab.com/rxap/packages/-/blob/753c877fe1a5c2fcfa737310f6e99fd1371f9b4d/packages/angular/oauth/src/lib/authentication.service.ts#L71"
|
|
405
235
|
}
|
|
406
236
|
],
|
|
407
237
|
"signatures": [
|
|
@@ -413,10 +243,10 @@
|
|
|
413
243
|
"flags": {},
|
|
414
244
|
"sources": [
|
|
415
245
|
{
|
|
416
|
-
"fileName": "
|
|
246
|
+
"fileName": "authentication.service.ts",
|
|
417
247
|
"line": 71,
|
|
418
248
|
"character": 2,
|
|
419
|
-
"url": "https://gitlab.com/rxap/packages/-/blob/
|
|
249
|
+
"url": "https://gitlab.com/rxap/packages/-/blob/753c877fe1a5c2fcfa737310f6e99fd1371f9b4d/packages/angular/oauth/src/lib/authentication.service.ts#L71"
|
|
420
250
|
}
|
|
421
251
|
],
|
|
422
252
|
"type": {
|
|
@@ -434,10 +264,10 @@
|
|
|
434
264
|
"flags": {},
|
|
435
265
|
"sources": [
|
|
436
266
|
{
|
|
437
|
-
"fileName": "
|
|
267
|
+
"fileName": "authentication.service.ts",
|
|
438
268
|
"line": 153,
|
|
439
269
|
"character": 2,
|
|
440
|
-
"url": "https://gitlab.com/rxap/packages/-/blob/
|
|
270
|
+
"url": "https://gitlab.com/rxap/packages/-/blob/753c877fe1a5c2fcfa737310f6e99fd1371f9b4d/packages/angular/oauth/src/lib/authentication.service.ts#L153"
|
|
441
271
|
}
|
|
442
272
|
],
|
|
443
273
|
"signatures": [
|
|
@@ -449,10 +279,10 @@
|
|
|
449
279
|
"flags": {},
|
|
450
280
|
"sources": [
|
|
451
281
|
{
|
|
452
|
-
"fileName": "
|
|
282
|
+
"fileName": "authentication.service.ts",
|
|
453
283
|
"line": 153,
|
|
454
284
|
"character": 2,
|
|
455
|
-
"url": "https://gitlab.com/rxap/packages/-/blob/
|
|
285
|
+
"url": "https://gitlab.com/rxap/packages/-/blob/753c877fe1a5c2fcfa737310f6e99fd1371f9b4d/packages/angular/oauth/src/lib/authentication.service.ts#L153"
|
|
456
286
|
}
|
|
457
287
|
],
|
|
458
288
|
"type": {
|
|
@@ -483,44 +313,6 @@
|
|
|
483
313
|
"name": "IAuthenticationService.isAuthenticated"
|
|
484
314
|
}
|
|
485
315
|
},
|
|
486
|
-
{
|
|
487
|
-
"id": 25,
|
|
488
|
-
"name": "linkEventsAndIsAuthenticated",
|
|
489
|
-
"variant": "declaration",
|
|
490
|
-
"kind": 2048,
|
|
491
|
-
"flags": {
|
|
492
|
-
"isPrivate": true
|
|
493
|
-
},
|
|
494
|
-
"sources": [
|
|
495
|
-
{
|
|
496
|
-
"fileName": "lib/authentication.service.ts",
|
|
497
|
-
"line": 145,
|
|
498
|
-
"character": 10,
|
|
499
|
-
"url": "https://gitlab.com/rxap/packages/-/blob/3c5aef907af80a815e7c9a404878c2eda2596cf4/packages/angular/oauth/src/lib/authentication.service.ts#L145"
|
|
500
|
-
}
|
|
501
|
-
],
|
|
502
|
-
"signatures": [
|
|
503
|
-
{
|
|
504
|
-
"id": 26,
|
|
505
|
-
"name": "linkEventsAndIsAuthenticated",
|
|
506
|
-
"variant": "signature",
|
|
507
|
-
"kind": 4096,
|
|
508
|
-
"flags": {},
|
|
509
|
-
"sources": [
|
|
510
|
-
{
|
|
511
|
-
"fileName": "lib/authentication.service.ts",
|
|
512
|
-
"line": 145,
|
|
513
|
-
"character": 10,
|
|
514
|
-
"url": "https://gitlab.com/rxap/packages/-/blob/3c5aef907af80a815e7c9a404878c2eda2596cf4/packages/angular/oauth/src/lib/authentication.service.ts#L145"
|
|
515
|
-
}
|
|
516
|
-
],
|
|
517
|
-
"type": {
|
|
518
|
-
"type": "intrinsic",
|
|
519
|
-
"name": "void"
|
|
520
|
-
}
|
|
521
|
-
}
|
|
522
|
-
]
|
|
523
|
-
},
|
|
524
316
|
{
|
|
525
317
|
"id": 23,
|
|
526
318
|
"name": "signIn",
|
|
@@ -529,10 +321,10 @@
|
|
|
529
321
|
"flags": {},
|
|
530
322
|
"sources": [
|
|
531
323
|
{
|
|
532
|
-
"fileName": "
|
|
324
|
+
"fileName": "authentication.service.ts",
|
|
533
325
|
"line": 134,
|
|
534
326
|
"character": 2,
|
|
535
|
-
"url": "https://gitlab.com/rxap/packages/-/blob/
|
|
327
|
+
"url": "https://gitlab.com/rxap/packages/-/blob/753c877fe1a5c2fcfa737310f6e99fd1371f9b4d/packages/angular/oauth/src/lib/authentication.service.ts#L134"
|
|
536
328
|
}
|
|
537
329
|
],
|
|
538
330
|
"signatures": [
|
|
@@ -544,10 +336,10 @@
|
|
|
544
336
|
"flags": {},
|
|
545
337
|
"sources": [
|
|
546
338
|
{
|
|
547
|
-
"fileName": "
|
|
339
|
+
"fileName": "authentication.service.ts",
|
|
548
340
|
"line": 134,
|
|
549
341
|
"character": 2,
|
|
550
|
-
"url": "https://gitlab.com/rxap/packages/-/blob/
|
|
342
|
+
"url": "https://gitlab.com/rxap/packages/-/blob/753c877fe1a5c2fcfa737310f6e99fd1371f9b4d/packages/angular/oauth/src/lib/authentication.service.ts#L134"
|
|
551
343
|
}
|
|
552
344
|
],
|
|
553
345
|
"type": {
|
|
@@ -565,10 +357,10 @@
|
|
|
565
357
|
"flags": {},
|
|
566
358
|
"sources": [
|
|
567
359
|
{
|
|
568
|
-
"fileName": "
|
|
360
|
+
"fileName": "authentication.service.ts",
|
|
569
361
|
"line": 123,
|
|
570
362
|
"character": 8,
|
|
571
|
-
"url": "https://gitlab.com/rxap/packages/-/blob/
|
|
363
|
+
"url": "https://gitlab.com/rxap/packages/-/blob/753c877fe1a5c2fcfa737310f6e99fd1371f9b4d/packages/angular/oauth/src/lib/authentication.service.ts#L123"
|
|
572
364
|
}
|
|
573
365
|
],
|
|
574
366
|
"signatures": [
|
|
@@ -580,10 +372,10 @@
|
|
|
580
372
|
"flags": {},
|
|
581
373
|
"sources": [
|
|
582
374
|
{
|
|
583
|
-
"fileName": "
|
|
375
|
+
"fileName": "authentication.service.ts",
|
|
584
376
|
"line": 123,
|
|
585
377
|
"character": 8,
|
|
586
|
-
"url": "https://gitlab.com/rxap/packages/-/blob/
|
|
378
|
+
"url": "https://gitlab.com/rxap/packages/-/blob/753c877fe1a5c2fcfa737310f6e99fd1371f9b4d/packages/angular/oauth/src/lib/authentication.service.ts#L123"
|
|
587
379
|
}
|
|
588
380
|
],
|
|
589
381
|
"type": {
|
|
@@ -625,13 +417,8 @@
|
|
|
625
417
|
{
|
|
626
418
|
"title": "Properties",
|
|
627
419
|
"children": [
|
|
628
|
-
14,
|
|
629
|
-
16,
|
|
630
|
-
17,
|
|
631
420
|
12,
|
|
632
|
-
|
|
633
|
-
13,
|
|
634
|
-
15
|
|
421
|
+
13
|
|
635
422
|
]
|
|
636
423
|
},
|
|
637
424
|
{
|
|
@@ -639,7 +426,6 @@
|
|
|
639
426
|
"children": [
|
|
640
427
|
19,
|
|
641
428
|
27,
|
|
642
|
-
25,
|
|
643
429
|
23,
|
|
644
430
|
21
|
|
645
431
|
]
|
|
@@ -647,10 +433,10 @@
|
|
|
647
433
|
],
|
|
648
434
|
"sources": [
|
|
649
435
|
{
|
|
650
|
-
"fileName": "
|
|
436
|
+
"fileName": "authentication.service.ts",
|
|
651
437
|
"line": 35,
|
|
652
438
|
"character": 13,
|
|
653
|
-
"url": "https://gitlab.com/rxap/packages/-/blob/
|
|
439
|
+
"url": "https://gitlab.com/rxap/packages/-/blob/753c877fe1a5c2fcfa737310f6e99fd1371f9b4d/packages/angular/oauth/src/lib/authentication.service.ts#L35"
|
|
654
440
|
}
|
|
655
441
|
],
|
|
656
442
|
"implementedTypes": [
|
|
@@ -673,10 +459,10 @@
|
|
|
673
459
|
"flags": {},
|
|
674
460
|
"sources": [
|
|
675
461
|
{
|
|
676
|
-
"fileName": "
|
|
462
|
+
"fileName": "authentication-guard.ts",
|
|
677
463
|
"line": 12,
|
|
678
464
|
"character": 22,
|
|
679
|
-
"url": "https://gitlab.com/rxap/packages/-/blob/
|
|
465
|
+
"url": "https://gitlab.com/rxap/packages/-/blob/753c877fe1a5c2fcfa737310f6e99fd1371f9b4d/packages/angular/oauth/src/lib/authentication-guard.ts#L12"
|
|
680
466
|
}
|
|
681
467
|
],
|
|
682
468
|
"signatures": [
|
|
@@ -688,10 +474,10 @@
|
|
|
688
474
|
"flags": {},
|
|
689
475
|
"sources": [
|
|
690
476
|
{
|
|
691
|
-
"fileName": "
|
|
477
|
+
"fileName": "authentication-guard.ts",
|
|
692
478
|
"line": 12,
|
|
693
479
|
"character": 22,
|
|
694
|
-
"url": "https://gitlab.com/rxap/packages/-/blob/
|
|
480
|
+
"url": "https://gitlab.com/rxap/packages/-/blob/753c877fe1a5c2fcfa737310f6e99fd1371f9b4d/packages/angular/oauth/src/lib/authentication-guard.ts#L12"
|
|
695
481
|
}
|
|
696
482
|
],
|
|
697
483
|
"parameters": [
|
|
@@ -754,10 +540,10 @@
|
|
|
754
540
|
"flags": {},
|
|
755
541
|
"sources": [
|
|
756
542
|
{
|
|
757
|
-
"fileName": "
|
|
543
|
+
"fileName": "provide-auth.ts",
|
|
758
544
|
"line": 9,
|
|
759
545
|
"character": 16,
|
|
760
|
-
"url": "https://gitlab.com/rxap/packages/-/blob/
|
|
546
|
+
"url": "https://gitlab.com/rxap/packages/-/blob/753c877fe1a5c2fcfa737310f6e99fd1371f9b4d/packages/angular/oauth/src/lib/provide-auth.ts#L9"
|
|
761
547
|
}
|
|
762
548
|
],
|
|
763
549
|
"signatures": [
|
|
@@ -769,10 +555,10 @@
|
|
|
769
555
|
"flags": {},
|
|
770
556
|
"sources": [
|
|
771
557
|
{
|
|
772
|
-
"fileName": "
|
|
558
|
+
"fileName": "provide-auth.ts",
|
|
773
559
|
"line": 9,
|
|
774
560
|
"character": 16,
|
|
775
|
-
"url": "https://gitlab.com/rxap/packages/-/blob/
|
|
561
|
+
"url": "https://gitlab.com/rxap/packages/-/blob/753c877fe1a5c2fcfa737310f6e99fd1371f9b4d/packages/angular/oauth/src/lib/provide-auth.ts#L9"
|
|
776
562
|
}
|
|
777
563
|
],
|
|
778
564
|
"parameters": [
|
|
@@ -838,10 +624,10 @@
|
|
|
838
624
|
"flags": {},
|
|
839
625
|
"sources": [
|
|
840
626
|
{
|
|
841
|
-
"fileName": "
|
|
627
|
+
"fileName": "provide-auth.ts",
|
|
842
628
|
"line": 20,
|
|
843
629
|
"character": 16,
|
|
844
|
-
"url": "https://gitlab.com/rxap/packages/-/blob/
|
|
630
|
+
"url": "https://gitlab.com/rxap/packages/-/blob/753c877fe1a5c2fcfa737310f6e99fd1371f9b4d/packages/angular/oauth/src/lib/provide-auth.ts#L20"
|
|
845
631
|
}
|
|
846
632
|
],
|
|
847
633
|
"signatures": [
|
|
@@ -853,10 +639,10 @@
|
|
|
853
639
|
"flags": {},
|
|
854
640
|
"sources": [
|
|
855
641
|
{
|
|
856
|
-
"fileName": "
|
|
642
|
+
"fileName": "provide-auth.ts",
|
|
857
643
|
"line": 20,
|
|
858
644
|
"character": 16,
|
|
859
|
-
"url": "https://gitlab.com/rxap/packages/-/blob/
|
|
645
|
+
"url": "https://gitlab.com/rxap/packages/-/blob/753c877fe1a5c2fcfa737310f6e99fd1371f9b4d/packages/angular/oauth/src/lib/provide-auth.ts#L20"
|
|
860
646
|
}
|
|
861
647
|
],
|
|
862
648
|
"parameters": [
|
|
@@ -910,35 +696,35 @@
|
|
|
910
696
|
"readme": [
|
|
911
697
|
{
|
|
912
698
|
"kind": "text",
|
|
913
|
-
"text": "
|
|
699
|
+
"text": "This package provides an authentication guard and service for Angular applications using OAuth 2.0 and OpenID Connect. It simplifies the integration of authentication flows, including sign-in, sign-out, and token management, with support for disabled authentication scenarios. The package also includes a provider function to streamline configuration.\n\n[](https://www.npmjs.com/package/@rxap/oauth)\n[](https://commitizen.github.io/cz-cli/)\n[](https://github.com/prettier/prettier)\n\n\n -\n[Installation](#installation)\n- [Generators](#generators)\n - [init](#init)\n\n# Installation **Add the package to your workspace:** "
|
|
914
700
|
},
|
|
915
701
|
{
|
|
916
702
|
"kind": "code",
|
|
917
|
-
"text": "```bash
|
|
703
|
+
"text": "```bash yarn add\n@rxap/oauth\n```"
|
|
918
704
|
},
|
|
919
705
|
{
|
|
920
706
|
"kind": "text",
|
|
921
|
-
"text": "\n**Install peer dependencies
|
|
707
|
+
"text": "\n**Install peer dependencies:** "
|
|
922
708
|
},
|
|
923
709
|
{
|
|
924
710
|
"kind": "code",
|
|
925
|
-
"text": "```bash
|
|
711
|
+
"text": "```bash yarn add\n @angular/core@^19.1.3 @angular/router@^19.1.3 @rxap/authentication@^19.0.1-dev.5 @rxap/rxjs@^1.1.12-dev.5 angular-oauth2-oidc@^15.0.1 angular-oauth2-oidc-jwks@^15.0.1 rxjs@^7.8.1 \n ```"
|
|
926
712
|
},
|
|
927
713
|
{
|
|
928
714
|
"kind": "text",
|
|
929
|
-
"text": "\n**Execute the init generator
|
|
715
|
+
"text": "\n**Execute the init generator:** "
|
|
930
716
|
},
|
|
931
717
|
{
|
|
932
718
|
"kind": "code",
|
|
933
|
-
"text": "```bash
|
|
719
|
+
"text": "```bash yarn nx g\n @rxap/oauth:init ```"
|
|
934
720
|
},
|
|
935
721
|
{
|
|
936
722
|
"kind": "text",
|
|
937
|
-
"text": "\n# Generators\n\n
|
|
723
|
+
"text": "\n# Generators\n\n ##\n init\n >\n Initialize the package in the workspace\n\n "
|
|
938
724
|
},
|
|
939
725
|
{
|
|
940
726
|
"kind": "code",
|
|
941
|
-
"text": "```bash
|
|
727
|
+
"text": "```bash nx g\n @rxap/oauth:init\n ```"
|
|
942
728
|
}
|
|
943
729
|
],
|
|
944
730
|
"symbolIdMap": {
|
|
@@ -998,26 +784,6 @@
|
|
|
998
784
|
"sourceFileName": "packages/angular/oauth/src/lib/authentication.service.ts",
|
|
999
785
|
"qualifiedName": "AuthenticationService.isAuthenticated$"
|
|
1000
786
|
},
|
|
1001
|
-
"14": {
|
|
1002
|
-
"sourceFileName": "packages/angular/oauth/src/lib/authentication.service.ts",
|
|
1003
|
-
"qualifiedName": "AuthenticationService._events$"
|
|
1004
|
-
},
|
|
1005
|
-
"15": {
|
|
1006
|
-
"sourceFileName": "packages/angular/oauth/src/lib/authentication.service.ts",
|
|
1007
|
-
"qualifiedName": "AuthenticationService.oauthService"
|
|
1008
|
-
},
|
|
1009
|
-
"16": {
|
|
1010
|
-
"sourceFileName": "packages/angular/oauth/src/lib/authentication.service.ts",
|
|
1011
|
-
"qualifiedName": "AuthenticationService.authConfig"
|
|
1012
|
-
},
|
|
1013
|
-
"17": {
|
|
1014
|
-
"sourceFileName": "packages/angular/oauth/src/lib/authentication.service.ts",
|
|
1015
|
-
"qualifiedName": "AuthenticationService.authenticationAccessToken"
|
|
1016
|
-
},
|
|
1017
|
-
"18": {
|
|
1018
|
-
"sourceFileName": "packages/angular/oauth/src/lib/authentication.service.ts",
|
|
1019
|
-
"qualifiedName": "AuthenticationService.isAuthDisabled"
|
|
1020
|
-
},
|
|
1021
787
|
"19": {
|
|
1022
788
|
"sourceFileName": "packages/angular/oauth/src/lib/authentication.service.ts",
|
|
1023
789
|
"qualifiedName": "AuthenticationService.init"
|
|
@@ -1042,14 +808,6 @@
|
|
|
1042
808
|
"sourceFileName": "packages/angular/oauth/src/lib/authentication.service.ts",
|
|
1043
809
|
"qualifiedName": "AuthenticationService.signIn"
|
|
1044
810
|
},
|
|
1045
|
-
"25": {
|
|
1046
|
-
"sourceFileName": "packages/angular/oauth/src/lib/authentication.service.ts",
|
|
1047
|
-
"qualifiedName": "AuthenticationService.linkEventsAndIsAuthenticated"
|
|
1048
|
-
},
|
|
1049
|
-
"26": {
|
|
1050
|
-
"sourceFileName": "packages/angular/oauth/src/lib/authentication.service.ts",
|
|
1051
|
-
"qualifiedName": "AuthenticationService.linkEventsAndIsAuthenticated"
|
|
1052
|
-
},
|
|
1053
811
|
"27": {
|
|
1054
812
|
"sourceFileName": "packages/angular/oauth/src/lib/authentication.service.ts",
|
|
1055
813
|
"qualifiedName": "AuthenticationService.isAuthenticated"
|
|
@@ -1082,5 +840,13 @@
|
|
|
1082
840
|
"sourceFileName": "packages/angular/oauth/src/lib/provide-auth.ts",
|
|
1083
841
|
"qualifiedName": "config"
|
|
1084
842
|
}
|
|
843
|
+
},
|
|
844
|
+
"files": {
|
|
845
|
+
"entries": {
|
|
846
|
+
"1": "packages/angular/oauth/src/index.ts"
|
|
847
|
+
},
|
|
848
|
+
"reflections": {
|
|
849
|
+
"1": 0
|
|
850
|
+
}
|
|
1085
851
|
}
|
|
1086
|
-
}
|
|
852
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
window.hierarchyData = "eJyrVirKzy8pVrKKjtVRKkpNy0lNLsnMzwMKVNfWAgCbHgqm"
|