@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">
|
|
@@ -88,11 +109,20 @@
|
|
|
88
109
|
|
|
89
110
|
|
|
90
111
|
|
|
112
|
+
|
|
113
|
+
|
|
114
|
+
|
|
115
|
+
|
|
91
116
|
<ol class="breadcrumb">
|
|
92
117
|
<li class="breadcrumb-item">Directives</li>
|
|
93
118
|
<li class="breadcrumb-item" >SignOutDirective</li>
|
|
94
119
|
</ol>
|
|
95
120
|
|
|
121
|
+
<div class="io-file io-file-path" data-compodoc="entity-file-path">
|
|
122
|
+
<span class="icon ion-ios-document" aria-hidden="true"></span>
|
|
123
|
+
<code>src/lib/sign-out.directive.ts</code>
|
|
124
|
+
</div>
|
|
125
|
+
|
|
96
126
|
<ul class="nav nav-tabs" role="tablist">
|
|
97
127
|
<li class="nav-item">
|
|
98
128
|
<a href="#info"
|
|
@@ -100,6 +130,12 @@
|
|
|
100
130
|
class="nav-link active"
|
|
101
131
|
role="tab" id="info-tab" data-bs-toggle="tab" data-link="info">Info</a>
|
|
102
132
|
</li>
|
|
133
|
+
<li class="nav-item">
|
|
134
|
+
<a href="#api"
|
|
135
|
+
class="nav-link"
|
|
136
|
+
|
|
137
|
+
role="tab" id="api-tab" data-bs-toggle="tab" data-link="api">API</a>
|
|
138
|
+
</li>
|
|
103
139
|
<li class="nav-item">
|
|
104
140
|
<a href="#source"
|
|
105
141
|
class="nav-link"
|
|
@@ -110,13 +146,6 @@
|
|
|
110
146
|
|
|
111
147
|
<div class="tab-content">
|
|
112
148
|
<div class="tab-pane fade active in" id="info">
|
|
113
|
-
<p class="comment">
|
|
114
|
-
<h3>File</h3>
|
|
115
|
-
</p>
|
|
116
|
-
<p class="comment">
|
|
117
|
-
<code>src/lib/sign-out.directive.ts</code>
|
|
118
|
-
</p>
|
|
119
|
-
|
|
120
149
|
|
|
121
150
|
|
|
122
151
|
|
|
@@ -143,59 +172,105 @@
|
|
|
143
172
|
</table>
|
|
144
173
|
</section>
|
|
145
174
|
|
|
175
|
+
|
|
176
|
+
</div>
|
|
177
|
+
|
|
178
|
+
<div class="tab-pane fade " id="api">
|
|
146
179
|
<section data-compodoc="block-index">
|
|
147
180
|
<h3 id="index">Index</h3>
|
|
148
|
-
|
|
149
|
-
<
|
|
181
|
+
|
|
182
|
+
<table class="table table-sm table-bordered index-table">
|
|
183
|
+
<tbody>
|
|
150
184
|
<tr>
|
|
151
|
-
<td class="col-md-
|
|
152
|
-
<h6><b>
|
|
185
|
+
<td class="col-md-3">
|
|
186
|
+
<h6><b>Methods</b></h6>
|
|
153
187
|
</td>
|
|
154
|
-
|
|
155
|
-
<tr>
|
|
156
|
-
<td class="col-md-4">
|
|
188
|
+
<td class="col-md-9">
|
|
157
189
|
<ul class="index-list">
|
|
158
190
|
<li>
|
|
191
|
+
<span class="reference-badge reference-badge--method" aria-hidden="true">M</span>
|
|
159
192
|
<span class="modifier">Public</span>
|
|
160
|
-
<span class="modifier">
|
|
161
|
-
<a href="#
|
|
162
|
-
</li>
|
|
163
|
-
<li>
|
|
164
|
-
<span class="modifier">Public</span>
|
|
165
|
-
<span class="modifier">Readonly</span>
|
|
166
|
-
<a href="#successful" >successful</a>
|
|
193
|
+
<span class="modifier">Async</span>
|
|
194
|
+
<a href="#onClick" >onClick</a>
|
|
167
195
|
</li>
|
|
168
196
|
</ul>
|
|
169
197
|
</td>
|
|
170
198
|
</tr>
|
|
199
|
+
</tbody>
|
|
200
|
+
</table>
|
|
171
201
|
|
|
202
|
+
|
|
203
|
+
<table class="table table-sm table-bordered index-table">
|
|
204
|
+
<tbody>
|
|
172
205
|
<tr>
|
|
173
|
-
<td class="col-md-
|
|
174
|
-
<h6><b>
|
|
206
|
+
<td class="col-md-3">
|
|
207
|
+
<h6><b>Outputs</b></h6>
|
|
175
208
|
</td>
|
|
176
|
-
|
|
177
|
-
<tr>
|
|
178
|
-
<td class="col-md-4">
|
|
209
|
+
<td class="col-md-9">
|
|
179
210
|
<ul class="index-list">
|
|
180
211
|
<li>
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
212
|
+
<span class="reference-badge reference-badge--property" aria-hidden="true">O</span><a href="#failure" >failure</a>
|
|
213
|
+
</li>
|
|
214
|
+
<li>
|
|
215
|
+
<span class="reference-badge reference-badge--property" aria-hidden="true">O</span><a href="#successful" >successful</a>
|
|
184
216
|
</li>
|
|
185
217
|
</ul>
|
|
186
218
|
</td>
|
|
187
219
|
</tr>
|
|
220
|
+
</tbody>
|
|
221
|
+
</table>
|
|
188
222
|
|
|
189
223
|
|
|
190
224
|
|
|
225
|
+
</section>
|
|
191
226
|
|
|
192
227
|
|
|
193
|
-
</tbody>
|
|
194
|
-
</table>
|
|
195
|
-
</section>
|
|
196
228
|
|
|
229
|
+
<section data-compodoc="block-outputs">
|
|
230
|
+
<h3 id="outputs">Outputs</h3>
|
|
231
|
+
<table class="table table-sm table-bordered">
|
|
232
|
+
<tbody>
|
|
233
|
+
<tr>
|
|
234
|
+
<td class="col-md-4">
|
|
235
|
+
<a name="failure"></a>
|
|
236
|
+
<b>failure</b>
|
|
237
|
+
</td>
|
|
238
|
+
</tr>
|
|
239
|
+
<tr>
|
|
240
|
+
<td class="col-md-4">
|
|
241
|
+
<i>Type : </i> <code>Error</code>
|
|
197
242
|
|
|
243
|
+
</td>
|
|
244
|
+
</tr>
|
|
245
|
+
<tr>
|
|
246
|
+
<td class="col-md-2" colspan="2">
|
|
247
|
+
<div class="io-line">Defined in <a href="" data-line="28" class="link-to-prism">src/lib/sign-out.directive.ts:28</a></div>
|
|
248
|
+
</td>
|
|
249
|
+
</tr>
|
|
250
|
+
</tbody>
|
|
251
|
+
</table>
|
|
252
|
+
<table class="table table-sm table-bordered">
|
|
253
|
+
<tbody>
|
|
254
|
+
<tr>
|
|
255
|
+
<td class="col-md-4">
|
|
256
|
+
<a name="successful"></a>
|
|
257
|
+
<b>successful</b>
|
|
258
|
+
</td>
|
|
259
|
+
</tr>
|
|
260
|
+
<tr>
|
|
261
|
+
<td class="col-md-4">
|
|
262
|
+
<i>Type : </i> <code><a href="https://www.typescriptlang.org/docs/handbook/basic-types.html" target="_blank" >void</a></code>
|
|
198
263
|
|
|
264
|
+
</td>
|
|
265
|
+
</tr>
|
|
266
|
+
<tr>
|
|
267
|
+
<td class="col-md-2" colspan="2">
|
|
268
|
+
<div class="io-line">Defined in <a href="" data-line="26" class="link-to-prism">src/lib/sign-out.directive.ts:26</a></div>
|
|
269
|
+
</td>
|
|
270
|
+
</tr>
|
|
271
|
+
</tbody>
|
|
272
|
+
</table>
|
|
273
|
+
</section>
|
|
199
274
|
|
|
200
275
|
|
|
201
276
|
|
|
@@ -227,8 +302,8 @@
|
|
|
227
302
|
|
|
228
303
|
<tr>
|
|
229
304
|
<td class="col-md-4">
|
|
230
|
-
<div class="io-line">Defined in <a href="" data-line="
|
|
231
|
-
class="link-to-prism">src/lib/sign-out.directive.ts:
|
|
305
|
+
<div class="io-line">Defined in <a href="" data-line="30"
|
|
306
|
+
class="link-to-prism">src/lib/sign-out.directive.ts:30</a></div>
|
|
232
307
|
</td>
|
|
233
308
|
</tr>
|
|
234
309
|
|
|
@@ -245,66 +320,6 @@
|
|
|
245
320
|
</tbody>
|
|
246
321
|
</table>
|
|
247
322
|
</section>
|
|
248
|
-
<section data-compodoc="block-properties">
|
|
249
|
-
|
|
250
|
-
<h3 id="inputs">
|
|
251
|
-
Properties
|
|
252
|
-
</h3>
|
|
253
|
-
<table class="table table-sm table-bordered">
|
|
254
|
-
<tbody>
|
|
255
|
-
<tr>
|
|
256
|
-
<td class="col-md-4">
|
|
257
|
-
<a name="failure"></a>
|
|
258
|
-
<span class="name">
|
|
259
|
-
<span class="modifier">Public</span>
|
|
260
|
-
<span class="modifier">Readonly</span>
|
|
261
|
-
<span ><b>failure</b></span>
|
|
262
|
-
<a href="#failure"><span class="icon ion-ios-link"></span></a>
|
|
263
|
-
</span>
|
|
264
|
-
</td>
|
|
265
|
-
</tr>
|
|
266
|
-
<tr>
|
|
267
|
-
<td class="col-md-4">
|
|
268
|
-
<i>Default value : </i><code>output<Error>()</code>
|
|
269
|
-
</td>
|
|
270
|
-
</tr>
|
|
271
|
-
<tr>
|
|
272
|
-
<td class="col-md-4">
|
|
273
|
-
<div class="io-line">Defined in <a href="" data-line="17" class="link-to-prism">src/lib/sign-out.directive.ts:17</a></div>
|
|
274
|
-
</td>
|
|
275
|
-
</tr>
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
</tbody>
|
|
279
|
-
</table>
|
|
280
|
-
<table class="table table-sm table-bordered">
|
|
281
|
-
<tbody>
|
|
282
|
-
<tr>
|
|
283
|
-
<td class="col-md-4">
|
|
284
|
-
<a name="successful"></a>
|
|
285
|
-
<span class="name">
|
|
286
|
-
<span class="modifier">Public</span>
|
|
287
|
-
<span class="modifier">Readonly</span>
|
|
288
|
-
<span ><b>successful</b></span>
|
|
289
|
-
<a href="#successful"><span class="icon ion-ios-link"></span></a>
|
|
290
|
-
</span>
|
|
291
|
-
</td>
|
|
292
|
-
</tr>
|
|
293
|
-
<tr>
|
|
294
|
-
<td class="col-md-4">
|
|
295
|
-
<i>Default value : </i><code>output<void>()</code>
|
|
296
|
-
</td>
|
|
297
|
-
</tr>
|
|
298
|
-
<tr>
|
|
299
|
-
<td class="col-md-4">
|
|
300
|
-
<div class="io-line">Defined in <a href="" data-line="15" class="link-to-prism">src/lib/sign-out.directive.ts:15</a></div>
|
|
301
|
-
</td>
|
|
302
|
-
</tr>
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
</tbody>
|
|
306
|
-
</table>
|
|
307
|
-
</section>
|
|
308
323
|
|
|
309
324
|
|
|
310
325
|
</div>
|
|
@@ -313,7 +328,18 @@
|
|
|
313
328
|
<div class="tab-pane fade tab-source-code" id="source">
|
|
314
329
|
<pre class="line-numbers compodoc-sourcecode"><code class="language-typescript">import { Directive, output, inject } from '@angular/core';
|
|
315
330
|
import { RxapAuthenticationService } from './authentication.service';
|
|
316
|
-
|
|
331
|
+
import { Showcase } from '@ng-prism/core';
|
|
332
|
+
|
|
333
|
+
@Showcase<SignOutDirective>({
|
|
334
|
+
title: 'Sign Out',
|
|
335
|
+
category: 'Authentication',
|
|
336
|
+
description: 'Signs the user out when the host element is clicked. The `successful` output emits after the sign out, `failure` emits with the error. The authentication service of the styleguide host does not need a backend.',
|
|
337
|
+
status: 'stable',
|
|
338
|
+
host: '<button type="button">Sign out</button>',
|
|
339
|
+
variants: [
|
|
340
|
+
{ name: 'Default' },
|
|
341
|
+
],
|
|
342
|
+
})
|
|
317
343
|
@Directive({
|
|
318
344
|
selector: '[rxapSignOut]',
|
|
319
345
|
standalone: true,
|
|
@@ -391,6 +417,24 @@ export class SignOutDirective {
|
|
|
391
417
|
|
|
392
418
|
<script>
|
|
393
419
|
$darkModeToggleSwitchers = document.querySelectorAll('.dark-mode-switch input');
|
|
420
|
+
var updateDarkModeSwitchOffset = function () {
|
|
421
|
+
var content = document.querySelector('.content');
|
|
422
|
+
var scrollbarWidth = 0;
|
|
423
|
+
|
|
424
|
+
if (content) {
|
|
425
|
+
scrollbarWidth = Math.max(0, content.offsetWidth - content.clientWidth);
|
|
426
|
+
}
|
|
427
|
+
|
|
428
|
+
document.documentElement.style.setProperty(
|
|
429
|
+
'--content-scrollbar-width',
|
|
430
|
+
scrollbarWidth + 'px'
|
|
431
|
+
);
|
|
432
|
+
};
|
|
433
|
+
|
|
434
|
+
updateDarkModeSwitchOffset();
|
|
435
|
+
requestAnimationFrame(updateDarkModeSwitchOffset);
|
|
436
|
+
window.addEventListener('resize', updateDarkModeSwitchOffset);
|
|
437
|
+
|
|
394
438
|
checkToggle(darkModeState);
|
|
395
439
|
if ($darkModeToggleSwitchers.length > 0) {
|
|
396
440
|
for (var i = 0; i < $darkModeToggleSwitchers.length; i++) {
|
|
@@ -406,14 +450,12 @@ export class SignOutDirective {
|
|
|
406
450
|
<script src="../js/libs/lit-html.js"></script>
|
|
407
451
|
|
|
408
452
|
<script src="../js/menu-wc.js" defer></script>
|
|
409
|
-
<script nomodule src="../js/menu-wc_es5.js" defer></script>
|
|
410
453
|
|
|
411
454
|
<script src="../js/libs/bootstrap-native.js"></script>
|
|
412
455
|
|
|
413
456
|
<script src="../js/libs/es6-shim.min.js"></script>
|
|
414
457
|
<script src="../js/libs/EventDispatcher.js"></script>
|
|
415
458
|
<script src="../js/libs/promise.min.js"></script>
|
|
416
|
-
<script src="../js/libs/zepto.min.js"></script>
|
|
417
459
|
|
|
418
460
|
<script src="../js/compodoc.js"></script>
|
|
419
461
|
|
package/compodoc/index.html
CHANGED
|
@@ -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">
|
|
@@ -79,9 +100,10 @@
|
|
|
79
100
|
<compodoc-menu mode="normal"></compodoc-menu>
|
|
80
101
|
</div>
|
|
81
102
|
<!-- START CONTENT -->
|
|
82
|
-
<div class="content
|
|
103
|
+
<div class="content readme">
|
|
83
104
|
<div class="content-data">
|
|
84
105
|
|
|
106
|
+
|
|
85
107
|
<p>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.</p>
|
|
86
108
|
<p><a href="https://www.npmjs.com/package/@rxap/authentication"><img src="https://img.shields.io/npm/v/@rxap/authentication?style=flat-square" alt="npm version" class="img-responsive"></a>
|
|
87
109
|
<a href="https://commitizen.github.io/cz-cli/"><img src="https://img.shields.io/badge/commitizen-friendly-brightgreen.svg?style=flat-square" alt="commitizen friendly" class="img-responsive"></a>
|
|
@@ -123,6 +145,9 @@
|
|
|
123
145
|
|
|
124
146
|
|
|
125
147
|
|
|
148
|
+
|
|
149
|
+
|
|
150
|
+
|
|
126
151
|
|
|
127
152
|
|
|
128
153
|
|
|
@@ -151,13 +176,31 @@
|
|
|
151
176
|
|
|
152
177
|
<script>
|
|
153
178
|
var COMPODOC_CURRENT_PAGE_DEPTH = 0;
|
|
154
|
-
var COMPODOC_CURRENT_PAGE_CONTEXT = '
|
|
179
|
+
var COMPODOC_CURRENT_PAGE_CONTEXT = 'readme';
|
|
155
180
|
var COMPODOC_CURRENT_PAGE_URL = 'index.html';
|
|
156
181
|
var MAX_SEARCH_RESULTS = 15;
|
|
157
182
|
</script>
|
|
158
183
|
|
|
159
184
|
<script>
|
|
160
185
|
$darkModeToggleSwitchers = document.querySelectorAll('.dark-mode-switch input');
|
|
186
|
+
var updateDarkModeSwitchOffset = function () {
|
|
187
|
+
var content = document.querySelector('.content');
|
|
188
|
+
var scrollbarWidth = 0;
|
|
189
|
+
|
|
190
|
+
if (content) {
|
|
191
|
+
scrollbarWidth = Math.max(0, content.offsetWidth - content.clientWidth);
|
|
192
|
+
}
|
|
193
|
+
|
|
194
|
+
document.documentElement.style.setProperty(
|
|
195
|
+
'--content-scrollbar-width',
|
|
196
|
+
scrollbarWidth + 'px'
|
|
197
|
+
);
|
|
198
|
+
};
|
|
199
|
+
|
|
200
|
+
updateDarkModeSwitchOffset();
|
|
201
|
+
requestAnimationFrame(updateDarkModeSwitchOffset);
|
|
202
|
+
window.addEventListener('resize', updateDarkModeSwitchOffset);
|
|
203
|
+
|
|
161
204
|
checkToggle(darkModeState);
|
|
162
205
|
if ($darkModeToggleSwitchers.length > 0) {
|
|
163
206
|
for (var i = 0; i < $darkModeToggleSwitchers.length; i++) {
|
|
@@ -173,14 +216,12 @@
|
|
|
173
216
|
<script src="./js/libs/lit-html.js"></script>
|
|
174
217
|
|
|
175
218
|
<script src="./js/menu-wc.js" defer></script>
|
|
176
|
-
<script nomodule src="./js/menu-wc_es5.js" defer></script>
|
|
177
219
|
|
|
178
220
|
<script src="./js/libs/bootstrap-native.js"></script>
|
|
179
221
|
|
|
180
222
|
<script src="./js/libs/es6-shim.min.js"></script>
|
|
181
223
|
<script src="./js/libs/EventDispatcher.js"></script>
|
|
182
224
|
<script src="./js/libs/promise.min.js"></script>
|
|
183
|
-
<script src="./js/libs/zepto.min.js"></script>
|
|
184
225
|
|
|
185
226
|
<script src="./js/compodoc.js"></script>
|
|
186
227
|
|
|
@@ -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" >AuthenticationRoutingService</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-routing.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,17 +147,25 @@
|
|
|
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-routing.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>
|
|
123
164
|
|
|
124
165
|
|
|
166
|
+
</div>
|
|
167
|
+
|
|
168
|
+
<div class="tab-pane fade " id="api">
|
|
125
169
|
|
|
126
170
|
<section data-compodoc="block-constructor">
|
|
127
171
|
<h3 id="constructor">Constructor</h3>
|
|
@@ -230,6 +274,24 @@ export class AuthenticationRoutingService {
|
|
|
230
274
|
|
|
231
275
|
<script>
|
|
232
276
|
$darkModeToggleSwitchers = document.querySelectorAll('.dark-mode-switch input');
|
|
277
|
+
var updateDarkModeSwitchOffset = function () {
|
|
278
|
+
var content = document.querySelector('.content');
|
|
279
|
+
var scrollbarWidth = 0;
|
|
280
|
+
|
|
281
|
+
if (content) {
|
|
282
|
+
scrollbarWidth = Math.max(0, content.offsetWidth - content.clientWidth);
|
|
283
|
+
}
|
|
284
|
+
|
|
285
|
+
document.documentElement.style.setProperty(
|
|
286
|
+
'--content-scrollbar-width',
|
|
287
|
+
scrollbarWidth + 'px'
|
|
288
|
+
);
|
|
289
|
+
};
|
|
290
|
+
|
|
291
|
+
updateDarkModeSwitchOffset();
|
|
292
|
+
requestAnimationFrame(updateDarkModeSwitchOffset);
|
|
293
|
+
window.addEventListener('resize', updateDarkModeSwitchOffset);
|
|
294
|
+
|
|
233
295
|
checkToggle(darkModeState);
|
|
234
296
|
if ($darkModeToggleSwitchers.length > 0) {
|
|
235
297
|
for (var i = 0; i < $darkModeToggleSwitchers.length; i++) {
|
|
@@ -245,14 +307,12 @@ export class AuthenticationRoutingService {
|
|
|
245
307
|
<script src="../js/libs/lit-html.js"></script>
|
|
246
308
|
|
|
247
309
|
<script src="../js/menu-wc.js" defer></script>
|
|
248
|
-
<script nomodule src="../js/menu-wc_es5.js" defer></script>
|
|
249
310
|
|
|
250
311
|
<script src="../js/libs/bootstrap-native.js"></script>
|
|
251
312
|
|
|
252
313
|
<script src="../js/libs/es6-shim.min.js"></script>
|
|
253
314
|
<script src="../js/libs/EventDispatcher.js"></script>
|
|
254
315
|
<script src="../js/libs/promise.min.js"></script>
|
|
255
|
-
<script src="../js/libs/zepto.min.js"></script>
|
|
256
316
|
|
|
257
317
|
<script src="../js/compodoc.js"></script>
|
|
258
318
|
|