@hichchi/ngx-auth 0.0.8 → 0.0.9
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/README.md +102 -102
- package/package.json +5 -5
package/README.md
CHANGED
|
@@ -213,7 +213,7 @@ Complete technical reference for all classes, interfaces, methods, and types in
|
|
|
213
213
|
|
|
214
214
|
### AuthFormComponent
|
|
215
215
|
|
|
216
|
-
Defined in: [libs/ngx-auth/src/lib/components/auth-form/auth-form.component.ts:97](https://github.com/hichchidev/hichchi/blob/
|
|
216
|
+
Defined in: [libs/ngx-auth/src/lib/components/auth-form/auth-form.component.ts:97](https://github.com/hichchidev/hichchi/blob/0b9a2445c124fc8574826bbe19e8d3e57d724a38/libs/ngx-auth/src/lib/components/auth-form/auth-form.component.ts#L97)
|
|
217
217
|
|
|
218
218
|
#### Constructors
|
|
219
219
|
|
|
@@ -223,7 +223,7 @@ Defined in: [libs/ngx-auth/src/lib/components/auth-form/auth-form.component.ts:9
|
|
|
223
223
|
new AuthFormComponent(): AuthFormComponent;
|
|
224
224
|
```
|
|
225
225
|
|
|
226
|
-
Defined in: [libs/ngx-auth/src/lib/components/auth-form/auth-form.component.ts:146](https://github.com/hichchidev/hichchi/blob/
|
|
226
|
+
Defined in: [libs/ngx-auth/src/lib/components/auth-form/auth-form.component.ts:146](https://github.com/hichchidev/hichchi/blob/0b9a2445c124fc8574826bbe19e8d3e57d724a38/libs/ngx-auth/src/lib/components/auth-form/auth-form.component.ts#L146)
|
|
227
227
|
|
|
228
228
|
###### Returns
|
|
229
229
|
|
|
@@ -237,7 +237,7 @@ Defined in: [libs/ngx-auth/src/lib/components/auth-form/auth-form.component.ts:1
|
|
|
237
237
|
handleError(error): void;
|
|
238
238
|
```
|
|
239
239
|
|
|
240
|
-
Defined in: [libs/ngx-auth/src/lib/components/auth-form/auth-form.component.ts:318](https://github.com/hichchidev/hichchi/blob/
|
|
240
|
+
Defined in: [libs/ngx-auth/src/lib/components/auth-form/auth-form.component.ts:318](https://github.com/hichchidev/hichchi/blob/0b9a2445c124fc8574826bbe19e8d3e57d724a38/libs/ngx-auth/src/lib/components/auth-form/auth-form.component.ts#L318)
|
|
241
241
|
|
|
242
242
|
Handles authentication errors and updates component state
|
|
243
243
|
|
|
@@ -295,7 +295,7 @@ this.handleError(customError);
|
|
|
295
295
|
handleGoogleSignIn(): Promise<void>;
|
|
296
296
|
```
|
|
297
297
|
|
|
298
|
-
Defined in: [libs/ngx-auth/src/lib/components/auth-form/auth-form.component.ts:183](https://github.com/hichchidev/hichchi/blob/
|
|
298
|
+
Defined in: [libs/ngx-auth/src/lib/components/auth-form/auth-form.component.ts:183](https://github.com/hichchidev/hichchi/blob/0b9a2445c124fc8574826bbe19e8d3e57d724a38/libs/ngx-auth/src/lib/components/auth-form/auth-form.component.ts#L183)
|
|
299
299
|
|
|
300
300
|
Handles Google OAuth sign-in authentication
|
|
301
301
|
|
|
@@ -322,7 +322,7 @@ await this.handleGoogleSignIn();
|
|
|
322
322
|
handleLocalAuth(signInBody): void;
|
|
323
323
|
```
|
|
324
324
|
|
|
325
|
-
Defined in: [libs/ngx-auth/src/lib/components/auth-form/auth-form.component.ts:213](https://github.com/hichchidev/hichchi/blob/
|
|
325
|
+
Defined in: [libs/ngx-auth/src/lib/components/auth-form/auth-form.component.ts:213](https://github.com/hichchidev/hichchi/blob/0b9a2445c124fc8574826bbe19e8d3e57d724a38/libs/ngx-auth/src/lib/components/auth-form/auth-form.component.ts#L213)
|
|
326
326
|
|
|
327
327
|
Handles local authentication sign-in process
|
|
328
328
|
|
|
@@ -381,7 +381,7 @@ this.handleLocalAuth(signInData);
|
|
|
381
381
|
handleSignUp(signUpBody): void;
|
|
382
382
|
```
|
|
383
383
|
|
|
384
|
-
Defined in: [libs/ngx-auth/src/lib/components/auth-form/auth-form.component.ts:248](https://github.com/hichchidev/hichchi/blob/
|
|
384
|
+
Defined in: [libs/ngx-auth/src/lib/components/auth-form/auth-form.component.ts:248](https://github.com/hichchidev/hichchi/blob/0b9a2445c124fc8574826bbe19e8d3e57d724a38/libs/ngx-auth/src/lib/components/auth-form/auth-form.component.ts#L248)
|
|
385
385
|
|
|
386
386
|
Handles user registration (sign-up) process
|
|
387
387
|
|
|
@@ -442,7 +442,7 @@ this.handleSignUp(signUpData);
|
|
|
442
442
|
handleSubmit(e): void;
|
|
443
443
|
```
|
|
444
444
|
|
|
445
|
-
Defined in: [libs/ngx-auth/src/lib/components/auth-form/auth-form.component.ts:278](https://github.com/hichchidev/hichchi/blob/
|
|
445
|
+
Defined in: [libs/ngx-auth/src/lib/components/auth-form/auth-form.component.ts:278](https://github.com/hichchidev/hichchi/blob/0b9a2445c124fc8574826bbe19e8d3e57d724a38/libs/ngx-auth/src/lib/components/auth-form/auth-form.component.ts#L278)
|
|
446
446
|
|
|
447
447
|
Handles form submission for both sign-in and sign-up modes
|
|
448
448
|
|
|
@@ -524,7 +524,7 @@ Writable signal containing the current authentication field type (EMAIL or USERN
|
|
|
524
524
|
</td>
|
|
525
525
|
<td>
|
|
526
526
|
|
|
527
|
-
[libs/ngx-auth/src/lib/components/auth-form/auth-form.component.ts:132](https://github.com/hichchidev/hichchi/blob/
|
|
527
|
+
[libs/ngx-auth/src/lib/components/auth-form/auth-form.component.ts:132](https://github.com/hichchidev/hichchi/blob/0b9a2445c124fc8574826bbe19e8d3e57d724a38/libs/ngx-auth/src/lib/components/auth-form/auth-form.component.ts#L132)
|
|
528
528
|
|
|
529
529
|
</td>
|
|
530
530
|
</tr>
|
|
@@ -546,7 +546,7 @@ Writable signal containing the display label for the authentication field
|
|
|
546
546
|
</td>
|
|
547
547
|
<td>
|
|
548
548
|
|
|
549
|
-
[libs/ngx-auth/src/lib/components/auth-form/auth-form.component.ts:135](https://github.com/hichchidev/hichchi/blob/
|
|
549
|
+
[libs/ngx-auth/src/lib/components/auth-form/auth-form.component.ts:135](https://github.com/hichchidev/hichchi/blob/0b9a2445c124fc8574826bbe19e8d3e57d724a38/libs/ngx-auth/src/lib/components/auth-form/auth-form.component.ts#L135)
|
|
550
550
|
|
|
551
551
|
</td>
|
|
552
552
|
</tr>
|
|
@@ -568,7 +568,7 @@ Reactive form group for handling authentication form data
|
|
|
568
568
|
</td>
|
|
569
569
|
<td>
|
|
570
570
|
|
|
571
|
-
[libs/ngx-auth/src/lib/components/auth-form/auth-form.component.ts:144](https://github.com/hichchidev/hichchi/blob/
|
|
571
|
+
[libs/ngx-auth/src/lib/components/auth-form/auth-form.component.ts:144](https://github.com/hichchidev/hichchi/blob/0b9a2445c124fc8574826bbe19e8d3e57d724a38/libs/ngx-auth/src/lib/components/auth-form/auth-form.component.ts#L144)
|
|
572
572
|
|
|
573
573
|
</td>
|
|
574
574
|
</tr>
|
|
@@ -590,7 +590,7 @@ Injected AuthState service for managing authentication state
|
|
|
590
590
|
</td>
|
|
591
591
|
<td>
|
|
592
592
|
|
|
593
|
-
[libs/ngx-auth/src/lib/components/auth-form/auth-form.component.ts:141](https://github.com/hichchidev/hichchi/blob/
|
|
593
|
+
[libs/ngx-auth/src/lib/components/auth-form/auth-form.component.ts:141](https://github.com/hichchidev/hichchi/blob/0b9a2445c124fc8574826bbe19e8d3e57d724a38/libs/ngx-auth/src/lib/components/auth-form/auth-form.component.ts#L141)
|
|
594
594
|
|
|
595
595
|
</td>
|
|
596
596
|
</tr>
|
|
@@ -612,7 +612,7 @@ Writable signal containing the current error object, if any
|
|
|
612
612
|
</td>
|
|
613
613
|
<td>
|
|
614
614
|
|
|
615
|
-
[libs/ngx-auth/src/lib/components/auth-form/auth-form.component.ts:138](https://github.com/hichchidev/hichchi/blob/
|
|
615
|
+
[libs/ngx-auth/src/lib/components/auth-form/auth-form.component.ts:138](https://github.com/hichchidev/hichchi/blob/0b9a2445c124fc8574826bbe19e8d3e57d724a38/libs/ngx-auth/src/lib/components/auth-form/auth-form.component.ts#L138)
|
|
616
616
|
|
|
617
617
|
</td>
|
|
618
618
|
</tr>
|
|
@@ -634,7 +634,7 @@ Input signal to control whether Facebook authentication is enabled
|
|
|
634
634
|
</td>
|
|
635
635
|
<td>
|
|
636
636
|
|
|
637
|
-
[libs/ngx-auth/src/lib/components/auth-form/auth-form.component.ts:111](https://github.com/hichchidev/hichchi/blob/
|
|
637
|
+
[libs/ngx-auth/src/lib/components/auth-form/auth-form.component.ts:111](https://github.com/hichchidev/hichchi/blob/0b9a2445c124fc8574826bbe19e8d3e57d724a38/libs/ngx-auth/src/lib/components/auth-form/auth-form.component.ts#L111)
|
|
638
638
|
|
|
639
639
|
</td>
|
|
640
640
|
</tr>
|
|
@@ -656,7 +656,7 @@ Input signal to control whether Google OAuth authentication is enabled
|
|
|
656
656
|
</td>
|
|
657
657
|
<td>
|
|
658
658
|
|
|
659
|
-
[libs/ngx-auth/src/lib/components/auth-form/auth-form.component.ts:108](https://github.com/hichchidev/hichchi/blob/
|
|
659
|
+
[libs/ngx-auth/src/lib/components/auth-form/auth-form.component.ts:108](https://github.com/hichchidev/hichchi/blob/0b9a2445c124fc8574826bbe19e8d3e57d724a38/libs/ngx-auth/src/lib/components/auth-form/auth-form.component.ts#L108)
|
|
660
660
|
|
|
661
661
|
</td>
|
|
662
662
|
</tr>
|
|
@@ -678,7 +678,7 @@ Writable signal indicating whether an error state is currently active
|
|
|
678
678
|
</td>
|
|
679
679
|
<td>
|
|
680
680
|
|
|
681
|
-
[libs/ngx-auth/src/lib/components/auth-form/auth-form.component.ts:129](https://github.com/hichchidev/hichchi/blob/
|
|
681
|
+
[libs/ngx-auth/src/lib/components/auth-form/auth-form.component.ts:129](https://github.com/hichchidev/hichchi/blob/0b9a2445c124fc8574826bbe19e8d3e57d724a38/libs/ngx-auth/src/lib/components/auth-form/auth-form.component.ts#L129)
|
|
682
682
|
|
|
683
683
|
</td>
|
|
684
684
|
</tr>
|
|
@@ -700,7 +700,7 @@ Writable signal indicating whether an authentication operation is in progress
|
|
|
700
700
|
</td>
|
|
701
701
|
<td>
|
|
702
702
|
|
|
703
|
-
[libs/ngx-auth/src/lib/components/auth-form/auth-form.component.ts:123](https://github.com/hichchidev/hichchi/blob/
|
|
703
|
+
[libs/ngx-auth/src/lib/components/auth-form/auth-form.component.ts:123](https://github.com/hichchidev/hichchi/blob/0b9a2445c124fc8574826bbe19e8d3e57d724a38/libs/ngx-auth/src/lib/components/auth-form/auth-form.component.ts#L123)
|
|
704
704
|
|
|
705
705
|
</td>
|
|
706
706
|
</tr>
|
|
@@ -722,7 +722,7 @@ Writable signal indicating whether the form is in sign-up mode (true) or sign-in
|
|
|
722
722
|
</td>
|
|
723
723
|
<td>
|
|
724
724
|
|
|
725
|
-
[libs/ngx-auth/src/lib/components/auth-form/auth-form.component.ts:126](https://github.com/hichchidev/hichchi/blob/
|
|
725
|
+
[libs/ngx-auth/src/lib/components/auth-form/auth-form.component.ts:126](https://github.com/hichchidev/hichchi/blob/0b9a2445c124fc8574826bbe19e8d3e57d724a38/libs/ngx-auth/src/lib/components/auth-form/auth-form.component.ts#L126)
|
|
726
726
|
|
|
727
727
|
</td>
|
|
728
728
|
</tr>
|
|
@@ -744,7 +744,7 @@ Input signal to control whether local authentication (username/email + password)
|
|
|
744
744
|
</td>
|
|
745
745
|
<td>
|
|
746
746
|
|
|
747
|
-
[libs/ngx-auth/src/lib/components/auth-form/auth-form.component.ts:105](https://github.com/hichchidev/hichchi/blob/
|
|
747
|
+
[libs/ngx-auth/src/lib/components/auth-form/auth-form.component.ts:105](https://github.com/hichchidev/hichchi/blob/0b9a2445c124fc8574826bbe19e8d3e57d724a38/libs/ngx-auth/src/lib/components/auth-form/auth-form.component.ts#L105)
|
|
748
748
|
|
|
749
749
|
</td>
|
|
750
750
|
</tr>
|
|
@@ -766,7 +766,7 @@ Output emitter that fires when an authentication error occurs
|
|
|
766
766
|
</td>
|
|
767
767
|
<td>
|
|
768
768
|
|
|
769
|
-
[libs/ngx-auth/src/lib/components/auth-form/auth-form.component.ts:114](https://github.com/hichchidev/hichchi/blob/
|
|
769
|
+
[libs/ngx-auth/src/lib/components/auth-form/auth-form.component.ts:114](https://github.com/hichchidev/hichchi/blob/0b9a2445c124fc8574826bbe19e8d3e57d724a38/libs/ngx-auth/src/lib/components/auth-form/auth-form.component.ts#L114)
|
|
770
770
|
|
|
771
771
|
</td>
|
|
772
772
|
</tr>
|
|
@@ -788,7 +788,7 @@ Output emitter that fires when a user successfully signs in
|
|
|
788
788
|
</td>
|
|
789
789
|
<td>
|
|
790
790
|
|
|
791
|
-
[libs/ngx-auth/src/lib/components/auth-form/auth-form.component.ts:117](https://github.com/hichchidev/hichchi/blob/
|
|
791
|
+
[libs/ngx-auth/src/lib/components/auth-form/auth-form.component.ts:117](https://github.com/hichchidev/hichchi/blob/0b9a2445c124fc8574826bbe19e8d3e57d724a38/libs/ngx-auth/src/lib/components/auth-form/auth-form.component.ts#L117)
|
|
792
792
|
|
|
793
793
|
</td>
|
|
794
794
|
</tr>
|
|
@@ -810,7 +810,7 @@ Output emitter that fires when a user successfully signs up
|
|
|
810
810
|
</td>
|
|
811
811
|
<td>
|
|
812
812
|
|
|
813
|
-
[libs/ngx-auth/src/lib/components/auth-form/auth-form.component.ts:120](https://github.com/hichchidev/hichchi/blob/
|
|
813
|
+
[libs/ngx-auth/src/lib/components/auth-form/auth-form.component.ts:120](https://github.com/hichchidev/hichchi/blob/0b9a2445c124fc8574826bbe19e8d3e57d724a38/libs/ngx-auth/src/lib/components/auth-form/auth-form.component.ts#L120)
|
|
814
814
|
|
|
815
815
|
</td>
|
|
816
816
|
</tr>
|
|
@@ -821,7 +821,7 @@ Output emitter that fires when a user successfully signs up
|
|
|
821
821
|
|
|
822
822
|
### AuthService
|
|
823
823
|
|
|
824
|
-
Defined in: [libs/ngx-auth/src/lib/services/auth.service.ts:72](https://github.com/hichchidev/hichchi/blob/
|
|
824
|
+
Defined in: [libs/ngx-auth/src/lib/services/auth.service.ts:72](https://github.com/hichchidev/hichchi/blob/0b9a2445c124fc8574826bbe19e8d3e57d724a38/libs/ngx-auth/src/lib/services/auth.service.ts#L72)
|
|
825
825
|
|
|
826
826
|
Angular authentication service for client-side authentication operations
|
|
827
827
|
|
|
@@ -885,7 +885,7 @@ export class LoginComponent {
|
|
|
885
885
|
new AuthService(config): AuthService;
|
|
886
886
|
```
|
|
887
887
|
|
|
888
|
-
Defined in: [libs/ngx-auth/src/lib/services/auth.service.ts:82](https://github.com/hichchidev/hichchi/blob/
|
|
888
|
+
Defined in: [libs/ngx-auth/src/lib/services/auth.service.ts:82](https://github.com/hichchidev/hichchi/blob/0b9a2445c124fc8574826bbe19e8d3e57d724a38/libs/ngx-auth/src/lib/services/auth.service.ts#L82)
|
|
889
889
|
|
|
890
890
|
Creates an instance of AuthService
|
|
891
891
|
|
|
@@ -945,7 +945,7 @@ CrudHttpService.constructor;
|
|
|
945
945
|
delete<Res>(url, options?): Observable<Res>;
|
|
946
946
|
```
|
|
947
947
|
|
|
948
|
-
Defined in: [libs/ngx-utils/src/lib/services/crud-http.service.ts:95](https://github.com/hichchidev/hichchi/blob/
|
|
948
|
+
Defined in: [libs/ngx-utils/src/lib/services/crud-http.service.ts:95](https://github.com/hichchidev/hichchi/blob/0b9a2445c124fc8574826bbe19e8d3e57d724a38/libs/ngx-utils/src/lib/services/crud-http.service.ts#L95)
|
|
949
949
|
|
|
950
950
|
###### Type Parameters
|
|
951
951
|
|
|
@@ -1025,7 +1025,7 @@ CrudHttpService.delete;
|
|
|
1025
1025
|
delete<Res>(url, options?): Promise<Res>;
|
|
1026
1026
|
```
|
|
1027
1027
|
|
|
1028
|
-
Defined in: [libs/ngx-utils/src/lib/services/crud-http.service.ts:97](https://github.com/hichchidev/hichchi/blob/
|
|
1028
|
+
Defined in: [libs/ngx-utils/src/lib/services/crud-http.service.ts:97](https://github.com/hichchidev/hichchi/blob/0b9a2445c124fc8574826bbe19e8d3e57d724a38/libs/ngx-utils/src/lib/services/crud-http.service.ts#L97)
|
|
1029
1029
|
|
|
1030
1030
|
###### Type Parameters
|
|
1031
1031
|
|
|
@@ -1107,7 +1107,7 @@ CrudHttpService.delete;
|
|
|
1107
1107
|
get<Res>(url, options?): Observable<Res>;
|
|
1108
1108
|
```
|
|
1109
1109
|
|
|
1110
|
-
Defined in: [libs/ngx-utils/src/lib/services/crud-http.service.ts:48](https://github.com/hichchidev/hichchi/blob/
|
|
1110
|
+
Defined in: [libs/ngx-utils/src/lib/services/crud-http.service.ts:48](https://github.com/hichchidev/hichchi/blob/0b9a2445c124fc8574826bbe19e8d3e57d724a38/libs/ngx-utils/src/lib/services/crud-http.service.ts#L48)
|
|
1111
1111
|
|
|
1112
1112
|
###### Type Parameters
|
|
1113
1113
|
|
|
@@ -1187,7 +1187,7 @@ CrudHttpService.get;
|
|
|
1187
1187
|
get<Res>(url, options?): Promise<Res>;
|
|
1188
1188
|
```
|
|
1189
1189
|
|
|
1190
|
-
Defined in: [libs/ngx-utils/src/lib/services/crud-http.service.ts:50](https://github.com/hichchidev/hichchi/blob/
|
|
1190
|
+
Defined in: [libs/ngx-utils/src/lib/services/crud-http.service.ts:50](https://github.com/hichchidev/hichchi/blob/0b9a2445c124fc8574826bbe19e8d3e57d724a38/libs/ngx-utils/src/lib/services/crud-http.service.ts#L50)
|
|
1191
1191
|
|
|
1192
1192
|
###### Type Parameters
|
|
1193
1193
|
|
|
@@ -1267,7 +1267,7 @@ CrudHttpService.get;
|
|
|
1267
1267
|
getAuthResponse(accessToken, skipNotify?): Observable<AuthResponse>;
|
|
1268
1268
|
```
|
|
1269
1269
|
|
|
1270
|
-
Defined in: [libs/ngx-auth/src/lib/services/auth.service.ts:265](https://github.com/hichchidev/hichchi/blob/
|
|
1270
|
+
Defined in: [libs/ngx-auth/src/lib/services/auth.service.ts:265](https://github.com/hichchidev/hichchi/blob/0b9a2445c124fc8574826bbe19e8d3e57d724a38/libs/ngx-auth/src/lib/services/auth.service.ts#L265)
|
|
1271
1271
|
|
|
1272
1272
|
Retrieves the complete authentication response using an access token
|
|
1273
1273
|
|
|
@@ -1364,7 +1364,7 @@ this.authService.getAuthResponse(accessToken).subscribe({
|
|
|
1364
1364
|
googleSignIn(): Promise<AccessToken>;
|
|
1365
1365
|
```
|
|
1366
1366
|
|
|
1367
|
-
Defined in: [libs/ngx-auth/src/lib/services/auth.service.ts:183](https://github.com/hichchidev/hichchi/blob/
|
|
1367
|
+
Defined in: [libs/ngx-auth/src/lib/services/auth.service.ts:183](https://github.com/hichchidev/hichchi/blob/0b9a2445c124fc8574826bbe19e8d3e57d724a38/libs/ngx-auth/src/lib/services/auth.service.ts#L183)
|
|
1368
1368
|
|
|
1369
1369
|
Initiates Google OAuth authentication using a popup window
|
|
1370
1370
|
|
|
@@ -1440,7 +1440,7 @@ patch<Res, B>(
|
|
|
1440
1440
|
options?): Observable<Res>;
|
|
1441
1441
|
```
|
|
1442
1442
|
|
|
1443
|
-
Defined in: [libs/ngx-utils/src/lib/services/crud-http.service.ts:83](https://github.com/hichchidev/hichchi/blob/
|
|
1443
|
+
Defined in: [libs/ngx-utils/src/lib/services/crud-http.service.ts:83](https://github.com/hichchidev/hichchi/blob/0b9a2445c124fc8574826bbe19e8d3e57d724a38/libs/ngx-utils/src/lib/services/crud-http.service.ts#L83)
|
|
1444
1444
|
|
|
1445
1445
|
###### Type Parameters
|
|
1446
1446
|
|
|
@@ -1547,7 +1547,7 @@ patch<Res, B>(
|
|
|
1547
1547
|
options?): Promise<Res>;
|
|
1548
1548
|
```
|
|
1549
1549
|
|
|
1550
|
-
Defined in: [libs/ngx-utils/src/lib/services/crud-http.service.ts:85](https://github.com/hichchidev/hichchi/blob/
|
|
1550
|
+
Defined in: [libs/ngx-utils/src/lib/services/crud-http.service.ts:85](https://github.com/hichchidev/hichchi/blob/0b9a2445c124fc8574826bbe19e8d3e57d724a38/libs/ngx-utils/src/lib/services/crud-http.service.ts#L85)
|
|
1551
1551
|
|
|
1552
1552
|
###### Type Parameters
|
|
1553
1553
|
|
|
@@ -1656,7 +1656,7 @@ post<Res, B>(
|
|
|
1656
1656
|
options?): Observable<Res>;
|
|
1657
1657
|
```
|
|
1658
1658
|
|
|
1659
|
-
Defined in: [libs/ngx-utils/src/lib/services/crud-http.service.ts:59](https://github.com/hichchidev/hichchi/blob/
|
|
1659
|
+
Defined in: [libs/ngx-utils/src/lib/services/crud-http.service.ts:59](https://github.com/hichchidev/hichchi/blob/0b9a2445c124fc8574826bbe19e8d3e57d724a38/libs/ngx-utils/src/lib/services/crud-http.service.ts#L59)
|
|
1660
1660
|
|
|
1661
1661
|
###### Type Parameters
|
|
1662
1662
|
|
|
@@ -1763,7 +1763,7 @@ post<Res, B>(
|
|
|
1763
1763
|
options?): Promise<Res>;
|
|
1764
1764
|
```
|
|
1765
1765
|
|
|
1766
|
-
Defined in: [libs/ngx-utils/src/lib/services/crud-http.service.ts:61](https://github.com/hichchidev/hichchi/blob/
|
|
1766
|
+
Defined in: [libs/ngx-utils/src/lib/services/crud-http.service.ts:61](https://github.com/hichchidev/hichchi/blob/0b9a2445c124fc8574826bbe19e8d3e57d724a38/libs/ngx-utils/src/lib/services/crud-http.service.ts#L61)
|
|
1767
1767
|
|
|
1768
1768
|
###### Type Parameters
|
|
1769
1769
|
|
|
@@ -1872,7 +1872,7 @@ put<Res, B>(
|
|
|
1872
1872
|
options?): Observable<Res>;
|
|
1873
1873
|
```
|
|
1874
1874
|
|
|
1875
|
-
Defined in: [libs/ngx-utils/src/lib/services/crud-http.service.ts:71](https://github.com/hichchidev/hichchi/blob/
|
|
1875
|
+
Defined in: [libs/ngx-utils/src/lib/services/crud-http.service.ts:71](https://github.com/hichchidev/hichchi/blob/0b9a2445c124fc8574826bbe19e8d3e57d724a38/libs/ngx-utils/src/lib/services/crud-http.service.ts#L71)
|
|
1876
1876
|
|
|
1877
1877
|
###### Type Parameters
|
|
1878
1878
|
|
|
@@ -1979,7 +1979,7 @@ put<Res, B>(
|
|
|
1979
1979
|
options?): Promise<Res>;
|
|
1980
1980
|
```
|
|
1981
1981
|
|
|
1982
|
-
Defined in: [libs/ngx-utils/src/lib/services/crud-http.service.ts:73](https://github.com/hichchidev/hichchi/blob/
|
|
1982
|
+
Defined in: [libs/ngx-utils/src/lib/services/crud-http.service.ts:73](https://github.com/hichchidev/hichchi/blob/0b9a2445c124fc8574826bbe19e8d3e57d724a38/libs/ngx-utils/src/lib/services/crud-http.service.ts#L73)
|
|
1983
1983
|
|
|
1984
1984
|
###### Type Parameters
|
|
1985
1985
|
|
|
@@ -2083,7 +2083,7 @@ CrudHttpService.put;
|
|
|
2083
2083
|
refreshToken(refreshToken, skipNotify?): Observable<TokenResponse>;
|
|
2084
2084
|
```
|
|
2085
2085
|
|
|
2086
|
-
Defined in: [libs/ngx-auth/src/lib/services/auth.service.ts:371](https://github.com/hichchidev/hichchi/blob/
|
|
2086
|
+
Defined in: [libs/ngx-auth/src/lib/services/auth.service.ts:371](https://github.com/hichchidev/hichchi/blob/0b9a2445c124fc8574826bbe19e8d3e57d724a38/libs/ngx-auth/src/lib/services/auth.service.ts#L371)
|
|
2087
2087
|
|
|
2088
2088
|
Refreshes an expired access token using a refresh token
|
|
2089
2089
|
|
|
@@ -2187,7 +2187,7 @@ protected request<Res, Body>(
|
|
|
2187
2187
|
options?): Promise<Res> | Observable<Res>;
|
|
2188
2188
|
```
|
|
2189
2189
|
|
|
2190
|
-
Defined in: [libs/ngx-utils/src/lib/services/crud-http.service.ts:23](https://github.com/hichchidev/hichchi/blob/
|
|
2190
|
+
Defined in: [libs/ngx-utils/src/lib/services/crud-http.service.ts:23](https://github.com/hichchidev/hichchi/blob/0b9a2445c124fc8574826bbe19e8d3e57d724a38/libs/ngx-utils/src/lib/services/crud-http.service.ts#L23)
|
|
2191
2191
|
|
|
2192
2192
|
###### Type Parameters
|
|
2193
2193
|
|
|
@@ -2303,7 +2303,7 @@ CrudHttpService.request;
|
|
|
2303
2303
|
signIn(dto, skipNotify?): Observable<AuthResponse>;
|
|
2304
2304
|
```
|
|
2305
2305
|
|
|
2306
|
-
Defined in: [libs/ngx-auth/src/lib/services/auth.service.ts:118](https://github.com/hichchidev/hichchi/blob/
|
|
2306
|
+
Defined in: [libs/ngx-auth/src/lib/services/auth.service.ts:118](https://github.com/hichchidev/hichchi/blob/0b9a2445c124fc8574826bbe19e8d3e57d724a38/libs/ngx-auth/src/lib/services/auth.service.ts#L118)
|
|
2307
2307
|
|
|
2308
2308
|
Authenticates a user with email/username and password
|
|
2309
2309
|
|
|
@@ -2397,7 +2397,7 @@ this.authService
|
|
|
2397
2397
|
signOut(skipNotify?): Observable<SuccessResponse | null>;
|
|
2398
2398
|
```
|
|
2399
2399
|
|
|
2400
|
-
Defined in: [libs/ngx-auth/src/lib/services/auth.service.ts:439](https://github.com/hichchidev/hichchi/blob/
|
|
2400
|
+
Defined in: [libs/ngx-auth/src/lib/services/auth.service.ts:439](https://github.com/hichchidev/hichchi/blob/0b9a2445c124fc8574826bbe19e8d3e57d724a38/libs/ngx-auth/src/lib/services/auth.service.ts#L439)
|
|
2401
2401
|
|
|
2402
2402
|
Signs out the current user and invalidates their session
|
|
2403
2403
|
|
|
@@ -2496,7 +2496,7 @@ async signOut() {
|
|
|
2496
2496
|
signUp(dto, skipNotify?): Observable<User<string, string, TenantSlug>>;
|
|
2497
2497
|
```
|
|
2498
2498
|
|
|
2499
|
-
Defined in: [libs/ngx-auth/src/lib/services/auth.service.ts:325](https://github.com/hichchidev/hichchi/blob/
|
|
2499
|
+
Defined in: [libs/ngx-auth/src/lib/services/auth.service.ts:325](https://github.com/hichchidev/hichchi/blob/0b9a2445c124fc8574826bbe19e8d3e57d724a38/libs/ngx-auth/src/lib/services/auth.service.ts#L325)
|
|
2500
2500
|
|
|
2501
2501
|
Registers a new user account
|
|
2502
2502
|
|
|
@@ -2599,7 +2599,7 @@ this.authService
|
|
|
2599
2599
|
static parseQuery<T>(options?): HttpQuery<Model>;
|
|
2600
2600
|
```
|
|
2601
2601
|
|
|
2602
|
-
Defined in: [libs/ngx-utils/src/lib/services/crud-http.service.ts:106](https://github.com/hichchidev/hichchi/blob/
|
|
2602
|
+
Defined in: [libs/ngx-utils/src/lib/services/crud-http.service.ts:106](https://github.com/hichchidev/hichchi/blob/0b9a2445c124fc8574826bbe19e8d3e57d724a38/libs/ngx-utils/src/lib/services/crud-http.service.ts#L106)
|
|
2603
2603
|
|
|
2604
2604
|
###### Type Parameters
|
|
2605
2605
|
|
|
@@ -2693,7 +2693,7 @@ CrudHttpService.http;
|
|
|
2693
2693
|
</td>
|
|
2694
2694
|
<td>
|
|
2695
2695
|
|
|
2696
|
-
[libs/ngx-utils/src/lib/services/crud-http.service.ts:21](https://github.com/hichchidev/hichchi/blob/
|
|
2696
|
+
[libs/ngx-utils/src/lib/services/crud-http.service.ts:21](https://github.com/hichchidev/hichchi/blob/0b9a2445c124fc8574826bbe19e8d3e57d724a38/libs/ngx-utils/src/lib/services/crud-http.service.ts#L21)
|
|
2697
2697
|
|
|
2698
2698
|
</td>
|
|
2699
2699
|
</tr>
|
|
@@ -2704,7 +2704,7 @@ CrudHttpService.http;
|
|
|
2704
2704
|
|
|
2705
2705
|
### NgxHichchiAuthModule
|
|
2706
2706
|
|
|
2707
|
-
Defined in: [libs/ngx-auth/src/lib/auth.module.ts:93](https://github.com/hichchidev/hichchi/blob/
|
|
2707
|
+
Defined in: [libs/ngx-auth/src/lib/auth.module.ts:93](https://github.com/hichchidev/hichchi/blob/0b9a2445c124fc8574826bbe19e8d3e57d724a38/libs/ngx-auth/src/lib/auth.module.ts#L93)
|
|
2708
2708
|
|
|
2709
2709
|
Angular module for authentication functionality
|
|
2710
2710
|
|
|
@@ -2794,7 +2794,7 @@ new NgxHichchiAuthModule(): NgxHichchiAuthModule;
|
|
|
2794
2794
|
static forRoot(config): ModuleWithProviders<NgxHichchiAuthModule>;
|
|
2795
2795
|
```
|
|
2796
2796
|
|
|
2797
|
-
Defined in: [libs/ngx-auth/src/lib/auth.module.ts:135](https://github.com/hichchidev/hichchi/blob/
|
|
2797
|
+
Defined in: [libs/ngx-auth/src/lib/auth.module.ts:135](https://github.com/hichchidev/hichchi/blob/0b9a2445c124fc8574826bbe19e8d3e57d724a38/libs/ngx-auth/src/lib/auth.module.ts#L135)
|
|
2798
2798
|
|
|
2799
2799
|
Configures the NgxHichchiAuthModule with the provided authentication configuration
|
|
2800
2800
|
|
|
@@ -2875,7 +2875,7 @@ NgxHichchiAuthModule.forRoot({
|
|
|
2875
2875
|
|
|
2876
2876
|
### PermissionDirective
|
|
2877
2877
|
|
|
2878
|
-
Defined in: [libs/ngx-auth/src/lib/directives/permission.directive.ts:67](https://github.com/hichchidev/hichchi/blob/
|
|
2878
|
+
Defined in: [libs/ngx-auth/src/lib/directives/permission.directive.ts:67](https://github.com/hichchidev/hichchi/blob/0b9a2445c124fc8574826bbe19e8d3e57d724a38/libs/ngx-auth/src/lib/directives/permission.directive.ts#L67)
|
|
2879
2879
|
|
|
2880
2880
|
Angular structural directive for permission-based conditional rendering
|
|
2881
2881
|
|
|
@@ -2942,7 +2942,7 @@ export class UserListComponent {
|
|
|
2942
2942
|
new PermissionDirective(): PermissionDirective;
|
|
2943
2943
|
```
|
|
2944
2944
|
|
|
2945
|
-
Defined in: [libs/ngx-auth/src/lib/directives/permission.directive.ts:114](https://github.com/hichchidev/hichchi/blob/
|
|
2945
|
+
Defined in: [libs/ngx-auth/src/lib/directives/permission.directive.ts:114](https://github.com/hichchidev/hichchi/blob/0b9a2445c124fc8574826bbe19e8d3e57d724a38/libs/ngx-auth/src/lib/directives/permission.directive.ts#L114)
|
|
2946
2946
|
|
|
2947
2947
|
Constructor that sets up the permission checking effect
|
|
2948
2948
|
|
|
@@ -3001,7 +3001,7 @@ the specified permissions (OR logic).
|
|
|
3001
3001
|
</td>
|
|
3002
3002
|
<td>
|
|
3003
3003
|
|
|
3004
|
-
[libs/ngx-auth/src/lib/directives/permission.directive.ts:105](https://github.com/hichchidev/hichchi/blob/
|
|
3004
|
+
[libs/ngx-auth/src/lib/directives/permission.directive.ts:105](https://github.com/hichchidev/hichchi/blob/0b9a2445c124fc8574826bbe19e8d3e57d724a38/libs/ngx-auth/src/lib/directives/permission.directive.ts#L105)
|
|
3005
3005
|
|
|
3006
3006
|
</td>
|
|
3007
3007
|
</tr>
|
|
@@ -3012,7 +3012,7 @@ the specified permissions (OR logic).
|
|
|
3012
3012
|
|
|
3013
3013
|
### AuthGuardCondition
|
|
3014
3014
|
|
|
3015
|
-
Defined in: [libs/ngx-auth/src/lib/enums/auth-guard-condition.enum.ts:33](https://github.com/hichchidev/hichchi/blob/
|
|
3015
|
+
Defined in: [libs/ngx-auth/src/lib/enums/auth-guard-condition.enum.ts:33](https://github.com/hichchidev/hichchi/blob/0b9a2445c124fc8574826bbe19e8d3e57d724a38/libs/ngx-auth/src/lib/enums/auth-guard-condition.enum.ts#L33)
|
|
3016
3016
|
|
|
3017
3017
|
Enumeration of authentication guard conditions
|
|
3018
3018
|
|
|
@@ -3077,7 +3077,7 @@ Check if the user has a valid access token
|
|
|
3077
3077
|
</td>
|
|
3078
3078
|
<td>
|
|
3079
3079
|
|
|
3080
|
-
[libs/ngx-auth/src/lib/enums/auth-guard-condition.enum.ts:37](https://github.com/hichchidev/hichchi/blob/
|
|
3080
|
+
[libs/ngx-auth/src/lib/enums/auth-guard-condition.enum.ts:37](https://github.com/hichchidev/hichchi/blob/0b9a2445c124fc8574826bbe19e8d3e57d724a38/libs/ngx-auth/src/lib/enums/auth-guard-condition.enum.ts#L37)
|
|
3081
3081
|
|
|
3082
3082
|
</td>
|
|
3083
3083
|
</tr>
|
|
@@ -3099,7 +3099,7 @@ Check if the user is signed in to the application
|
|
|
3099
3099
|
</td>
|
|
3100
3100
|
<td>
|
|
3101
3101
|
|
|
3102
|
-
[libs/ngx-auth/src/lib/enums/auth-guard-condition.enum.ts:35](https://github.com/hichchidev/hichchi/blob/
|
|
3102
|
+
[libs/ngx-auth/src/lib/enums/auth-guard-condition.enum.ts:35](https://github.com/hichchidev/hichchi/blob/0b9a2445c124fc8574826bbe19e8d3e57d724a38/libs/ngx-auth/src/lib/enums/auth-guard-condition.enum.ts#L35)
|
|
3103
3103
|
|
|
3104
3104
|
</td>
|
|
3105
3105
|
</tr>
|
|
@@ -3202,7 +3202,7 @@ const routes: Routes = [
|
|
|
3202
3202
|
function authGuard(options): CanActivateFn;
|
|
3203
3203
|
```
|
|
3204
3204
|
|
|
3205
|
-
Defined in: [libs/ngx-auth/src/lib/guards/auth.guard.ts:37](https://github.com/hichchidev/hichchi/blob/
|
|
3205
|
+
Defined in: [libs/ngx-auth/src/lib/guards/auth.guard.ts:37](https://github.com/hichchidev/hichchi/blob/0b9a2445c124fc8574826bbe19e8d3e57d724a38/libs/ngx-auth/src/lib/guards/auth.guard.ts#L37)
|
|
3206
3206
|
|
|
3207
3207
|
Creates an authentication guard function with multiple configuration options
|
|
3208
3208
|
|
|
@@ -3284,7 +3284,7 @@ const routes: Routes = [
|
|
|
3284
3284
|
function authGuard(condition, state, fallbackRedirect): CanActivateFn;
|
|
3285
3285
|
```
|
|
3286
3286
|
|
|
3287
|
-
Defined in: [libs/ngx-auth/src/lib/guards/auth.guard.ts:77](https://github.com/hichchidev/hichchi/blob/
|
|
3287
|
+
Defined in: [libs/ngx-auth/src/lib/guards/auth.guard.ts:77](https://github.com/hichchidev/hichchi/blob/0b9a2445c124fc8574826bbe19e8d3e57d724a38/libs/ngx-auth/src/lib/guards/auth.guard.ts#L77)
|
|
3288
3288
|
|
|
3289
3289
|
Creates an authentication guard function with a single condition
|
|
3290
3290
|
|
|
@@ -3399,7 +3399,7 @@ const routes: Routes = [
|
|
|
3399
3399
|
function authInterceptor(redirect, onRedirect?): HttpInterceptorFn;
|
|
3400
3400
|
```
|
|
3401
3401
|
|
|
3402
|
-
Defined in: [libs/ngx-auth/src/lib/interceptors/auth.interceptor.ts:167](https://github.com/hichchidev/hichchi/blob/
|
|
3402
|
+
Defined in: [libs/ngx-auth/src/lib/interceptors/auth.interceptor.ts:167](https://github.com/hichchidev/hichchi/blob/0b9a2445c124fc8574826bbe19e8d3e57d724a38/libs/ngx-auth/src/lib/interceptors/auth.interceptor.ts#L167)
|
|
3403
3403
|
|
|
3404
3404
|
Creates an HTTP interceptor for handling authentication tokens and automatic token refresh
|
|
3405
3405
|
|
|
@@ -3533,7 +3533,7 @@ export class AppModule {}
|
|
|
3533
3533
|
function roleGuard(role, options): CanActivateFn;
|
|
3534
3534
|
```
|
|
3535
3535
|
|
|
3536
|
-
Defined in: [libs/ngx-auth/src/lib/guards/role.guard.ts:76](https://github.com/hichchidev/hichchi/blob/
|
|
3536
|
+
Defined in: [libs/ngx-auth/src/lib/guards/role.guard.ts:76](https://github.com/hichchidev/hichchi/blob/0b9a2445c124fc8574826bbe19e8d3e57d724a38/libs/ngx-auth/src/lib/guards/role.guard.ts#L76)
|
|
3537
3537
|
|
|
3538
3538
|
Creates a role-based authorization guard function for Angular route protection
|
|
3539
3539
|
|
|
@@ -3662,7 +3662,7 @@ const routes: Routes = [
|
|
|
3662
3662
|
|
|
3663
3663
|
### AuthConfig
|
|
3664
3664
|
|
|
3665
|
-
Defined in: [libs/ngx-auth/src/lib/interfaces/auth-config.interface.ts:3](https://github.com/hichchidev/hichchi/blob/
|
|
3665
|
+
Defined in: [libs/ngx-auth/src/lib/interfaces/auth-config.interface.ts:3](https://github.com/hichchidev/hichchi/blob/0b9a2445c124fc8574826bbe19e8d3e57d724a38/libs/ngx-auth/src/lib/interfaces/auth-config.interface.ts#L3)
|
|
3666
3666
|
|
|
3667
3667
|
#### Properties
|
|
3668
3668
|
|
|
@@ -3688,7 +3688,7 @@ Defined in: [libs/ngx-auth/src/lib/interfaces/auth-config.interface.ts:3](https:
|
|
|
3688
3688
|
</td>
|
|
3689
3689
|
<td>
|
|
3690
3690
|
|
|
3691
|
-
[libs/ngx-auth/src/lib/interfaces/auth-config.interface.ts:5](https://github.com/hichchidev/hichchi/blob/
|
|
3691
|
+
[libs/ngx-auth/src/lib/interfaces/auth-config.interface.ts:5](https://github.com/hichchidev/hichchi/blob/0b9a2445c124fc8574826bbe19e8d3e57d724a38/libs/ngx-auth/src/lib/interfaces/auth-config.interface.ts#L5)
|
|
3692
3692
|
|
|
3693
3693
|
</td>
|
|
3694
3694
|
</tr>
|
|
@@ -3705,7 +3705,7 @@ Defined in: [libs/ngx-auth/src/lib/interfaces/auth-config.interface.ts:3](https:
|
|
|
3705
3705
|
</td>
|
|
3706
3706
|
<td>
|
|
3707
3707
|
|
|
3708
|
-
[libs/ngx-auth/src/lib/interfaces/auth-config.interface.ts:4](https://github.com/hichchidev/hichchi/blob/
|
|
3708
|
+
[libs/ngx-auth/src/lib/interfaces/auth-config.interface.ts:4](https://github.com/hichchidev/hichchi/blob/0b9a2445c124fc8574826bbe19e8d3e57d724a38/libs/ngx-auth/src/lib/interfaces/auth-config.interface.ts#L4)
|
|
3709
3709
|
|
|
3710
3710
|
</td>
|
|
3711
3711
|
</tr>
|
|
@@ -3722,7 +3722,7 @@ Defined in: [libs/ngx-auth/src/lib/interfaces/auth-config.interface.ts:3](https:
|
|
|
3722
3722
|
</td>
|
|
3723
3723
|
<td>
|
|
3724
3724
|
|
|
3725
|
-
[libs/ngx-auth/src/lib/interfaces/auth-config.interface.ts:6](https://github.com/hichchidev/hichchi/blob/
|
|
3725
|
+
[libs/ngx-auth/src/lib/interfaces/auth-config.interface.ts:6](https://github.com/hichchidev/hichchi/blob/0b9a2445c124fc8574826bbe19e8d3e57d724a38/libs/ngx-auth/src/lib/interfaces/auth-config.interface.ts#L6)
|
|
3726
3726
|
|
|
3727
3727
|
</td>
|
|
3728
3728
|
</tr>
|
|
@@ -3739,7 +3739,7 @@ Defined in: [libs/ngx-auth/src/lib/interfaces/auth-config.interface.ts:3](https:
|
|
|
3739
3739
|
</td>
|
|
3740
3740
|
<td>
|
|
3741
3741
|
|
|
3742
|
-
[libs/ngx-auth/src/lib/interfaces/auth-config.interface.ts:7](https://github.com/hichchidev/hichchi/blob/
|
|
3742
|
+
[libs/ngx-auth/src/lib/interfaces/auth-config.interface.ts:7](https://github.com/hichchidev/hichchi/blob/0b9a2445c124fc8574826bbe19e8d3e57d724a38/libs/ngx-auth/src/lib/interfaces/auth-config.interface.ts#L7)
|
|
3743
3743
|
|
|
3744
3744
|
</td>
|
|
3745
3745
|
</tr>
|
|
@@ -3750,7 +3750,7 @@ Defined in: [libs/ngx-auth/src/lib/interfaces/auth-config.interface.ts:3](https:
|
|
|
3750
3750
|
|
|
3751
3751
|
### AuthFormData
|
|
3752
3752
|
|
|
3753
|
-
Defined in: [libs/ngx-auth/src/lib/interfaces/auth-form-data.interface.ts:52](https://github.com/hichchidev/hichchi/blob/
|
|
3753
|
+
Defined in: [libs/ngx-auth/src/lib/interfaces/auth-form-data.interface.ts:52](https://github.com/hichchidev/hichchi/blob/0b9a2445c124fc8574826bbe19e8d3e57d724a38/libs/ngx-auth/src/lib/interfaces/auth-form-data.interface.ts#L52)
|
|
3754
3754
|
|
|
3755
3755
|
Interface for authentication form data
|
|
3756
3756
|
|
|
@@ -3835,7 +3835,7 @@ Authentication field value (email, username, etc.)
|
|
|
3835
3835
|
</td>
|
|
3836
3836
|
<td>
|
|
3837
3837
|
|
|
3838
|
-
[libs/ngx-auth/src/lib/interfaces/auth-form-data.interface.ts:58](https://github.com/hichchidev/hichchi/blob/
|
|
3838
|
+
[libs/ngx-auth/src/lib/interfaces/auth-form-data.interface.ts:58](https://github.com/hichchidev/hichchi/blob/0b9a2445c124fc8574826bbe19e8d3e57d724a38/libs/ngx-auth/src/lib/interfaces/auth-form-data.interface.ts#L58)
|
|
3839
3839
|
|
|
3840
3840
|
</td>
|
|
3841
3841
|
</tr>
|
|
@@ -3857,7 +3857,7 @@ User's first name
|
|
|
3857
3857
|
</td>
|
|
3858
3858
|
<td>
|
|
3859
3859
|
|
|
3860
|
-
[libs/ngx-auth/src/lib/interfaces/auth-form-data.interface.ts:54](https://github.com/hichchidev/hichchi/blob/
|
|
3860
|
+
[libs/ngx-auth/src/lib/interfaces/auth-form-data.interface.ts:54](https://github.com/hichchidev/hichchi/blob/0b9a2445c124fc8574826bbe19e8d3e57d724a38/libs/ngx-auth/src/lib/interfaces/auth-form-data.interface.ts#L54)
|
|
3861
3861
|
|
|
3862
3862
|
</td>
|
|
3863
3863
|
</tr>
|
|
@@ -3879,7 +3879,7 @@ User's last name
|
|
|
3879
3879
|
</td>
|
|
3880
3880
|
<td>
|
|
3881
3881
|
|
|
3882
|
-
[libs/ngx-auth/src/lib/interfaces/auth-form-data.interface.ts:56](https://github.com/hichchidev/hichchi/blob/
|
|
3882
|
+
[libs/ngx-auth/src/lib/interfaces/auth-form-data.interface.ts:56](https://github.com/hichchidev/hichchi/blob/0b9a2445c124fc8574826bbe19e8d3e57d724a38/libs/ngx-auth/src/lib/interfaces/auth-form-data.interface.ts#L56)
|
|
3883
3883
|
|
|
3884
3884
|
</td>
|
|
3885
3885
|
</tr>
|
|
@@ -3901,7 +3901,7 @@ User's password
|
|
|
3901
3901
|
</td>
|
|
3902
3902
|
<td>
|
|
3903
3903
|
|
|
3904
|
-
[libs/ngx-auth/src/lib/interfaces/auth-form-data.interface.ts:60](https://github.com/hichchidev/hichchi/blob/
|
|
3904
|
+
[libs/ngx-auth/src/lib/interfaces/auth-form-data.interface.ts:60](https://github.com/hichchidev/hichchi/blob/0b9a2445c124fc8574826bbe19e8d3e57d724a38/libs/ngx-auth/src/lib/interfaces/auth-form-data.interface.ts#L60)
|
|
3905
3905
|
|
|
3906
3906
|
</td>
|
|
3907
3907
|
</tr>
|
|
@@ -3912,7 +3912,7 @@ User's password
|
|
|
3912
3912
|
|
|
3913
3913
|
### AuthGuardOption
|
|
3914
3914
|
|
|
3915
|
-
Defined in: [libs/ngx-auth/src/lib/interfaces/auth-guard-option.interface.ts:66](https://github.com/hichchidev/hichchi/blob/
|
|
3915
|
+
Defined in: [libs/ngx-auth/src/lib/interfaces/auth-guard-option.interface.ts:66](https://github.com/hichchidev/hichchi/blob/0b9a2445c124fc8574826bbe19e8d3e57d724a38/libs/ngx-auth/src/lib/interfaces/auth-guard-option.interface.ts#L66)
|
|
3916
3916
|
|
|
3917
3917
|
Interface for configuring authentication guard behavior
|
|
3918
3918
|
|
|
@@ -4006,7 +4006,7 @@ The authentication condition to check
|
|
|
4006
4006
|
</td>
|
|
4007
4007
|
<td>
|
|
4008
4008
|
|
|
4009
|
-
[libs/ngx-auth/src/lib/interfaces/auth-guard-option.interface.ts:68](https://github.com/hichchidev/hichchi/blob/
|
|
4009
|
+
[libs/ngx-auth/src/lib/interfaces/auth-guard-option.interface.ts:68](https://github.com/hichchidev/hichchi/blob/0b9a2445c124fc8574826bbe19e8d3e57d724a38/libs/ngx-auth/src/lib/interfaces/auth-guard-option.interface.ts#L68)
|
|
4010
4010
|
|
|
4011
4011
|
</td>
|
|
4012
4012
|
</tr>
|
|
@@ -4028,7 +4028,7 @@ The route to redirect to if the condition is not met
|
|
|
4028
4028
|
</td>
|
|
4029
4029
|
<td>
|
|
4030
4030
|
|
|
4031
|
-
[libs/ngx-auth/src/lib/interfaces/auth-guard-option.interface.ts:72](https://github.com/hichchidev/hichchi/blob/
|
|
4031
|
+
[libs/ngx-auth/src/lib/interfaces/auth-guard-option.interface.ts:72](https://github.com/hichchidev/hichchi/blob/0b9a2445c124fc8574826bbe19e8d3e57d724a38/libs/ngx-auth/src/lib/interfaces/auth-guard-option.interface.ts#L72)
|
|
4032
4032
|
|
|
4033
4033
|
</td>
|
|
4034
4034
|
</tr>
|
|
@@ -4050,7 +4050,7 @@ The required state of the condition (true/false)
|
|
|
4050
4050
|
</td>
|
|
4051
4051
|
<td>
|
|
4052
4052
|
|
|
4053
|
-
[libs/ngx-auth/src/lib/interfaces/auth-guard-option.interface.ts:70](https://github.com/hichchidev/hichchi/blob/
|
|
4053
|
+
[libs/ngx-auth/src/lib/interfaces/auth-guard-option.interface.ts:70](https://github.com/hichchidev/hichchi/blob/0b9a2445c124fc8574826bbe19e8d3e57d724a38/libs/ngx-auth/src/lib/interfaces/auth-guard-option.interface.ts#L70)
|
|
4054
4054
|
|
|
4055
4055
|
</td>
|
|
4056
4056
|
</tr>
|
|
@@ -4061,7 +4061,7 @@ The required state of the condition (true/false)
|
|
|
4061
4061
|
|
|
4062
4062
|
### AuthStateModel
|
|
4063
4063
|
|
|
4064
|
-
Defined in: [libs/ngx-auth/src/lib/state/auth.state.ts:57](https://github.com/hichchidev/hichchi/blob/
|
|
4064
|
+
Defined in: [libs/ngx-auth/src/lib/state/auth.state.ts:57](https://github.com/hichchidev/hichchi/blob/0b9a2445c124fc8574826bbe19e8d3e57d724a38/libs/ngx-auth/src/lib/state/auth.state.ts#L57)
|
|
4065
4065
|
|
|
4066
4066
|
Interface defining the authentication state model
|
|
4067
4067
|
|
|
@@ -4151,7 +4151,7 @@ JWT access token for API authentication
|
|
|
4151
4151
|
</td>
|
|
4152
4152
|
<td>
|
|
4153
4153
|
|
|
4154
|
-
[libs/ngx-auth/src/lib/state/auth.state.ts:65](https://github.com/hichchidev/hichchi/blob/
|
|
4154
|
+
[libs/ngx-auth/src/lib/state/auth.state.ts:65](https://github.com/hichchidev/hichchi/blob/0b9a2445c124fc8574826bbe19e8d3e57d724a38/libs/ngx-auth/src/lib/state/auth.state.ts#L65)
|
|
4155
4155
|
|
|
4156
4156
|
</td>
|
|
4157
4157
|
</tr>
|
|
@@ -4173,7 +4173,7 @@ Expiration date of the access token
|
|
|
4173
4173
|
</td>
|
|
4174
4174
|
<td>
|
|
4175
4175
|
|
|
4176
|
-
[libs/ngx-auth/src/lib/state/auth.state.ts:69](https://github.com/hichchidev/hichchi/blob/
|
|
4176
|
+
[libs/ngx-auth/src/lib/state/auth.state.ts:69](https://github.com/hichchidev/hichchi/blob/0b9a2445c124fc8574826bbe19e8d3e57d724a38/libs/ngx-auth/src/lib/state/auth.state.ts#L69)
|
|
4177
4177
|
|
|
4178
4178
|
</td>
|
|
4179
4179
|
</tr>
|
|
@@ -4195,7 +4195,7 @@ Expiration date of the access token
|
|
|
4195
4195
|
</td>
|
|
4196
4196
|
<td>
|
|
4197
4197
|
|
|
4198
|
-
[libs/ngx-auth/src/lib/state/auth.state.ts:73](https://github.com/hichchidev/hichchi/blob/
|
|
4198
|
+
[libs/ngx-auth/src/lib/state/auth.state.ts:73](https://github.com/hichchidev/hichchi/blob/0b9a2445c124fc8574826bbe19e8d3e57d724a38/libs/ngx-auth/src/lib/state/auth.state.ts#L73)
|
|
4199
4199
|
|
|
4200
4200
|
</td>
|
|
4201
4201
|
</tr>
|
|
@@ -4217,7 +4217,7 @@ JWT refresh token for obtaining new access tokens
|
|
|
4217
4217
|
</td>
|
|
4218
4218
|
<td>
|
|
4219
4219
|
|
|
4220
|
-
[libs/ngx-auth/src/lib/state/auth.state.ts:67](https://github.com/hichchidev/hichchi/blob/
|
|
4220
|
+
[libs/ngx-auth/src/lib/state/auth.state.ts:67](https://github.com/hichchidev/hichchi/blob/0b9a2445c124fc8574826bbe19e8d3e57d724a38/libs/ngx-auth/src/lib/state/auth.state.ts#L67)
|
|
4221
4221
|
|
|
4222
4222
|
</td>
|
|
4223
4223
|
</tr>
|
|
@@ -4239,7 +4239,7 @@ Expiration date of the refresh token
|
|
|
4239
4239
|
</td>
|
|
4240
4240
|
<td>
|
|
4241
4241
|
|
|
4242
|
-
[libs/ngx-auth/src/lib/state/auth.state.ts:71](https://github.com/hichchidev/hichchi/blob/
|
|
4242
|
+
[libs/ngx-auth/src/lib/state/auth.state.ts:71](https://github.com/hichchidev/hichchi/blob/0b9a2445c124fc8574826bbe19e8d3e57d724a38/libs/ngx-auth/src/lib/state/auth.state.ts#L71)
|
|
4243
4243
|
|
|
4244
4244
|
</td>
|
|
4245
4245
|
</tr>
|
|
@@ -4261,7 +4261,7 @@ Unique identifier for the current session
|
|
|
4261
4261
|
</td>
|
|
4262
4262
|
<td>
|
|
4263
4263
|
|
|
4264
|
-
[libs/ngx-auth/src/lib/state/auth.state.ts:61](https://github.com/hichchidev/hichchi/blob/
|
|
4264
|
+
[libs/ngx-auth/src/lib/state/auth.state.ts:61](https://github.com/hichchidev/hichchi/blob/0b9a2445c124fc8574826bbe19e8d3e57d724a38/libs/ngx-auth/src/lib/state/auth.state.ts#L61)
|
|
4265
4265
|
|
|
4266
4266
|
</td>
|
|
4267
4267
|
</tr>
|
|
@@ -4283,7 +4283,7 @@ Whether the user is currently signed in
|
|
|
4283
4283
|
</td>
|
|
4284
4284
|
<td>
|
|
4285
4285
|
|
|
4286
|
-
[libs/ngx-auth/src/lib/state/auth.state.ts:59](https://github.com/hichchidev/hichchi/blob/
|
|
4286
|
+
[libs/ngx-auth/src/lib/state/auth.state.ts:59](https://github.com/hichchidev/hichchi/blob/0b9a2445c124fc8574826bbe19e8d3e57d724a38/libs/ngx-auth/src/lib/state/auth.state.ts#L59)
|
|
4287
4287
|
|
|
4288
4288
|
</td>
|
|
4289
4289
|
</tr>
|
|
@@ -4305,7 +4305,7 @@ Current authenticated user information
|
|
|
4305
4305
|
</td>
|
|
4306
4306
|
<td>
|
|
4307
4307
|
|
|
4308
|
-
[libs/ngx-auth/src/lib/state/auth.state.ts:63](https://github.com/hichchidev/hichchi/blob/
|
|
4308
|
+
[libs/ngx-auth/src/lib/state/auth.state.ts:63](https://github.com/hichchidev/hichchi/blob/0b9a2445c124fc8574826bbe19e8d3e57d724a38/libs/ngx-auth/src/lib/state/auth.state.ts#L63)
|
|
4309
4309
|
|
|
4310
4310
|
</td>
|
|
4311
4311
|
</tr>
|
|
@@ -4316,7 +4316,7 @@ Current authenticated user information
|
|
|
4316
4316
|
|
|
4317
4317
|
### RoleGuardOption
|
|
4318
4318
|
|
|
4319
|
-
Defined in: [libs/ngx-auth/src/lib/interfaces/role-guard-option.interface.ts:1](https://github.com/hichchidev/hichchi/blob/
|
|
4319
|
+
Defined in: [libs/ngx-auth/src/lib/interfaces/role-guard-option.interface.ts:1](https://github.com/hichchidev/hichchi/blob/0b9a2445c124fc8574826bbe19e8d3e57d724a38/libs/ngx-auth/src/lib/interfaces/role-guard-option.interface.ts#L1)
|
|
4320
4320
|
|
|
4321
4321
|
#### Properties
|
|
4322
4322
|
|
|
@@ -4348,7 +4348,7 @@ The route to redirect to if the role exist
|
|
|
4348
4348
|
</td>
|
|
4349
4349
|
<td>
|
|
4350
4350
|
|
|
4351
|
-
[libs/ngx-auth/src/lib/interfaces/role-guard-option.interface.ts:5](https://github.com/hichchidev/hichchi/blob/
|
|
4351
|
+
[libs/ngx-auth/src/lib/interfaces/role-guard-option.interface.ts:5](https://github.com/hichchidev/hichchi/blob/0b9a2445c124fc8574826bbe19e8d3e57d724a38/libs/ngx-auth/src/lib/interfaces/role-guard-option.interface.ts#L5)
|
|
4352
4352
|
|
|
4353
4353
|
</td>
|
|
4354
4354
|
</tr>
|
|
@@ -4370,7 +4370,7 @@ The required state of the role
|
|
|
4370
4370
|
</td>
|
|
4371
4371
|
<td>
|
|
4372
4372
|
|
|
4373
|
-
[libs/ngx-auth/src/lib/interfaces/role-guard-option.interface.ts:3](https://github.com/hichchidev/hichchi/blob/
|
|
4373
|
+
[libs/ngx-auth/src/lib/interfaces/role-guard-option.interface.ts:3](https://github.com/hichchidev/hichchi/blob/0b9a2445c124fc8574826bbe19e8d3e57d724a38/libs/ngx-auth/src/lib/interfaces/role-guard-option.interface.ts#L3)
|
|
4374
4374
|
|
|
4375
4375
|
</td>
|
|
4376
4376
|
</tr>
|
|
@@ -4385,7 +4385,7 @@ The required state of the role
|
|
|
4385
4385
|
type AuthState<D, R, P, U> = object;
|
|
4386
4386
|
```
|
|
4387
4387
|
|
|
4388
|
-
Defined in: [libs/ngx-auth/src/lib/state/auth.state.ts:164](https://github.com/hichchidev/hichchi/blob/
|
|
4388
|
+
Defined in: [libs/ngx-auth/src/lib/state/auth.state.ts:164](https://github.com/hichchidev/hichchi/blob/0b9a2445c124fc8574826bbe19e8d3e57d724a38/libs/ngx-auth/src/lib/state/auth.state.ts#L164)
|
|
4389
4389
|
|
|
4390
4390
|
Public typed shape of the `AuthState` signal store.
|
|
4391
4391
|
|
|
@@ -4458,7 +4458,7 @@ Public typed shape of the `AuthState` signal store.
|
|
|
4458
4458
|
accessToken: Signal<AccessToken | null>;
|
|
4459
4459
|
```
|
|
4460
4460
|
|
|
4461
|
-
Defined in: [libs/ngx-auth/src/lib/state/auth.state.ts:760](https://github.com/hichchidev/hichchi/blob/
|
|
4461
|
+
Defined in: [libs/ngx-auth/src/lib/state/auth.state.ts:760](https://github.com/hichchidev/hichchi/blob/0b9a2445c124fc8574826bbe19e8d3e57d724a38/libs/ngx-auth/src/lib/state/auth.state.ts#L760)
|
|
4462
4462
|
|
|
4463
4463
|
##### accessTokenExpiresOn
|
|
4464
4464
|
|
|
@@ -4466,7 +4466,7 @@ Defined in: [libs/ngx-auth/src/lib/state/auth.state.ts:760](https://github.com/h
|
|
|
4466
4466
|
accessTokenExpiresOn: Signal<Date | null>;
|
|
4467
4467
|
```
|
|
4468
4468
|
|
|
4469
|
-
Defined in: [libs/ngx-auth/src/lib/state/auth.state.ts:762](https://github.com/hichchidev/hichchi/blob/
|
|
4469
|
+
Defined in: [libs/ngx-auth/src/lib/state/auth.state.ts:762](https://github.com/hichchidev/hichchi/blob/0b9a2445c124fc8574826bbe19e8d3e57d724a38/libs/ngx-auth/src/lib/state/auth.state.ts#L762)
|
|
4470
4470
|
|
|
4471
4471
|
##### authenticateWithToken()
|
|
4472
4472
|
|
|
@@ -4474,7 +4474,7 @@ Defined in: [libs/ngx-auth/src/lib/state/auth.state.ts:762](https://github.com/h
|
|
|
4474
4474
|
authenticateWithToken: <AsPromise>(accessToken, redirect?, asPromise?, showError?) => AsPromise extends true ? Promise<AuthResponse> : Observable<AuthResponse>;
|
|
4475
4475
|
```
|
|
4476
4476
|
|
|
4477
|
-
Defined in: [libs/ngx-auth/src/lib/state/auth.state.ts:780](https://github.com/hichchidev/hichchi/blob/
|
|
4477
|
+
Defined in: [libs/ngx-auth/src/lib/state/auth.state.ts:780](https://github.com/hichchidev/hichchi/blob/0b9a2445c124fc8574826bbe19e8d3e57d724a38/libs/ngx-auth/src/lib/state/auth.state.ts#L780)
|
|
4478
4478
|
|
|
4479
4479
|
###### Type Parameters
|
|
4480
4480
|
|
|
@@ -4572,7 +4572,7 @@ Defined in: [libs/ngx-auth/src/lib/state/auth.state.ts:780](https://github.com/h
|
|
|
4572
4572
|
data: Signal<D>;
|
|
4573
4573
|
```
|
|
4574
4574
|
|
|
4575
|
-
Defined in: [libs/ngx-auth/src/lib/state/auth.state.ts:764](https://github.com/hichchidev/hichchi/blob/
|
|
4575
|
+
Defined in: [libs/ngx-auth/src/lib/state/auth.state.ts:764](https://github.com/hichchidev/hichchi/blob/0b9a2445c124fc8574826bbe19e8d3e57d724a38/libs/ngx-auth/src/lib/state/auth.state.ts#L764)
|
|
4576
4576
|
|
|
4577
4577
|
##### emailVerified
|
|
4578
4578
|
|
|
@@ -4580,7 +4580,7 @@ Defined in: [libs/ngx-auth/src/lib/state/auth.state.ts:764](https://github.com/h
|
|
|
4580
4580
|
emailVerified: Signal<boolean>;
|
|
4581
4581
|
```
|
|
4582
4582
|
|
|
4583
|
-
Defined in: [libs/ngx-auth/src/lib/state/auth.state.ts:770](https://github.com/hichchidev/hichchi/blob/
|
|
4583
|
+
Defined in: [libs/ngx-auth/src/lib/state/auth.state.ts:770](https://github.com/hichchidev/hichchi/blob/0b9a2445c124fc8574826bbe19e8d3e57d724a38/libs/ngx-auth/src/lib/state/auth.state.ts#L770)
|
|
4584
4584
|
|
|
4585
4585
|
##### hasAccessToken
|
|
4586
4586
|
|
|
@@ -4588,7 +4588,7 @@ Defined in: [libs/ngx-auth/src/lib/state/auth.state.ts:770](https://github.com/h
|
|
|
4588
4588
|
hasAccessToken: Signal<boolean>;
|
|
4589
4589
|
```
|
|
4590
4590
|
|
|
4591
|
-
Defined in: [libs/ngx-auth/src/lib/state/auth.state.ts:766](https://github.com/hichchidev/hichchi/blob/
|
|
4591
|
+
Defined in: [libs/ngx-auth/src/lib/state/auth.state.ts:766](https://github.com/hichchidev/hichchi/blob/0b9a2445c124fc8574826bbe19e8d3e57d724a38/libs/ngx-auth/src/lib/state/auth.state.ts#L766)
|
|
4592
4592
|
|
|
4593
4593
|
##### permissions
|
|
4594
4594
|
|
|
@@ -4596,7 +4596,7 @@ Defined in: [libs/ngx-auth/src/lib/state/auth.state.ts:766](https://github.com/h
|
|
|
4596
4596
|
permissions: Signal<P[]>;
|
|
4597
4597
|
```
|
|
4598
4598
|
|
|
4599
|
-
Defined in: [libs/ngx-auth/src/lib/state/auth.state.ts:769](https://github.com/hichchidev/hichchi/blob/
|
|
4599
|
+
Defined in: [libs/ngx-auth/src/lib/state/auth.state.ts:769](https://github.com/hichchidev/hichchi/blob/0b9a2445c124fc8574826bbe19e8d3e57d724a38/libs/ngx-auth/src/lib/state/auth.state.ts#L769)
|
|
4600
4600
|
|
|
4601
4601
|
##### refreshToken
|
|
4602
4602
|
|
|
@@ -4604,7 +4604,7 @@ Defined in: [libs/ngx-auth/src/lib/state/auth.state.ts:769](https://github.com/h
|
|
|
4604
4604
|
refreshToken: Signal<RefreshToken | null>;
|
|
4605
4605
|
```
|
|
4606
4606
|
|
|
4607
|
-
Defined in: [libs/ngx-auth/src/lib/state/auth.state.ts:761](https://github.com/hichchidev/hichchi/blob/
|
|
4607
|
+
Defined in: [libs/ngx-auth/src/lib/state/auth.state.ts:761](https://github.com/hichchidev/hichchi/blob/0b9a2445c124fc8574826bbe19e8d3e57d724a38/libs/ngx-auth/src/lib/state/auth.state.ts#L761)
|
|
4608
4608
|
|
|
4609
4609
|
##### refreshTokenExpiresOn
|
|
4610
4610
|
|
|
@@ -4612,7 +4612,7 @@ Defined in: [libs/ngx-auth/src/lib/state/auth.state.ts:761](https://github.com/h
|
|
|
4612
4612
|
refreshTokenExpiresOn: Signal<Date | null>;
|
|
4613
4613
|
```
|
|
4614
4614
|
|
|
4615
|
-
Defined in: [libs/ngx-auth/src/lib/state/auth.state.ts:763](https://github.com/hichchidev/hichchi/blob/
|
|
4615
|
+
Defined in: [libs/ngx-auth/src/lib/state/auth.state.ts:763](https://github.com/hichchidev/hichchi/blob/0b9a2445c124fc8574826bbe19e8d3e57d724a38/libs/ngx-auth/src/lib/state/auth.state.ts#L763)
|
|
4616
4616
|
|
|
4617
4617
|
##### reset()
|
|
4618
4618
|
|
|
@@ -4620,7 +4620,7 @@ Defined in: [libs/ngx-auth/src/lib/state/auth.state.ts:763](https://github.com/h
|
|
|
4620
4620
|
reset: () => void;
|
|
4621
4621
|
```
|
|
4622
4622
|
|
|
4623
|
-
Defined in: [libs/ngx-auth/src/lib/state/auth.state.ts:772](https://github.com/hichchidev/hichchi/blob/
|
|
4623
|
+
Defined in: [libs/ngx-auth/src/lib/state/auth.state.ts:772](https://github.com/hichchidev/hichchi/blob/0b9a2445c124fc8574826bbe19e8d3e57d724a38/libs/ngx-auth/src/lib/state/auth.state.ts#L772)
|
|
4624
4624
|
|
|
4625
4625
|
###### Returns
|
|
4626
4626
|
|
|
@@ -4632,7 +4632,7 @@ Defined in: [libs/ngx-auth/src/lib/state/auth.state.ts:772](https://github.com/h
|
|
|
4632
4632
|
role: Signal<U["role"] | null | undefined>;
|
|
4633
4633
|
```
|
|
4634
4634
|
|
|
4635
|
-
Defined in: [libs/ngx-auth/src/lib/state/auth.state.ts:767](https://github.com/hichchidev/hichchi/blob/
|
|
4635
|
+
Defined in: [libs/ngx-auth/src/lib/state/auth.state.ts:767](https://github.com/hichchidev/hichchi/blob/0b9a2445c124fc8574826bbe19e8d3e57d724a38/libs/ngx-auth/src/lib/state/auth.state.ts#L767)
|
|
4636
4636
|
|
|
4637
4637
|
##### roleName
|
|
4638
4638
|
|
|
@@ -4640,7 +4640,7 @@ Defined in: [libs/ngx-auth/src/lib/state/auth.state.ts:767](https://github.com/h
|
|
|
4640
4640
|
roleName: Signal<R | null | undefined>;
|
|
4641
4641
|
```
|
|
4642
4642
|
|
|
4643
|
-
Defined in: [libs/ngx-auth/src/lib/state/auth.state.ts:768](https://github.com/hichchidev/hichchi/blob/
|
|
4643
|
+
Defined in: [libs/ngx-auth/src/lib/state/auth.state.ts:768](https://github.com/hichchidev/hichchi/blob/0b9a2445c124fc8574826bbe19e8d3e57d724a38/libs/ngx-auth/src/lib/state/auth.state.ts#L768)
|
|
4644
4644
|
|
|
4645
4645
|
##### sessionId
|
|
4646
4646
|
|
|
@@ -4648,7 +4648,7 @@ Defined in: [libs/ngx-auth/src/lib/state/auth.state.ts:768](https://github.com/h
|
|
|
4648
4648
|
sessionId: Signal<string | null>;
|
|
4649
4649
|
```
|
|
4650
4650
|
|
|
4651
|
-
Defined in: [libs/ngx-auth/src/lib/state/auth.state.ts:758](https://github.com/hichchidev/hichchi/blob/
|
|
4651
|
+
Defined in: [libs/ngx-auth/src/lib/state/auth.state.ts:758](https://github.com/hichchidev/hichchi/blob/0b9a2445c124fc8574826bbe19e8d3e57d724a38/libs/ngx-auth/src/lib/state/auth.state.ts#L758)
|
|
4652
4652
|
|
|
4653
4653
|
##### setData()
|
|
4654
4654
|
|
|
@@ -4656,7 +4656,7 @@ Defined in: [libs/ngx-auth/src/lib/state/auth.state.ts:758](https://github.com/h
|
|
|
4656
4656
|
setData: (stateData) => void;
|
|
4657
4657
|
```
|
|
4658
4658
|
|
|
4659
|
-
Defined in: [libs/ngx-auth/src/lib/state/auth.state.ts:791](https://github.com/hichchidev/hichchi/blob/
|
|
4659
|
+
Defined in: [libs/ngx-auth/src/lib/state/auth.state.ts:791](https://github.com/hichchidev/hichchi/blob/0b9a2445c124fc8574826bbe19e8d3e57d724a38/libs/ngx-auth/src/lib/state/auth.state.ts#L791)
|
|
4660
4660
|
|
|
4661
4661
|
###### Parameters
|
|
4662
4662
|
|
|
@@ -4693,7 +4693,7 @@ Defined in: [libs/ngx-auth/src/lib/state/auth.state.ts:791](https://github.com/h
|
|
|
4693
4693
|
setTokens: (tokenResponse) => void;
|
|
4694
4694
|
```
|
|
4695
4695
|
|
|
4696
|
-
Defined in: [libs/ngx-auth/src/lib/state/auth.state.ts:773](https://github.com/hichchidev/hichchi/blob/
|
|
4696
|
+
Defined in: [libs/ngx-auth/src/lib/state/auth.state.ts:773](https://github.com/hichchidev/hichchi/blob/0b9a2445c124fc8574826bbe19e8d3e57d724a38/libs/ngx-auth/src/lib/state/auth.state.ts#L773)
|
|
4697
4697
|
|
|
4698
4698
|
###### Parameters
|
|
4699
4699
|
|
|
@@ -4730,7 +4730,7 @@ Defined in: [libs/ngx-auth/src/lib/state/auth.state.ts:773](https://github.com/h
|
|
|
4730
4730
|
signedIn: Signal<boolean>;
|
|
4731
4731
|
```
|
|
4732
4732
|
|
|
4733
|
-
Defined in: [libs/ngx-auth/src/lib/state/auth.state.ts:757](https://github.com/hichchidev/hichchi/blob/
|
|
4733
|
+
Defined in: [libs/ngx-auth/src/lib/state/auth.state.ts:757](https://github.com/hichchidev/hichchi/blob/0b9a2445c124fc8574826bbe19e8d3e57d724a38/libs/ngx-auth/src/lib/state/auth.state.ts#L757)
|
|
4734
4734
|
|
|
4735
4735
|
##### signIn()
|
|
4736
4736
|
|
|
@@ -4738,7 +4738,7 @@ Defined in: [libs/ngx-auth/src/lib/state/auth.state.ts:757](https://github.com/h
|
|
|
4738
4738
|
signIn: <AsPromise>(signInBody, redirect?, asPromise?, showError?) => AsPromise extends true ? Promise<AuthResponse> : Observable<AuthResponse>;
|
|
4739
4739
|
```
|
|
4740
4740
|
|
|
4741
|
-
Defined in: [libs/ngx-auth/src/lib/state/auth.state.ts:774](https://github.com/hichchidev/hichchi/blob/
|
|
4741
|
+
Defined in: [libs/ngx-auth/src/lib/state/auth.state.ts:774](https://github.com/hichchidev/hichchi/blob/0b9a2445c124fc8574826bbe19e8d3e57d724a38/libs/ngx-auth/src/lib/state/auth.state.ts#L774)
|
|
4742
4742
|
|
|
4743
4743
|
###### Type Parameters
|
|
4744
4744
|
|
|
@@ -4836,7 +4836,7 @@ Defined in: [libs/ngx-auth/src/lib/state/auth.state.ts:774](https://github.com/h
|
|
|
4836
4836
|
signOut: <AsPromise>(redirect?, asPromise?, showError?) => AsPromise extends true ? Promise<SuccessResponse | null> : Observable<SuccessResponse | null>;
|
|
4837
4837
|
```
|
|
4838
4838
|
|
|
4839
|
-
Defined in: [libs/ngx-auth/src/lib/state/auth.state.ts:786](https://github.com/hichchidev/hichchi/blob/
|
|
4839
|
+
Defined in: [libs/ngx-auth/src/lib/state/auth.state.ts:786](https://github.com/hichchidev/hichchi/blob/0b9a2445c124fc8574826bbe19e8d3e57d724a38/libs/ngx-auth/src/lib/state/auth.state.ts#L786)
|
|
4840
4840
|
|
|
4841
4841
|
###### Type Parameters
|
|
4842
4842
|
|
|
@@ -4922,7 +4922,7 @@ Defined in: [libs/ngx-auth/src/lib/state/auth.state.ts:786](https://github.com/h
|
|
|
4922
4922
|
user: Signal<U | null>;
|
|
4923
4923
|
```
|
|
4924
4924
|
|
|
4925
|
-
Defined in: [libs/ngx-auth/src/lib/state/auth.state.ts:759](https://github.com/hichchidev/hichchi/blob/
|
|
4925
|
+
Defined in: [libs/ngx-auth/src/lib/state/auth.state.ts:759](https://github.com/hichchidev/hichchi/blob/0b9a2445c124fc8574826bbe19e8d3e57d724a38/libs/ngx-auth/src/lib/state/auth.state.ts#L759)
|
|
4926
4926
|
|
|
4927
4927
|
## Variables
|
|
4928
4928
|
|
|
@@ -4944,7 +4944,7 @@ const AuthState: Type<
|
|
|
4944
4944
|
>;
|
|
4945
4945
|
```
|
|
4946
4946
|
|
|
4947
|
-
Defined in: [libs/ngx-auth/src/lib/state/auth.state.ts:164](https://github.com/hichchidev/hichchi/blob/
|
|
4947
|
+
Defined in: [libs/ngx-auth/src/lib/state/auth.state.ts:164](https://github.com/hichchidev/hichchi/blob/0b9a2445c124fc8574826bbe19e8d3e57d724a38/libs/ngx-auth/src/lib/state/auth.state.ts#L164)
|
|
4948
4948
|
|
|
4949
4949
|
Authentication state management store using NgRx Signals
|
|
4950
4950
|
|
|
@@ -5037,7 +5037,7 @@ export class HeaderComponent {
|
|
|
5037
5037
|
const SKIPPED_ERRORS: ErrorResponseCode[];
|
|
5038
5038
|
```
|
|
5039
5039
|
|
|
5040
|
-
Defined in: [libs/ngx-auth/src/lib/interceptors/auth.interceptor.ts:30](https://github.com/hichchidev/hichchi/blob/
|
|
5040
|
+
Defined in: [libs/ngx-auth/src/lib/interceptors/auth.interceptor.ts:30](https://github.com/hichchidev/hichchi/blob/0b9a2445c124fc8574826bbe19e8d3e57d724a38/libs/ngx-auth/src/lib/interceptors/auth.interceptor.ts#L30)
|
|
5041
5041
|
|
|
5042
5042
|
Array of authentication error codes that should trigger token refresh instead of immediate redirect
|
|
5043
5043
|
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@hichchi/ngx-auth",
|
|
3
3
|
"description": "A utility library for Angular applications with common services, interceptors, and state management",
|
|
4
|
-
"version": "0.0.
|
|
4
|
+
"version": "0.0.9",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"access": "public"
|
|
7
7
|
},
|
|
@@ -19,10 +19,10 @@
|
|
|
19
19
|
"@angular/core": "^21.1.4",
|
|
20
20
|
"@angular/forms": "^21.1.4",
|
|
21
21
|
"@angular/router": "^21.1.4",
|
|
22
|
-
"@hichchi/nest-connector": "0.0.
|
|
23
|
-
"@hichchi/ngx-ui": "0.0.
|
|
24
|
-
"@hichchi/ngx-utils": "0.0.
|
|
25
|
-
"@hichchi/utils": "0.0.
|
|
22
|
+
"@hichchi/nest-connector": "0.0.9",
|
|
23
|
+
"@hichchi/ngx-ui": "0.0.9",
|
|
24
|
+
"@hichchi/ngx-utils": "0.0.9",
|
|
25
|
+
"@hichchi/utils": "0.0.9",
|
|
26
26
|
"@ngrx/signals": "^21.0.1",
|
|
27
27
|
"rxjs": "^7.8.2"
|
|
28
28
|
},
|