@rxap/authentication 22.0.0-dev.0 → 22.0.0-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.
- package/CHANGELOG.md +15 -0
- package/compodoc/architecture.html +222 -0
- package/compodoc/changelog.html +60 -5
- package/compodoc/dependencies.html +96 -21
- package/compodoc/directives/SignOutDirective.html +140 -98
- package/compodoc/index.html +46 -5
- package/compodoc/injectables/AuthenticationRoutingService.html +69 -9
- package/compodoc/injectables/DisabledAuthenticationService.html +87 -21
- package/compodoc/injectables/RegisterService.html +77 -17
- package/compodoc/injectables/RxapAuthenticationGuard.html +105 -27
- package/compodoc/injectables/RxapAuthenticationService.html +98 -21
- package/compodoc/interfaces/AuthenticationAccessToken.html +172 -98
- package/compodoc/interfaces/AuthenticationEvent.html +131 -62
- package/compodoc/interfaces/IAuthenticationService.html +171 -115
- package/compodoc/js/architecture-graph.js +288 -0
- package/compodoc/js/libs/bootstrap-native.js +4 -2
- package/compodoc/js/libs/jszip.min.js +13 -0
- package/compodoc/js/libs/svg-pan-zoom.min.js +3 -3
- package/compodoc/js/libs/tablesort.min.js +3 -3
- package/compodoc/js/libs/tablesort.number.min.js +3 -3
- package/compodoc/js/libs/vis-network.min.js +78 -0
- package/compodoc/js/menu-wc.js +25 -12
- package/compodoc/js/menu.js +10 -11
- package/compodoc/js/routes/routes_index.js +1 -0
- package/compodoc/js/routes.js +142 -34
- package/compodoc/js/search/search-lunr.js +6 -8
- package/compodoc/js/search/search.js +118 -66
- package/compodoc/js/search/search_index.js +2 -2
- package/compodoc/js/tabs.js +98 -15
- package/compodoc/js/tree.js +44 -7
- package/compodoc/license.html +48 -6
- package/compodoc/llms.txt +136 -0
- package/compodoc/miscellaneous/enumerations.html +45 -4
- package/compodoc/miscellaneous/functions.html +69 -20
- package/compodoc/miscellaneous/variables.html +72 -7
- package/compodoc/modules.html +44 -3
- package/compodoc/overview.html +54 -3
- package/compodoc/properties.html +45 -4
- package/compodoc/routes.html +227 -0
- package/compodoc/styles/compodoc.css +365 -44
- package/compodoc/styles/dark.css +16 -0
- package/compodoc/template-playground/default-templates.json +192 -0
- package/compodoc/template-playground/hbs-render.service.ts +217 -0
- package/compodoc/template-playground/main.ts +9 -0
- package/compodoc/template-playground/template-editor.service.ts +173 -0
- package/compodoc/template-playground/template-playground.component.ts +614 -0
- package/compodoc/template-playground/template-playground.module.ts +29 -0
- package/compodoc/template-playground/zip-export.service.ts +86 -0
- package/compodoc/template-playground-app/app.js +1389 -0
- package/compodoc/template-playground-app/index.html +462 -0
- package/docs/documentation.json +329 -206
- package/docs/html/assets/highlight.css +1 -1
- package/docs/html/assets/icons.js +1 -1
- package/docs/html/assets/icons.svg +1 -1
- package/docs/html/assets/main.js +5 -5
- package/docs/html/assets/search.js +1 -1
- package/docs/html/assets/style.css +265 -228
- package/docs/html/classes/AuthenticationRoutingService.html +58 -2
- package/docs/html/classes/DisabledAuthenticationService.html +112 -6
- package/docs/html/classes/RegisterService.html +81 -3
- package/docs/html/classes/RxapAuthenticationGuard.html +120 -7
- package/docs/html/classes/RxapAuthenticationService.html +114 -6
- package/docs/html/classes/SignOutDirective.html +94 -5
- package/docs/html/enums/AuthenticationEventType.html +66 -4
- package/docs/html/functions/BearerTokenInterceptor.html +43 -1
- package/docs/html/functions/provideAuthentication.html +43 -1
- package/docs/html/functions/withDisabledAuthentication.html +42 -1
- package/docs/html/functions/withInitialAuthenticationState.html +42 -1
- package/docs/html/hierarchy.html +34 -1
- package/docs/html/index.html +40 -4
- package/docs/html/interfaces/AuthenticationAccessToken.html +72 -3
- package/docs/html/interfaces/AuthenticationEvent.html +66 -2
- package/docs/html/interfaces/IAuthenticationService.html +94 -5
- package/docs/html/modules.html +52 -1
- package/docs/html/variables/RXAP_AUTHENTICATION_ACCESS_TOKEN.html +33 -1
- package/docs/html/variables/RXAP_AUTHENTICATION_DEACTIVATED.html +33 -1
- package/docs/html/variables/RXAP_INITIAL_AUTHENTICATION_STATE.html +33 -1
- package/docs/markdown/README.md +1 -1
- package/docs/markdown/classes/AuthenticationRoutingService.md +6 -6
- package/docs/markdown/classes/DisabledAuthenticationService.md +12 -12
- package/docs/markdown/classes/RegisterService.md +7 -7
- package/docs/markdown/classes/RxapAuthenticationGuard.md +11 -11
- package/docs/markdown/classes/RxapAuthenticationService.md +14 -14
- package/docs/markdown/classes/SignOutDirective.md +8 -8
- package/docs/markdown/enumerations/AuthenticationEventType.md +5 -5
- package/docs/markdown/functions/BearerTokenInterceptor.md +2 -2
- package/docs/markdown/functions/provideAuthentication.md +2 -2
- package/docs/markdown/functions/withDisabledAuthentication.md +4 -4
- package/docs/markdown/functions/withInitialAuthenticationState.md +2 -2
- package/docs/markdown/globals.md +2 -2
- package/docs/markdown/interfaces/AuthenticationAccessToken.md +6 -6
- package/docs/markdown/interfaces/AuthenticationEvent.md +4 -4
- package/docs/markdown/interfaces/IAuthenticationService.md +7 -7
- package/docs/markdown/variables/RXAP_AUTHENTICATION_ACCESS_TOKEN.md +3 -3
- package/docs/markdown/variables/RXAP_AUTHENTICATION_DEACTIVATED.md +2 -2
- package/docs/markdown/variables/RXAP_INITIAL_AUTHENTICATION_STATE.md +2 -2
- package/docs/wiki/Class.AuthenticationRoutingService.md +5 -5
- package/docs/wiki/Class.DisabledAuthenticationService.md +11 -11
- package/docs/wiki/Class.RegisterService.md +6 -6
- package/docs/wiki/Class.RxapAuthenticationGuard.md +10 -10
- package/docs/wiki/Class.RxapAuthenticationService.md +13 -13
- package/docs/wiki/Class.SignOutDirective.md +7 -7
- package/docs/wiki/Enumeration.AuthenticationEventType.md +4 -4
- package/docs/wiki/Function.BearerTokenInterceptor.md +1 -1
- package/docs/wiki/Function.provideAuthentication.md +1 -1
- package/docs/wiki/Function.withDisabledAuthentication.md +3 -3
- package/docs/wiki/Function.withInitialAuthenticationState.md +1 -1
- package/docs/wiki/Interface.AuthenticationAccessToken.md +5 -5
- package/docs/wiki/Interface.AuthenticationEvent.md +3 -3
- package/docs/wiki/Interface.IAuthenticationService.md +6 -6
- package/docs/wiki/Variable.RXAP_AUTHENTICATION_ACCESS_TOKEN.md +2 -2
- package/docs/wiki/Variable.RXAP_AUTHENTICATION_DEACTIVATED.md +1 -1
- package/docs/wiki/Variable.RXAP_INITIAL_AUTHENTICATION_STATE.md +1 -1
- package/docs/wiki/globals.md +1 -1
- package/fesm2022/rxap-authentication.mjs +363 -346
- package/fesm2022/rxap-authentication.mjs.map +1 -1
- package/package.json +8 -8
|
@@ -61,6 +61,20 @@
|
|
|
61
61
|
}
|
|
62
62
|
toggleDarkMode(darkModeState);
|
|
63
63
|
</script>
|
|
64
|
+
<script>
|
|
65
|
+
// --- Iframe navigation tracking for Template Playground ---
|
|
66
|
+
function sendCurrentUrlToParent() {
|
|
67
|
+
if (window.parent && window.parent !== window) {
|
|
68
|
+
window.parent.postMessage({
|
|
69
|
+
type: 'compodoc-iframe-navigate',
|
|
70
|
+
url: window.location.pathname + window.location.hash
|
|
71
|
+
}, '*');
|
|
72
|
+
}
|
|
73
|
+
}
|
|
74
|
+
window.addEventListener('hashchange', sendCurrentUrlToParent, false);
|
|
75
|
+
window.addEventListener('popstate', sendCurrentUrlToParent, false);
|
|
76
|
+
window.addEventListener('DOMContentLoaded', sendCurrentUrlToParent, false);
|
|
77
|
+
</script>
|
|
64
78
|
|
|
65
79
|
<div class="navbar navbar-default navbar-fixed-top d-md-none p-0">
|
|
66
80
|
<div class="d-flex">
|
|
@@ -70,7 +84,14 @@
|
|
|
70
84
|
</div>
|
|
71
85
|
|
|
72
86
|
<div class="xs-menu menu" id="mobile-menu">
|
|
73
|
-
<div id="book-search-input" role="search"
|
|
87
|
+
<div id="book-search-input" role="search">
|
|
88
|
+
<input type="text" placeholder="Type to search">
|
|
89
|
+
<button type="button"
|
|
90
|
+
class="search-input-clear"
|
|
91
|
+
aria-label="Clear search"
|
|
92
|
+
data-search-input-clear>×</button>
|
|
93
|
+
</div>
|
|
94
|
+
<compodoc-menu></compodoc-menu>
|
|
74
95
|
</div>
|
|
75
96
|
|
|
76
97
|
<div class="container-fluid main">
|
|
@@ -89,11 +110,20 @@
|
|
|
89
110
|
|
|
90
111
|
|
|
91
112
|
|
|
113
|
+
|
|
114
|
+
|
|
115
|
+
|
|
116
|
+
|
|
92
117
|
<ol class="breadcrumb">
|
|
93
118
|
<li class="breadcrumb-item">Injectables</li>
|
|
94
119
|
<li class="breadcrumb-item" >RxapAuthenticationGuard</li>
|
|
95
120
|
</ol>
|
|
96
121
|
|
|
122
|
+
<div class="io-file io-file-path" data-compodoc="entity-file-path">
|
|
123
|
+
<span class="icon ion-ios-document" aria-hidden="true"></span>
|
|
124
|
+
<code>src/lib/authentication.guard.ts</code>
|
|
125
|
+
</div>
|
|
126
|
+
|
|
97
127
|
<ul class="nav nav-tabs" role="tablist">
|
|
98
128
|
<li class="nav-item">
|
|
99
129
|
<a href="#info"
|
|
@@ -101,6 +131,12 @@
|
|
|
101
131
|
class="nav-link active"
|
|
102
132
|
role="tab" id="info-tab" data-bs-toggle="tab" data-link="info">Info</a>
|
|
103
133
|
</li>
|
|
134
|
+
<li class="nav-item">
|
|
135
|
+
<a href="#api"
|
|
136
|
+
class="nav-link"
|
|
137
|
+
|
|
138
|
+
role="tab" id="api-tab" data-bs-toggle="tab" data-link="api">API</a>
|
|
139
|
+
</li>
|
|
104
140
|
<li class="nav-item">
|
|
105
141
|
<a href="#source"
|
|
106
142
|
class="nav-link"
|
|
@@ -111,69 +147,82 @@
|
|
|
111
147
|
|
|
112
148
|
<div class="tab-content">
|
|
113
149
|
<div class="tab-pane fade active in" id="info">
|
|
114
|
-
<p class="comment">
|
|
115
|
-
<h3>File</h3>
|
|
116
|
-
</p>
|
|
117
|
-
<p class="comment">
|
|
118
|
-
<code>src/lib/authentication.guard.ts</code>
|
|
119
|
-
</p>
|
|
120
150
|
|
|
121
151
|
|
|
122
152
|
|
|
153
|
+
<section data-compodoc="block-metadata">
|
|
154
|
+
<h3>Metadata</h3>
|
|
155
|
+
<table class="table table-sm table-hover metadata">
|
|
156
|
+
<tbody>
|
|
157
|
+
<tr>
|
|
158
|
+
<td class="col-md-3">providedIn</td>
|
|
159
|
+
<td class="col-md-9"><code>root</code></td>
|
|
160
|
+
</tr>
|
|
161
|
+
</tbody>
|
|
162
|
+
</table>
|
|
163
|
+
</section>
|
|
164
|
+
|
|
123
165
|
|
|
166
|
+
</div>
|
|
124
167
|
|
|
168
|
+
<div class="tab-pane fade " id="api">
|
|
125
169
|
<section data-compodoc="block-index">
|
|
126
170
|
<h3 id="index">Index</h3>
|
|
127
|
-
|
|
128
|
-
|
|
171
|
+
<table class="table table-sm table-bordered index-table">
|
|
172
|
+
<tbody>
|
|
129
173
|
<tr>
|
|
130
|
-
<td class="col-md-
|
|
174
|
+
<td class="col-md-3">
|
|
131
175
|
<h6><b>Properties</b></h6>
|
|
132
176
|
</td>
|
|
133
|
-
|
|
134
|
-
<tr>
|
|
135
|
-
<td class="col-md-4">
|
|
177
|
+
<td class="col-md-9">
|
|
136
178
|
<ul class="index-list">
|
|
137
179
|
<li>
|
|
180
|
+
<span class="reference-badge reference-badge--property" aria-hidden="true">P</span>
|
|
138
181
|
<a href="#authentication" >authentication</a>
|
|
139
182
|
</li>
|
|
140
183
|
<li>
|
|
184
|
+
<span class="reference-badge reference-badge--property" aria-hidden="true">P</span>
|
|
141
185
|
<span class="modifier">Public</span>
|
|
142
186
|
<a href="#lastUrl" >lastUrl</a>
|
|
143
187
|
</li>
|
|
144
188
|
<li>
|
|
189
|
+
<span class="reference-badge reference-badge--property" aria-hidden="true">P</span>
|
|
145
190
|
<a href="#router" >router</a>
|
|
146
191
|
</li>
|
|
147
192
|
</ul>
|
|
148
193
|
</td>
|
|
149
194
|
</tr>
|
|
195
|
+
</tbody>
|
|
196
|
+
</table>
|
|
150
197
|
|
|
198
|
+
<table class="table table-sm table-bordered index-table">
|
|
199
|
+
<tbody>
|
|
151
200
|
<tr>
|
|
152
|
-
<td class="col-md-
|
|
201
|
+
<td class="col-md-3">
|
|
153
202
|
<h6><b>Methods</b></h6>
|
|
154
203
|
</td>
|
|
155
|
-
|
|
156
|
-
<tr>
|
|
157
|
-
<td class="col-md-4">
|
|
204
|
+
<td class="col-md-9">
|
|
158
205
|
<ul class="index-list">
|
|
159
206
|
<li>
|
|
207
|
+
<span class="reference-badge reference-badge--method" aria-hidden="true">M</span>
|
|
160
208
|
<span class="modifier">Public</span>
|
|
161
209
|
<a href="#canActivate" >canActivate</a>
|
|
162
210
|
</li>
|
|
163
211
|
<li>
|
|
212
|
+
<span class="reference-badge reference-badge--method" aria-hidden="true">M</span>
|
|
164
213
|
<span class="modifier">Public</span>
|
|
165
214
|
<a href="#canActivateChild" >canActivateChild</a>
|
|
166
215
|
</li>
|
|
167
216
|
</ul>
|
|
168
217
|
</td>
|
|
169
218
|
</tr>
|
|
219
|
+
</tbody>
|
|
220
|
+
</table>
|
|
170
221
|
|
|
171
222
|
|
|
172
223
|
|
|
173
224
|
|
|
174
225
|
|
|
175
|
-
</tbody>
|
|
176
|
-
</table>
|
|
177
226
|
</section>
|
|
178
227
|
|
|
179
228
|
|
|
@@ -197,7 +246,7 @@
|
|
|
197
246
|
<tr>
|
|
198
247
|
<td class="col-md-4">
|
|
199
248
|
<span class="modifier-icon icon ion-ios-reset"></span>
|
|
200
|
-
<code>canActivate(route: ActivatedRouteSnapshot
|
|
249
|
+
<code>canActivate(route: <a href="https://angular.dev/api/router/ActivatedRouteSnapshot" target="_blank">ActivatedRouteSnapshot</a>, state: <a href="https://angular.dev/api/router/RouterStateSnapshot" target="_blank">RouterStateSnapshot</a>)</code>
|
|
201
250
|
</td>
|
|
202
251
|
</tr>
|
|
203
252
|
|
|
@@ -228,7 +277,7 @@
|
|
|
228
277
|
<tr>
|
|
229
278
|
<td>route</td>
|
|
230
279
|
<td>
|
|
231
|
-
|
|
280
|
+
<code><a href="https://angular.dev/api/router/ActivatedRouteSnapshot" target="_blank" >ActivatedRouteSnapshot</a></code>
|
|
232
281
|
</td>
|
|
233
282
|
|
|
234
283
|
<td>
|
|
@@ -240,7 +289,7 @@
|
|
|
240
289
|
<tr>
|
|
241
290
|
<td>state</td>
|
|
242
291
|
<td>
|
|
243
|
-
|
|
292
|
+
<code><a href="https://angular.dev/api/router/RouterStateSnapshot" target="_blank" >RouterStateSnapshot</a></code>
|
|
244
293
|
</td>
|
|
245
294
|
|
|
246
295
|
<td>
|
|
@@ -278,7 +327,7 @@
|
|
|
278
327
|
<tr>
|
|
279
328
|
<td class="col-md-4">
|
|
280
329
|
<span class="modifier-icon icon ion-ios-reset"></span>
|
|
281
|
-
<code>canActivateChild(childRoute: ActivatedRouteSnapshot
|
|
330
|
+
<code>canActivateChild(childRoute: <a href="https://angular.dev/api/router/ActivatedRouteSnapshot" target="_blank">ActivatedRouteSnapshot</a>, state: <a href="https://angular.dev/api/router/RouterStateSnapshot" target="_blank">RouterStateSnapshot</a>)</code>
|
|
282
331
|
</td>
|
|
283
332
|
</tr>
|
|
284
333
|
|
|
@@ -309,7 +358,7 @@
|
|
|
309
358
|
<tr>
|
|
310
359
|
<td>childRoute</td>
|
|
311
360
|
<td>
|
|
312
|
-
|
|
361
|
+
<code><a href="https://angular.dev/api/router/ActivatedRouteSnapshot" target="_blank" >ActivatedRouteSnapshot</a></code>
|
|
313
362
|
</td>
|
|
314
363
|
|
|
315
364
|
<td>
|
|
@@ -321,7 +370,7 @@
|
|
|
321
370
|
<tr>
|
|
322
371
|
<td>state</td>
|
|
323
372
|
<td>
|
|
324
|
-
|
|
373
|
+
<code><a href="https://angular.dev/api/router/RouterStateSnapshot" target="_blank" >RouterStateSnapshot</a></code>
|
|
325
374
|
</td>
|
|
326
375
|
|
|
327
376
|
<td>
|
|
@@ -345,6 +394,7 @@
|
|
|
345
394
|
</tbody>
|
|
346
395
|
</table>
|
|
347
396
|
</section>
|
|
397
|
+
|
|
348
398
|
<section data-compodoc="block-properties">
|
|
349
399
|
|
|
350
400
|
<h3 id="inputs">
|
|
@@ -361,6 +411,12 @@
|
|
|
361
411
|
</span>
|
|
362
412
|
</td>
|
|
363
413
|
</tr>
|
|
414
|
+
<tr>
|
|
415
|
+
<td class="col-md-4">
|
|
416
|
+
<i>Type : </i> <code>unknown</code>
|
|
417
|
+
|
|
418
|
+
</td>
|
|
419
|
+
</tr>
|
|
364
420
|
<tr>
|
|
365
421
|
<td class="col-md-4">
|
|
366
422
|
<i>Default value : </i><code>inject<RxapAuthenticationService>(RxapAuthenticationService)</code>
|
|
@@ -418,6 +474,12 @@
|
|
|
418
474
|
</span>
|
|
419
475
|
</td>
|
|
420
476
|
</tr>
|
|
477
|
+
<tr>
|
|
478
|
+
<td class="col-md-4">
|
|
479
|
+
<i>Type : </i> <code>unknown</code>
|
|
480
|
+
|
|
481
|
+
</td>
|
|
482
|
+
</tr>
|
|
421
483
|
<tr>
|
|
422
484
|
<td class="col-md-4">
|
|
423
485
|
<i>Default value : </i><code>inject<Router>(Router)</code>
|
|
@@ -607,6 +669,24 @@ export class RxapAuthenticationGuard {
|
|
|
607
669
|
|
|
608
670
|
<script>
|
|
609
671
|
$darkModeToggleSwitchers = document.querySelectorAll('.dark-mode-switch input');
|
|
672
|
+
var updateDarkModeSwitchOffset = function () {
|
|
673
|
+
var content = document.querySelector('.content');
|
|
674
|
+
var scrollbarWidth = 0;
|
|
675
|
+
|
|
676
|
+
if (content) {
|
|
677
|
+
scrollbarWidth = Math.max(0, content.offsetWidth - content.clientWidth);
|
|
678
|
+
}
|
|
679
|
+
|
|
680
|
+
document.documentElement.style.setProperty(
|
|
681
|
+
'--content-scrollbar-width',
|
|
682
|
+
scrollbarWidth + 'px'
|
|
683
|
+
);
|
|
684
|
+
};
|
|
685
|
+
|
|
686
|
+
updateDarkModeSwitchOffset();
|
|
687
|
+
requestAnimationFrame(updateDarkModeSwitchOffset);
|
|
688
|
+
window.addEventListener('resize', updateDarkModeSwitchOffset);
|
|
689
|
+
|
|
610
690
|
checkToggle(darkModeState);
|
|
611
691
|
if ($darkModeToggleSwitchers.length > 0) {
|
|
612
692
|
for (var i = 0; i < $darkModeToggleSwitchers.length; i++) {
|
|
@@ -622,14 +702,12 @@ export class RxapAuthenticationGuard {
|
|
|
622
702
|
<script src="../js/libs/lit-html.js"></script>
|
|
623
703
|
|
|
624
704
|
<script src="../js/menu-wc.js" defer></script>
|
|
625
|
-
<script nomodule src="../js/menu-wc_es5.js" defer></script>
|
|
626
705
|
|
|
627
706
|
<script src="../js/libs/bootstrap-native.js"></script>
|
|
628
707
|
|
|
629
708
|
<script src="../js/libs/es6-shim.min.js"></script>
|
|
630
709
|
<script src="../js/libs/EventDispatcher.js"></script>
|
|
631
710
|
<script src="../js/libs/promise.min.js"></script>
|
|
632
|
-
<script src="../js/libs/zepto.min.js"></script>
|
|
633
711
|
|
|
634
712
|
<script src="../js/compodoc.js"></script>
|
|
635
713
|
|
|
@@ -61,6 +61,20 @@
|
|
|
61
61
|
}
|
|
62
62
|
toggleDarkMode(darkModeState);
|
|
63
63
|
</script>
|
|
64
|
+
<script>
|
|
65
|
+
// --- Iframe navigation tracking for Template Playground ---
|
|
66
|
+
function sendCurrentUrlToParent() {
|
|
67
|
+
if (window.parent && window.parent !== window) {
|
|
68
|
+
window.parent.postMessage({
|
|
69
|
+
type: 'compodoc-iframe-navigate',
|
|
70
|
+
url: window.location.pathname + window.location.hash
|
|
71
|
+
}, '*');
|
|
72
|
+
}
|
|
73
|
+
}
|
|
74
|
+
window.addEventListener('hashchange', sendCurrentUrlToParent, false);
|
|
75
|
+
window.addEventListener('popstate', sendCurrentUrlToParent, false);
|
|
76
|
+
window.addEventListener('DOMContentLoaded', sendCurrentUrlToParent, false);
|
|
77
|
+
</script>
|
|
64
78
|
|
|
65
79
|
<div class="navbar navbar-default navbar-fixed-top d-md-none p-0">
|
|
66
80
|
<div class="d-flex">
|
|
@@ -70,7 +84,14 @@
|
|
|
70
84
|
</div>
|
|
71
85
|
|
|
72
86
|
<div class="xs-menu menu" id="mobile-menu">
|
|
73
|
-
<div id="book-search-input" role="search"
|
|
87
|
+
<div id="book-search-input" role="search">
|
|
88
|
+
<input type="text" placeholder="Type to search">
|
|
89
|
+
<button type="button"
|
|
90
|
+
class="search-input-clear"
|
|
91
|
+
aria-label="Clear search"
|
|
92
|
+
data-search-input-clear>×</button>
|
|
93
|
+
</div>
|
|
94
|
+
<compodoc-menu></compodoc-menu>
|
|
74
95
|
</div>
|
|
75
96
|
|
|
76
97
|
<div class="container-fluid main">
|
|
@@ -89,11 +110,20 @@
|
|
|
89
110
|
|
|
90
111
|
|
|
91
112
|
|
|
113
|
+
|
|
114
|
+
|
|
115
|
+
|
|
116
|
+
|
|
92
117
|
<ol class="breadcrumb">
|
|
93
118
|
<li class="breadcrumb-item">Injectables</li>
|
|
94
119
|
<li class="breadcrumb-item" >RxapAuthenticationService</li>
|
|
95
120
|
</ol>
|
|
96
121
|
|
|
122
|
+
<div class="io-file io-file-path" data-compodoc="entity-file-path">
|
|
123
|
+
<span class="icon ion-ios-document" aria-hidden="true"></span>
|
|
124
|
+
<code>src/lib/authentication.service.ts</code>
|
|
125
|
+
</div>
|
|
126
|
+
|
|
97
127
|
<ul class="nav nav-tabs" role="tablist">
|
|
98
128
|
<li class="nav-item">
|
|
99
129
|
<a href="#info"
|
|
@@ -101,6 +131,12 @@
|
|
|
101
131
|
class="nav-link active"
|
|
102
132
|
role="tab" id="info-tab" data-bs-toggle="tab" data-link="info">Info</a>
|
|
103
133
|
</li>
|
|
134
|
+
<li class="nav-item">
|
|
135
|
+
<a href="#api"
|
|
136
|
+
class="nav-link"
|
|
137
|
+
|
|
138
|
+
role="tab" id="api-tab" data-bs-toggle="tab" data-link="api">API</a>
|
|
139
|
+
</li>
|
|
104
140
|
<li class="nav-item">
|
|
105
141
|
<a href="#source"
|
|
106
142
|
class="nav-link"
|
|
@@ -111,55 +147,67 @@
|
|
|
111
147
|
|
|
112
148
|
<div class="tab-content">
|
|
113
149
|
<div class="tab-pane fade active in" id="info">
|
|
114
|
-
<p class="comment">
|
|
115
|
-
<h3>File</h3>
|
|
116
|
-
</p>
|
|
117
|
-
<p class="comment">
|
|
118
|
-
<code>src/lib/authentication.service.ts</code>
|
|
119
|
-
</p>
|
|
120
150
|
|
|
121
151
|
|
|
122
152
|
|
|
153
|
+
<section data-compodoc="block-metadata">
|
|
154
|
+
<h3>Metadata</h3>
|
|
155
|
+
<table class="table table-sm table-hover metadata">
|
|
156
|
+
<tbody>
|
|
157
|
+
<tr>
|
|
158
|
+
<td class="col-md-3">providedIn</td>
|
|
159
|
+
<td class="col-md-9"><code>root</code></td>
|
|
160
|
+
</tr>
|
|
161
|
+
</tbody>
|
|
162
|
+
</table>
|
|
163
|
+
</section>
|
|
164
|
+
|
|
123
165
|
|
|
166
|
+
</div>
|
|
124
167
|
|
|
168
|
+
<div class="tab-pane fade " id="api">
|
|
125
169
|
<section data-compodoc="block-index">
|
|
126
170
|
<h3 id="index">Index</h3>
|
|
127
|
-
|
|
128
|
-
|
|
171
|
+
<table class="table table-sm table-bordered index-table">
|
|
172
|
+
<tbody>
|
|
129
173
|
<tr>
|
|
130
|
-
<td class="col-md-
|
|
174
|
+
<td class="col-md-3">
|
|
131
175
|
<h6><b>Properties</b></h6>
|
|
132
176
|
</td>
|
|
133
|
-
|
|
134
|
-
<tr>
|
|
135
|
-
<td class="col-md-4">
|
|
177
|
+
<td class="col-md-9">
|
|
136
178
|
<ul class="index-list">
|
|
137
179
|
<li>
|
|
180
|
+
<span class="reference-badge reference-badge--property" aria-hidden="true">P</span>
|
|
138
181
|
<span class="modifier">Public</span>
|
|
139
182
|
<span class="modifier">Readonly</span>
|
|
140
183
|
<a href="#events$" >events$</a>
|
|
141
184
|
</li>
|
|
142
185
|
<li>
|
|
186
|
+
<span class="reference-badge reference-badge--property" aria-hidden="true">P</span>
|
|
143
187
|
<span class="modifier">Public</span>
|
|
144
188
|
<a href="#isAuthenticated$" >isAuthenticated$</a>
|
|
145
189
|
</li>
|
|
146
190
|
</ul>
|
|
147
191
|
</td>
|
|
148
192
|
</tr>
|
|
193
|
+
</tbody>
|
|
194
|
+
</table>
|
|
149
195
|
|
|
196
|
+
<table class="table table-sm table-bordered index-table">
|
|
197
|
+
<tbody>
|
|
150
198
|
<tr>
|
|
151
|
-
<td class="col-md-
|
|
199
|
+
<td class="col-md-3">
|
|
152
200
|
<h6><b>Methods</b></h6>
|
|
153
201
|
</td>
|
|
154
|
-
|
|
155
|
-
<tr>
|
|
156
|
-
<td class="col-md-4">
|
|
202
|
+
<td class="col-md-9">
|
|
157
203
|
<ul class="index-list">
|
|
158
204
|
<li>
|
|
205
|
+
<span class="reference-badge reference-badge--method" aria-hidden="true">M</span>
|
|
159
206
|
<span class="modifier">Public</span>
|
|
160
207
|
<a href="#isAuthenticated" >isAuthenticated</a>
|
|
161
208
|
</li>
|
|
162
209
|
<li>
|
|
210
|
+
<span class="reference-badge reference-badge--method" aria-hidden="true">M</span>
|
|
163
211
|
<span class="modifier">Public</span>
|
|
164
212
|
<span class="modifier">Async</span>
|
|
165
213
|
<a href="#signOut" >signOut</a>
|
|
@@ -167,13 +215,13 @@
|
|
|
167
215
|
</ul>
|
|
168
216
|
</td>
|
|
169
217
|
</tr>
|
|
218
|
+
</tbody>
|
|
219
|
+
</table>
|
|
170
220
|
|
|
171
221
|
|
|
172
222
|
|
|
173
223
|
|
|
174
224
|
|
|
175
|
-
</tbody>
|
|
176
|
-
</table>
|
|
177
225
|
</section>
|
|
178
226
|
|
|
179
227
|
<section data-compodoc="block-constructor">
|
|
@@ -280,6 +328,7 @@
|
|
|
280
328
|
</tbody>
|
|
281
329
|
</table>
|
|
282
330
|
</section>
|
|
331
|
+
|
|
283
332
|
<section data-compodoc="block-properties">
|
|
284
333
|
|
|
285
334
|
<h3 id="inputs">
|
|
@@ -298,6 +347,12 @@
|
|
|
298
347
|
</span>
|
|
299
348
|
</td>
|
|
300
349
|
</tr>
|
|
350
|
+
<tr>
|
|
351
|
+
<td class="col-md-4">
|
|
352
|
+
<i>Type : </i> <code>unknown</code>
|
|
353
|
+
|
|
354
|
+
</td>
|
|
355
|
+
</tr>
|
|
301
356
|
<tr>
|
|
302
357
|
<td class="col-md-4">
|
|
303
358
|
<i>Default value : </i><code>new ReplaySubject<AuthenticationEvent>()</code>
|
|
@@ -324,6 +379,12 @@
|
|
|
324
379
|
</span>
|
|
325
380
|
</td>
|
|
326
381
|
</tr>
|
|
382
|
+
<tr>
|
|
383
|
+
<td class="col-md-4">
|
|
384
|
+
<i>Type : </i> <code>unknown</code>
|
|
385
|
+
|
|
386
|
+
</td>
|
|
387
|
+
</tr>
|
|
327
388
|
<tr>
|
|
328
389
|
<td class="col-md-4">
|
|
329
390
|
<i>Default value : </i><code>new BehaviorSubject<boolean | null>(null)</code>
|
|
@@ -446,6 +507,24 @@ export class RxapAuthenticationService implements IAuthenticationService {
|
|
|
446
507
|
|
|
447
508
|
<script>
|
|
448
509
|
$darkModeToggleSwitchers = document.querySelectorAll('.dark-mode-switch input');
|
|
510
|
+
var updateDarkModeSwitchOffset = function () {
|
|
511
|
+
var content = document.querySelector('.content');
|
|
512
|
+
var scrollbarWidth = 0;
|
|
513
|
+
|
|
514
|
+
if (content) {
|
|
515
|
+
scrollbarWidth = Math.max(0, content.offsetWidth - content.clientWidth);
|
|
516
|
+
}
|
|
517
|
+
|
|
518
|
+
document.documentElement.style.setProperty(
|
|
519
|
+
'--content-scrollbar-width',
|
|
520
|
+
scrollbarWidth + 'px'
|
|
521
|
+
);
|
|
522
|
+
};
|
|
523
|
+
|
|
524
|
+
updateDarkModeSwitchOffset();
|
|
525
|
+
requestAnimationFrame(updateDarkModeSwitchOffset);
|
|
526
|
+
window.addEventListener('resize', updateDarkModeSwitchOffset);
|
|
527
|
+
|
|
449
528
|
checkToggle(darkModeState);
|
|
450
529
|
if ($darkModeToggleSwitchers.length > 0) {
|
|
451
530
|
for (var i = 0; i < $darkModeToggleSwitchers.length; i++) {
|
|
@@ -461,14 +540,12 @@ export class RxapAuthenticationService implements IAuthenticationService {
|
|
|
461
540
|
<script src="../js/libs/lit-html.js"></script>
|
|
462
541
|
|
|
463
542
|
<script src="../js/menu-wc.js" defer></script>
|
|
464
|
-
<script nomodule src="../js/menu-wc_es5.js" defer></script>
|
|
465
543
|
|
|
466
544
|
<script src="../js/libs/bootstrap-native.js"></script>
|
|
467
545
|
|
|
468
546
|
<script src="../js/libs/es6-shim.min.js"></script>
|
|
469
547
|
<script src="../js/libs/EventDispatcher.js"></script>
|
|
470
548
|
<script src="../js/libs/promise.min.js"></script>
|
|
471
|
-
<script src="../js/libs/zepto.min.js"></script>
|
|
472
549
|
|
|
473
550
|
<script src="../js/compodoc.js"></script>
|
|
474
551
|
|