@rxap/authentication 21.0.1 → 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 +19 -0
- package/compodoc/architecture.html +222 -0
- package/compodoc/changelog.html +62 -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 +272 -148
- package/fesm2022/rxap-authentication.mjs.map +1 -1
- package/package.json +13 -13
- package/types/rxap-authentication.d.ts +79 -86
|
@@ -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">
|
|
@@ -94,6 +115,10 @@
|
|
|
94
115
|
|
|
95
116
|
|
|
96
117
|
|
|
118
|
+
|
|
119
|
+
|
|
120
|
+
|
|
121
|
+
|
|
97
122
|
<ol class="breadcrumb">
|
|
98
123
|
<li class="breadcrumb-item">Interfaces</li>
|
|
99
124
|
<li class="breadcrumb-item"
|
|
@@ -101,6 +126,11 @@
|
|
|
101
126
|
AuthenticationAccessToken</li>
|
|
102
127
|
</ol>
|
|
103
128
|
|
|
129
|
+
<div class="io-file io-file-path" data-compodoc="entity-file-path">
|
|
130
|
+
<span class="icon ion-ios-document" aria-hidden="true"></span>
|
|
131
|
+
<code>src/lib/tokens.ts</code>
|
|
132
|
+
</div>
|
|
133
|
+
|
|
104
134
|
<ul class="nav nav-tabs" role="tablist">
|
|
105
135
|
<li class="nav-item">
|
|
106
136
|
<a href="#info"
|
|
@@ -108,6 +138,12 @@
|
|
|
108
138
|
class="nav-link active"
|
|
109
139
|
role="tab" id="info-tab" data-bs-toggle="tab" data-link="info">Info</a>
|
|
110
140
|
</li>
|
|
141
|
+
<li class="nav-item">
|
|
142
|
+
<a href="#api"
|
|
143
|
+
class="nav-link"
|
|
144
|
+
|
|
145
|
+
role="tab" id="api-tab" data-bs-toggle="tab" data-link="api">API</a>
|
|
146
|
+
</li>
|
|
111
147
|
<li class="nav-item">
|
|
112
148
|
<a href="#source"
|
|
113
149
|
class="nav-link"
|
|
@@ -118,131 +154,153 @@
|
|
|
118
154
|
|
|
119
155
|
<div class="tab-content">
|
|
120
156
|
<div class="tab-pane fade active in" id="info">
|
|
121
|
-
<p class="comment">
|
|
122
|
-
<h3>File</h3>
|
|
123
|
-
</p>
|
|
124
|
-
<p class="comment">
|
|
125
|
-
<code>src/lib/tokens.ts</code>
|
|
126
|
-
</p>
|
|
127
|
-
|
|
128
157
|
|
|
129
158
|
|
|
130
159
|
<p class="comment">
|
|
131
160
|
<h3>Extends</h3>
|
|
132
161
|
</p>
|
|
133
162
|
<p class="comment">
|
|
134
|
-
<code>Record
|
|
163
|
+
<code>Record<string, any></code>
|
|
135
164
|
</p>
|
|
136
165
|
|
|
137
|
-
|
|
138
|
-
<h3
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
<li>
|
|
150
|
-
<a href="#token"
|
|
151
|
-
>
|
|
152
|
-
token
|
|
153
|
-
</a>
|
|
154
|
-
</li>
|
|
166
|
+
<section data-compodoc="block-relationships">
|
|
167
|
+
<h3>Relationships</h3>
|
|
168
|
+
|
|
169
|
+
<div class="row pt-3">
|
|
170
|
+
<div class="col-sm-6">
|
|
171
|
+
<h4>Used by</h4>
|
|
172
|
+
<p class="comment"><i>No results matching.</i></p>
|
|
173
|
+
</div>
|
|
174
|
+
|
|
175
|
+
<div class="col-sm-6">
|
|
176
|
+
<h4>Depends on</h4>
|
|
177
|
+
<ul class="list-unstyled relationships-list">
|
|
155
178
|
<li>
|
|
156
|
-
|
|
157
|
-
<a href="#valid"
|
|
158
|
-
>
|
|
159
|
-
valid
|
|
160
|
-
</a>
|
|
179
|
+
<code>Record<string, any></code>
|
|
161
180
|
</li>
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
</tbody>
|
|
166
|
-
</table>
|
|
181
|
+
</ul>
|
|
182
|
+
</div>
|
|
183
|
+
</div>
|
|
167
184
|
</section>
|
|
185
|
+
</div>
|
|
168
186
|
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
187
|
+
<div class="tab-pane fade " id="api"><section data-compodoc="block-index">
|
|
188
|
+
<h3 id="index">Index</h3>
|
|
189
|
+
<table class="table table-sm table-bordered index-table">
|
|
190
|
+
<tbody>
|
|
191
|
+
<tr>
|
|
192
|
+
<td class="col-md-3">
|
|
193
|
+
<h6><b>Properties</b></h6>
|
|
194
|
+
</td>
|
|
195
|
+
<td class="col-md-9">
|
|
196
|
+
<ul class="index-list">
|
|
197
|
+
<li>
|
|
198
|
+
<a href="#token" class="reference-link ">
|
|
199
|
+
<span class="reference-badge reference-badge--property" aria-hidden="true">P</span><span class="reference-link-label">token</span>
|
|
200
|
+
</a>
|
|
201
|
+
</li>
|
|
202
|
+
<li>
|
|
203
|
+
<span class="modifier">Optional</span>
|
|
204
|
+
<a href="#valid" class="reference-link ">
|
|
205
|
+
<span class="reference-badge reference-badge--property" aria-hidden="true">P</span><span class="reference-link-label">valid</span>
|
|
206
|
+
</a>
|
|
207
|
+
</li>
|
|
208
|
+
</ul>
|
|
209
|
+
</td>
|
|
210
|
+
</tr>
|
|
211
|
+
</tbody>
|
|
212
|
+
</table>
|
|
213
|
+
</section>
|
|
214
|
+
|
|
215
|
+
|
|
216
|
+
|
|
217
|
+
<section data-compodoc="block-properties">
|
|
218
|
+
<h3 id="inputs">Properties</h3>
|
|
219
|
+
<table class="table table-sm table-bordered">
|
|
220
|
+
<tbody>
|
|
221
|
+
<tr>
|
|
222
|
+
<td class="col-md-4">
|
|
223
|
+
<a name="token"></a>
|
|
224
|
+
<span class="name "><b>token</b>
|
|
225
|
+
<a href="#token">
|
|
226
|
+
<span class="icon ion-ios-link"></span>
|
|
227
|
+
</a>
|
|
228
|
+
</span>
|
|
229
|
+
</td>
|
|
230
|
+
</tr>
|
|
231
|
+
<tr>
|
|
232
|
+
<td class="col-md-4">
|
|
233
|
+
<code>token: <code><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/string" target="_blank" >string</a></code>
|
|
188
234
|
</code>
|
|
189
|
-
|
|
190
|
-
|
|
235
|
+
</td>
|
|
236
|
+
</tr>
|
|
191
237
|
|
|
192
238
|
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
239
|
+
<tr>
|
|
240
|
+
<td class="col-md-4">
|
|
241
|
+
<i>Type : </i> <code><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/string" target="_blank" >string</a></code>
|
|
196
242
|
|
|
197
|
-
|
|
198
|
-
|
|
243
|
+
</td>
|
|
244
|
+
</tr>
|
|
199
245
|
|
|
200
246
|
|
|
201
247
|
|
|
202
248
|
|
|
203
249
|
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
</
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
250
|
+
<tr>
|
|
251
|
+
<td class="col-md-4">
|
|
252
|
+
<div class="io-line">Defined in <a href="" data-line="10" class="link-to-prism">src/lib/tokens.ts:10</a></div>
|
|
253
|
+
</td>
|
|
254
|
+
</tr>
|
|
255
|
+
|
|
256
|
+
</tbody>
|
|
257
|
+
</table>
|
|
258
|
+
<table class="table table-sm table-bordered">
|
|
259
|
+
<tbody>
|
|
260
|
+
<tr>
|
|
261
|
+
<td class="col-md-4">
|
|
262
|
+
<a name="valid"></a>
|
|
263
|
+
<span class="name "><b>valid</b>
|
|
264
|
+
<a href="#valid">
|
|
265
|
+
<span class="icon ion-ios-link"></span>
|
|
266
|
+
</a>
|
|
267
|
+
</span>
|
|
268
|
+
</td>
|
|
269
|
+
</tr>
|
|
270
|
+
<tr>
|
|
271
|
+
<td class="col-md-4">
|
|
272
|
+
<code>valid: <code><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/boolean" target="_blank" >boolean</a></code>
|
|
221
273
|
</code>
|
|
222
|
-
|
|
223
|
-
|
|
274
|
+
</td>
|
|
275
|
+
</tr>
|
|
224
276
|
|
|
225
277
|
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
278
|
+
<tr>
|
|
279
|
+
<td class="col-md-4">
|
|
280
|
+
<i>Type : </i> <code><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/boolean" target="_blank" >boolean</a></code>
|
|
229
281
|
|
|
230
|
-
|
|
231
|
-
|
|
282
|
+
</td>
|
|
283
|
+
</tr>
|
|
232
284
|
|
|
233
|
-
<tr>
|
|
234
|
-
<td class="col-md-4">
|
|
235
|
-
<i>Optional</i>
|
|
236
|
-
</td>
|
|
237
|
-
</tr>
|
|
238
285
|
|
|
286
|
+
<tr>
|
|
287
|
+
<td class="col-md-4">
|
|
288
|
+
<i>Optional</i>
|
|
289
|
+
</td>
|
|
290
|
+
</tr>
|
|
239
291
|
|
|
240
292
|
|
|
241
293
|
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
294
|
+
<tr>
|
|
295
|
+
<td class="col-md-4">
|
|
296
|
+
<div class="io-line">Defined in <a href="" data-line="11" class="link-to-prism">src/lib/tokens.ts:11</a></div>
|
|
297
|
+
</td>
|
|
298
|
+
</tr>
|
|
299
|
+
|
|
300
|
+
</tbody>
|
|
301
|
+
</table>
|
|
302
|
+
</section>
|
|
303
|
+
</div>
|
|
246
304
|
|
|
247
305
|
|
|
248
306
|
<div class="tab-pane fade tab-source-code" id="source">
|
|
@@ -321,6 +379,24 @@ export function withDisabledAuthentication(disabled = true): Provider {
|
|
|
321
379
|
|
|
322
380
|
<script>
|
|
323
381
|
$darkModeToggleSwitchers = document.querySelectorAll('.dark-mode-switch input');
|
|
382
|
+
var updateDarkModeSwitchOffset = function () {
|
|
383
|
+
var content = document.querySelector('.content');
|
|
384
|
+
var scrollbarWidth = 0;
|
|
385
|
+
|
|
386
|
+
if (content) {
|
|
387
|
+
scrollbarWidth = Math.max(0, content.offsetWidth - content.clientWidth);
|
|
388
|
+
}
|
|
389
|
+
|
|
390
|
+
document.documentElement.style.setProperty(
|
|
391
|
+
'--content-scrollbar-width',
|
|
392
|
+
scrollbarWidth + 'px'
|
|
393
|
+
);
|
|
394
|
+
};
|
|
395
|
+
|
|
396
|
+
updateDarkModeSwitchOffset();
|
|
397
|
+
requestAnimationFrame(updateDarkModeSwitchOffset);
|
|
398
|
+
window.addEventListener('resize', updateDarkModeSwitchOffset);
|
|
399
|
+
|
|
324
400
|
checkToggle(darkModeState);
|
|
325
401
|
if ($darkModeToggleSwitchers.length > 0) {
|
|
326
402
|
for (var i = 0; i < $darkModeToggleSwitchers.length; i++) {
|
|
@@ -336,14 +412,12 @@ export function withDisabledAuthentication(disabled = true): Provider {
|
|
|
336
412
|
<script src="../js/libs/lit-html.js"></script>
|
|
337
413
|
|
|
338
414
|
<script src="../js/menu-wc.js" defer></script>
|
|
339
|
-
<script nomodule src="../js/menu-wc_es5.js" defer></script>
|
|
340
415
|
|
|
341
416
|
<script src="../js/libs/bootstrap-native.js"></script>
|
|
342
417
|
|
|
343
418
|
<script src="../js/libs/es6-shim.min.js"></script>
|
|
344
419
|
<script src="../js/libs/EventDispatcher.js"></script>
|
|
345
420
|
<script src="../js/libs/promise.min.js"></script>
|
|
346
|
-
<script src="../js/libs/zepto.min.js"></script>
|
|
347
421
|
|
|
348
422
|
<script src="../js/compodoc.js"></script>
|
|
349
423
|
|
|
@@ -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">
|
|
@@ -94,6 +115,10 @@
|
|
|
94
115
|
|
|
95
116
|
|
|
96
117
|
|
|
118
|
+
|
|
119
|
+
|
|
120
|
+
|
|
121
|
+
|
|
97
122
|
<ol class="breadcrumb">
|
|
98
123
|
<li class="breadcrumb-item">Interfaces</li>
|
|
99
124
|
<li class="breadcrumb-item"
|
|
@@ -101,6 +126,11 @@
|
|
|
101
126
|
AuthenticationEvent</li>
|
|
102
127
|
</ol>
|
|
103
128
|
|
|
129
|
+
<div class="io-file io-file-path" data-compodoc="entity-file-path">
|
|
130
|
+
<span class="icon ion-ios-document" aria-hidden="true"></span>
|
|
131
|
+
<code>src/lib/authentication.service.ts</code>
|
|
132
|
+
</div>
|
|
133
|
+
|
|
104
134
|
<ul class="nav nav-tabs" role="tablist">
|
|
105
135
|
<li class="nav-item">
|
|
106
136
|
<a href="#info"
|
|
@@ -108,6 +138,12 @@
|
|
|
108
138
|
class="nav-link active"
|
|
109
139
|
role="tab" id="info-tab" data-bs-toggle="tab" data-link="info">Info</a>
|
|
110
140
|
</li>
|
|
141
|
+
<li class="nav-item">
|
|
142
|
+
<a href="#api"
|
|
143
|
+
class="nav-link"
|
|
144
|
+
|
|
145
|
+
role="tab" id="api-tab" data-bs-toggle="tab" data-link="api">API</a>
|
|
146
|
+
</li>
|
|
111
147
|
<li class="nav-item">
|
|
112
148
|
<a href="#source"
|
|
113
149
|
class="nav-link"
|
|
@@ -118,86 +154,103 @@
|
|
|
118
154
|
|
|
119
155
|
<div class="tab-content">
|
|
120
156
|
<div class="tab-pane fade active in" id="info">
|
|
121
|
-
<p class="comment">
|
|
122
|
-
<h3>File</h3>
|
|
123
|
-
</p>
|
|
124
|
-
<p class="comment">
|
|
125
|
-
<code>src/lib/authentication.service.ts</code>
|
|
126
|
-
</p>
|
|
127
|
-
|
|
128
157
|
|
|
129
158
|
|
|
130
159
|
<p class="comment">
|
|
131
160
|
<h3>Extends</h3>
|
|
132
161
|
</p>
|
|
133
162
|
<p class="comment">
|
|
134
|
-
<code>Record
|
|
163
|
+
<code>Record<string, any></code>
|
|
135
164
|
</p>
|
|
136
165
|
|
|
137
|
-
|
|
138
|
-
<h3
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
166
|
+
<section data-compodoc="block-relationships">
|
|
167
|
+
<h3>Relationships</h3>
|
|
168
|
+
|
|
169
|
+
<div class="row pt-3">
|
|
170
|
+
<div class="col-sm-6">
|
|
171
|
+
<h4>Used by</h4>
|
|
172
|
+
<p class="comment"><i>No results matching.</i></p>
|
|
173
|
+
</div>
|
|
174
|
+
|
|
175
|
+
<div class="col-sm-6">
|
|
176
|
+
<h4>Depends on</h4>
|
|
177
|
+
<ul class="list-unstyled relationships-list">
|
|
149
178
|
<li>
|
|
150
|
-
<
|
|
151
|
-
>
|
|
152
|
-
type
|
|
153
|
-
</a>
|
|
179
|
+
<code>Record<string, any></code>
|
|
154
180
|
</li>
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
</tbody>
|
|
159
|
-
</table>
|
|
181
|
+
</ul>
|
|
182
|
+
</div>
|
|
183
|
+
</div>
|
|
160
184
|
</section>
|
|
185
|
+
</div>
|
|
161
186
|
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
187
|
+
<div class="tab-pane fade " id="api"><section data-compodoc="block-index">
|
|
188
|
+
<h3 id="index">Index</h3>
|
|
189
|
+
<table class="table table-sm table-bordered index-table">
|
|
190
|
+
<tbody>
|
|
191
|
+
<tr>
|
|
192
|
+
<td class="col-md-3">
|
|
193
|
+
<h6><b>Properties</b></h6>
|
|
194
|
+
</td>
|
|
195
|
+
<td class="col-md-9">
|
|
196
|
+
<ul class="index-list">
|
|
197
|
+
<li>
|
|
198
|
+
<a href="#type" class="reference-link ">
|
|
199
|
+
<span class="reference-badge reference-badge--property" aria-hidden="true">P</span><span class="reference-link-label">type</span>
|
|
200
|
+
</a>
|
|
201
|
+
</li>
|
|
202
|
+
</ul>
|
|
203
|
+
</td>
|
|
204
|
+
</tr>
|
|
205
|
+
</tbody>
|
|
206
|
+
</table>
|
|
207
|
+
</section>
|
|
208
|
+
|
|
209
|
+
|
|
210
|
+
|
|
211
|
+
<section data-compodoc="block-properties">
|
|
212
|
+
<h3 id="inputs">Properties</h3>
|
|
213
|
+
<table class="table table-sm table-bordered">
|
|
214
|
+
<tbody>
|
|
215
|
+
<tr>
|
|
216
|
+
<td class="col-md-4">
|
|
217
|
+
<a name="type"></a>
|
|
218
|
+
<span class="name "><b>type</b>
|
|
219
|
+
<a href="#type">
|
|
220
|
+
<span class="icon ion-ios-link"></span>
|
|
221
|
+
</a>
|
|
222
|
+
</span>
|
|
223
|
+
</td>
|
|
224
|
+
</tr>
|
|
225
|
+
<tr>
|
|
226
|
+
<td class="col-md-4">
|
|
227
|
+
<code>type: <code><a href="../miscellaneous/enumerations.html#AuthenticationEventType" target="_self" >AuthenticationEventType</a></code>
|
|
181
228
|
</code>
|
|
182
|
-
|
|
183
|
-
|
|
229
|
+
</td>
|
|
230
|
+
</tr>
|
|
184
231
|
|
|
185
232
|
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
233
|
+
<tr>
|
|
234
|
+
<td class="col-md-4">
|
|
235
|
+
<i>Type : </i> <code><a href="../miscellaneous/enumerations.html#AuthenticationEventType" target="_self" >AuthenticationEventType</a></code>
|
|
189
236
|
|
|
190
|
-
|
|
191
|
-
|
|
237
|
+
</td>
|
|
238
|
+
</tr>
|
|
192
239
|
|
|
193
240
|
|
|
194
241
|
|
|
195
242
|
|
|
196
243
|
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
244
|
+
<tr>
|
|
245
|
+
<td class="col-md-4">
|
|
246
|
+
<div class="io-line">Defined in <a href="" data-line="27" class="link-to-prism">src/lib/authentication.service.ts:27</a></div>
|
|
247
|
+
</td>
|
|
248
|
+
</tr>
|
|
249
|
+
|
|
250
|
+
</tbody>
|
|
251
|
+
</table>
|
|
252
|
+
</section>
|
|
253
|
+
</div>
|
|
201
254
|
|
|
202
255
|
|
|
203
256
|
<div class="tab-pane fade tab-source-code" id="source">
|
|
@@ -297,6 +350,24 @@ export class RxapAuthenticationService implements IAuthenticationService {
|
|
|
297
350
|
|
|
298
351
|
<script>
|
|
299
352
|
$darkModeToggleSwitchers = document.querySelectorAll('.dark-mode-switch input');
|
|
353
|
+
var updateDarkModeSwitchOffset = function () {
|
|
354
|
+
var content = document.querySelector('.content');
|
|
355
|
+
var scrollbarWidth = 0;
|
|
356
|
+
|
|
357
|
+
if (content) {
|
|
358
|
+
scrollbarWidth = Math.max(0, content.offsetWidth - content.clientWidth);
|
|
359
|
+
}
|
|
360
|
+
|
|
361
|
+
document.documentElement.style.setProperty(
|
|
362
|
+
'--content-scrollbar-width',
|
|
363
|
+
scrollbarWidth + 'px'
|
|
364
|
+
);
|
|
365
|
+
};
|
|
366
|
+
|
|
367
|
+
updateDarkModeSwitchOffset();
|
|
368
|
+
requestAnimationFrame(updateDarkModeSwitchOffset);
|
|
369
|
+
window.addEventListener('resize', updateDarkModeSwitchOffset);
|
|
370
|
+
|
|
300
371
|
checkToggle(darkModeState);
|
|
301
372
|
if ($darkModeToggleSwitchers.length > 0) {
|
|
302
373
|
for (var i = 0; i < $darkModeToggleSwitchers.length; i++) {
|
|
@@ -312,14 +383,12 @@ export class RxapAuthenticationService implements IAuthenticationService {
|
|
|
312
383
|
<script src="../js/libs/lit-html.js"></script>
|
|
313
384
|
|
|
314
385
|
<script src="../js/menu-wc.js" defer></script>
|
|
315
|
-
<script nomodule src="../js/menu-wc_es5.js" defer></script>
|
|
316
386
|
|
|
317
387
|
<script src="../js/libs/bootstrap-native.js"></script>
|
|
318
388
|
|
|
319
389
|
<script src="../js/libs/es6-shim.min.js"></script>
|
|
320
390
|
<script src="../js/libs/EventDispatcher.js"></script>
|
|
321
391
|
<script src="../js/libs/promise.min.js"></script>
|
|
322
|
-
<script src="../js/libs/zepto.min.js"></script>
|
|
323
392
|
|
|
324
393
|
<script src="../js/compodoc.js"></script>
|
|
325
394
|
|