@hichchi/ngx-auth 0.0.6 → 0.0.7
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/749f9c434693b8495a3c3d593a69d77fd1189dac/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/749f9c434693b8495a3c3d593a69d77fd1189dac/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/749f9c434693b8495a3c3d593a69d77fd1189dac/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/749f9c434693b8495a3c3d593a69d77fd1189dac/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/749f9c434693b8495a3c3d593a69d77fd1189dac/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/749f9c434693b8495a3c3d593a69d77fd1189dac/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/749f9c434693b8495a3c3d593a69d77fd1189dac/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/749f9c434693b8495a3c3d593a69d77fd1189dac/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/749f9c434693b8495a3c3d593a69d77fd1189dac/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/749f9c434693b8495a3c3d593a69d77fd1189dac/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/749f9c434693b8495a3c3d593a69d77fd1189dac/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/749f9c434693b8495a3c3d593a69d77fd1189dac/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/749f9c434693b8495a3c3d593a69d77fd1189dac/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/749f9c434693b8495a3c3d593a69d77fd1189dac/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/749f9c434693b8495a3c3d593a69d77fd1189dac/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/749f9c434693b8495a3c3d593a69d77fd1189dac/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/749f9c434693b8495a3c3d593a69d77fd1189dac/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/749f9c434693b8495a3c3d593a69d77fd1189dac/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/749f9c434693b8495a3c3d593a69d77fd1189dac/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/749f9c434693b8495a3c3d593a69d77fd1189dac/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/749f9c434693b8495a3c3d593a69d77fd1189dac/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/749f9c434693b8495a3c3d593a69d77fd1189dac/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/749f9c434693b8495a3c3d593a69d77fd1189dac/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/749f9c434693b8495a3c3d593a69d77fd1189dac/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/749f9c434693b8495a3c3d593a69d77fd1189dac/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/749f9c434693b8495a3c3d593a69d77fd1189dac/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/749f9c434693b8495a3c3d593a69d77fd1189dac/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/749f9c434693b8495a3c3d593a69d77fd1189dac/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/749f9c434693b8495a3c3d593a69d77fd1189dac/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/749f9c434693b8495a3c3d593a69d77fd1189dac/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/749f9c434693b8495a3c3d593a69d77fd1189dac/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/749f9c434693b8495a3c3d593a69d77fd1189dac/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/749f9c434693b8495a3c3d593a69d77fd1189dac/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/749f9c434693b8495a3c3d593a69d77fd1189dac/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/749f9c434693b8495a3c3d593a69d77fd1189dac/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/749f9c434693b8495a3c3d593a69d77fd1189dac/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/749f9c434693b8495a3c3d593a69d77fd1189dac/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/749f9c434693b8495a3c3d593a69d77fd1189dac/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/749f9c434693b8495a3c3d593a69d77fd1189dac/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>>;
|
|
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/749f9c434693b8495a3c3d593a69d77fd1189dac/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/749f9c434693b8495a3c3d593a69d77fd1189dac/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/749f9c434693b8495a3c3d593a69d77fd1189dac/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/749f9c434693b8495a3c3d593a69d77fd1189dac/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:136](https://github.com/hichchidev/hichchi/blob/
|
|
2797
|
+
Defined in: [libs/ngx-auth/src/lib/auth.module.ts:136](https://github.com/hichchidev/hichchi/blob/749f9c434693b8495a3c3d593a69d77fd1189dac/libs/ngx-auth/src/lib/auth.module.ts#L136)
|
|
2798
2798
|
|
|
2799
2799
|
Configures the NgxHichchiAuthModule with the provided authentication configuration
|
|
2800
2800
|
|
|
@@ -2876,7 +2876,7 @@ NgxHichchiAuthModule.forRoot({
|
|
|
2876
2876
|
|
|
2877
2877
|
### PermissionDirective
|
|
2878
2878
|
|
|
2879
|
-
Defined in: [libs/ngx-auth/src/lib/directives/permission.directive.ts:67](https://github.com/hichchidev/hichchi/blob/
|
|
2879
|
+
Defined in: [libs/ngx-auth/src/lib/directives/permission.directive.ts:67](https://github.com/hichchidev/hichchi/blob/749f9c434693b8495a3c3d593a69d77fd1189dac/libs/ngx-auth/src/lib/directives/permission.directive.ts#L67)
|
|
2880
2880
|
|
|
2881
2881
|
Angular structural directive for permission-based conditional rendering
|
|
2882
2882
|
|
|
@@ -2943,7 +2943,7 @@ export class UserListComponent {
|
|
|
2943
2943
|
new PermissionDirective(): PermissionDirective;
|
|
2944
2944
|
```
|
|
2945
2945
|
|
|
2946
|
-
Defined in: [libs/ngx-auth/src/lib/directives/permission.directive.ts:114](https://github.com/hichchidev/hichchi/blob/
|
|
2946
|
+
Defined in: [libs/ngx-auth/src/lib/directives/permission.directive.ts:114](https://github.com/hichchidev/hichchi/blob/749f9c434693b8495a3c3d593a69d77fd1189dac/libs/ngx-auth/src/lib/directives/permission.directive.ts#L114)
|
|
2947
2947
|
|
|
2948
2948
|
Constructor that sets up the permission checking effect
|
|
2949
2949
|
|
|
@@ -3002,7 +3002,7 @@ the specified permissions (OR logic).
|
|
|
3002
3002
|
</td>
|
|
3003
3003
|
<td>
|
|
3004
3004
|
|
|
3005
|
-
[libs/ngx-auth/src/lib/directives/permission.directive.ts:105](https://github.com/hichchidev/hichchi/blob/
|
|
3005
|
+
[libs/ngx-auth/src/lib/directives/permission.directive.ts:105](https://github.com/hichchidev/hichchi/blob/749f9c434693b8495a3c3d593a69d77fd1189dac/libs/ngx-auth/src/lib/directives/permission.directive.ts#L105)
|
|
3006
3006
|
|
|
3007
3007
|
</td>
|
|
3008
3008
|
</tr>
|
|
@@ -3013,7 +3013,7 @@ the specified permissions (OR logic).
|
|
|
3013
3013
|
|
|
3014
3014
|
### AuthGuardCondition
|
|
3015
3015
|
|
|
3016
|
-
Defined in: [libs/ngx-auth/src/lib/enums/auth-guard-condition.enum.ts:33](https://github.com/hichchidev/hichchi/blob/
|
|
3016
|
+
Defined in: [libs/ngx-auth/src/lib/enums/auth-guard-condition.enum.ts:33](https://github.com/hichchidev/hichchi/blob/749f9c434693b8495a3c3d593a69d77fd1189dac/libs/ngx-auth/src/lib/enums/auth-guard-condition.enum.ts#L33)
|
|
3017
3017
|
|
|
3018
3018
|
Enumeration of authentication guard conditions
|
|
3019
3019
|
|
|
@@ -3078,7 +3078,7 @@ Check if the user has a valid access token
|
|
|
3078
3078
|
</td>
|
|
3079
3079
|
<td>
|
|
3080
3080
|
|
|
3081
|
-
[libs/ngx-auth/src/lib/enums/auth-guard-condition.enum.ts:37](https://github.com/hichchidev/hichchi/blob/
|
|
3081
|
+
[libs/ngx-auth/src/lib/enums/auth-guard-condition.enum.ts:37](https://github.com/hichchidev/hichchi/blob/749f9c434693b8495a3c3d593a69d77fd1189dac/libs/ngx-auth/src/lib/enums/auth-guard-condition.enum.ts#L37)
|
|
3082
3082
|
|
|
3083
3083
|
</td>
|
|
3084
3084
|
</tr>
|
|
@@ -3100,7 +3100,7 @@ Check if the user is signed in to the application
|
|
|
3100
3100
|
</td>
|
|
3101
3101
|
<td>
|
|
3102
3102
|
|
|
3103
|
-
[libs/ngx-auth/src/lib/enums/auth-guard-condition.enum.ts:35](https://github.com/hichchidev/hichchi/blob/
|
|
3103
|
+
[libs/ngx-auth/src/lib/enums/auth-guard-condition.enum.ts:35](https://github.com/hichchidev/hichchi/blob/749f9c434693b8495a3c3d593a69d77fd1189dac/libs/ngx-auth/src/lib/enums/auth-guard-condition.enum.ts#L35)
|
|
3104
3104
|
|
|
3105
3105
|
</td>
|
|
3106
3106
|
</tr>
|
|
@@ -3203,7 +3203,7 @@ const routes: Routes = [
|
|
|
3203
3203
|
function authGuard(options): CanActivateFn;
|
|
3204
3204
|
```
|
|
3205
3205
|
|
|
3206
|
-
Defined in: [libs/ngx-auth/src/lib/guards/auth.guard.ts:37](https://github.com/hichchidev/hichchi/blob/
|
|
3206
|
+
Defined in: [libs/ngx-auth/src/lib/guards/auth.guard.ts:37](https://github.com/hichchidev/hichchi/blob/749f9c434693b8495a3c3d593a69d77fd1189dac/libs/ngx-auth/src/lib/guards/auth.guard.ts#L37)
|
|
3207
3207
|
|
|
3208
3208
|
Creates an authentication guard function with multiple configuration options
|
|
3209
3209
|
|
|
@@ -3285,7 +3285,7 @@ const routes: Routes = [
|
|
|
3285
3285
|
function authGuard(condition, state, fallbackRedirect): CanActivateFn;
|
|
3286
3286
|
```
|
|
3287
3287
|
|
|
3288
|
-
Defined in: [libs/ngx-auth/src/lib/guards/auth.guard.ts:77](https://github.com/hichchidev/hichchi/blob/
|
|
3288
|
+
Defined in: [libs/ngx-auth/src/lib/guards/auth.guard.ts:77](https://github.com/hichchidev/hichchi/blob/749f9c434693b8495a3c3d593a69d77fd1189dac/libs/ngx-auth/src/lib/guards/auth.guard.ts#L77)
|
|
3289
3289
|
|
|
3290
3290
|
Creates an authentication guard function with a single condition
|
|
3291
3291
|
|
|
@@ -3400,7 +3400,7 @@ const routes: Routes = [
|
|
|
3400
3400
|
function authInterceptor(redirect, onRedirect?): HttpInterceptorFn;
|
|
3401
3401
|
```
|
|
3402
3402
|
|
|
3403
|
-
Defined in: [libs/ngx-auth/src/lib/interceptors/auth.interceptor.ts:167](https://github.com/hichchidev/hichchi/blob/
|
|
3403
|
+
Defined in: [libs/ngx-auth/src/lib/interceptors/auth.interceptor.ts:167](https://github.com/hichchidev/hichchi/blob/749f9c434693b8495a3c3d593a69d77fd1189dac/libs/ngx-auth/src/lib/interceptors/auth.interceptor.ts#L167)
|
|
3404
3404
|
|
|
3405
3405
|
Creates an HTTP interceptor for handling authentication tokens and automatic token refresh
|
|
3406
3406
|
|
|
@@ -3534,7 +3534,7 @@ export class AppModule {}
|
|
|
3534
3534
|
function roleGuard(role, options): CanActivateFn;
|
|
3535
3535
|
```
|
|
3536
3536
|
|
|
3537
|
-
Defined in: [libs/ngx-auth/src/lib/guards/role.guard.ts:76](https://github.com/hichchidev/hichchi/blob/
|
|
3537
|
+
Defined in: [libs/ngx-auth/src/lib/guards/role.guard.ts:76](https://github.com/hichchidev/hichchi/blob/749f9c434693b8495a3c3d593a69d77fd1189dac/libs/ngx-auth/src/lib/guards/role.guard.ts#L76)
|
|
3538
3538
|
|
|
3539
3539
|
Creates a role-based authorization guard function for Angular route protection
|
|
3540
3540
|
|
|
@@ -3663,7 +3663,7 @@ const routes: Routes = [
|
|
|
3663
3663
|
|
|
3664
3664
|
### AuthConfig
|
|
3665
3665
|
|
|
3666
|
-
Defined in: [libs/ngx-auth/src/lib/interfaces/auth-config.interface.ts:3](https://github.com/hichchidev/hichchi/blob/
|
|
3666
|
+
Defined in: [libs/ngx-auth/src/lib/interfaces/auth-config.interface.ts:3](https://github.com/hichchidev/hichchi/blob/749f9c434693b8495a3c3d593a69d77fd1189dac/libs/ngx-auth/src/lib/interfaces/auth-config.interface.ts#L3)
|
|
3667
3667
|
|
|
3668
3668
|
#### Properties
|
|
3669
3669
|
|
|
@@ -3689,7 +3689,7 @@ Defined in: [libs/ngx-auth/src/lib/interfaces/auth-config.interface.ts:3](https:
|
|
|
3689
3689
|
</td>
|
|
3690
3690
|
<td>
|
|
3691
3691
|
|
|
3692
|
-
[libs/ngx-auth/src/lib/interfaces/auth-config.interface.ts:5](https://github.com/hichchidev/hichchi/blob/
|
|
3692
|
+
[libs/ngx-auth/src/lib/interfaces/auth-config.interface.ts:5](https://github.com/hichchidev/hichchi/blob/749f9c434693b8495a3c3d593a69d77fd1189dac/libs/ngx-auth/src/lib/interfaces/auth-config.interface.ts#L5)
|
|
3693
3693
|
|
|
3694
3694
|
</td>
|
|
3695
3695
|
</tr>
|
|
@@ -3706,7 +3706,7 @@ Defined in: [libs/ngx-auth/src/lib/interfaces/auth-config.interface.ts:3](https:
|
|
|
3706
3706
|
</td>
|
|
3707
3707
|
<td>
|
|
3708
3708
|
|
|
3709
|
-
[libs/ngx-auth/src/lib/interfaces/auth-config.interface.ts:4](https://github.com/hichchidev/hichchi/blob/
|
|
3709
|
+
[libs/ngx-auth/src/lib/interfaces/auth-config.interface.ts:4](https://github.com/hichchidev/hichchi/blob/749f9c434693b8495a3c3d593a69d77fd1189dac/libs/ngx-auth/src/lib/interfaces/auth-config.interface.ts#L4)
|
|
3710
3710
|
|
|
3711
3711
|
</td>
|
|
3712
3712
|
</tr>
|
|
@@ -3723,7 +3723,7 @@ Defined in: [libs/ngx-auth/src/lib/interfaces/auth-config.interface.ts:3](https:
|
|
|
3723
3723
|
</td>
|
|
3724
3724
|
<td>
|
|
3725
3725
|
|
|
3726
|
-
[libs/ngx-auth/src/lib/interfaces/auth-config.interface.ts:6](https://github.com/hichchidev/hichchi/blob/
|
|
3726
|
+
[libs/ngx-auth/src/lib/interfaces/auth-config.interface.ts:6](https://github.com/hichchidev/hichchi/blob/749f9c434693b8495a3c3d593a69d77fd1189dac/libs/ngx-auth/src/lib/interfaces/auth-config.interface.ts#L6)
|
|
3727
3727
|
|
|
3728
3728
|
</td>
|
|
3729
3729
|
</tr>
|
|
@@ -3740,7 +3740,7 @@ Defined in: [libs/ngx-auth/src/lib/interfaces/auth-config.interface.ts:3](https:
|
|
|
3740
3740
|
</td>
|
|
3741
3741
|
<td>
|
|
3742
3742
|
|
|
3743
|
-
[libs/ngx-auth/src/lib/interfaces/auth-config.interface.ts:7](https://github.com/hichchidev/hichchi/blob/
|
|
3743
|
+
[libs/ngx-auth/src/lib/interfaces/auth-config.interface.ts:7](https://github.com/hichchidev/hichchi/blob/749f9c434693b8495a3c3d593a69d77fd1189dac/libs/ngx-auth/src/lib/interfaces/auth-config.interface.ts#L7)
|
|
3744
3744
|
|
|
3745
3745
|
</td>
|
|
3746
3746
|
</tr>
|
|
@@ -3751,7 +3751,7 @@ Defined in: [libs/ngx-auth/src/lib/interfaces/auth-config.interface.ts:3](https:
|
|
|
3751
3751
|
|
|
3752
3752
|
### AuthFormData
|
|
3753
3753
|
|
|
3754
|
-
Defined in: [libs/ngx-auth/src/lib/interfaces/auth-form-data.interface.ts:52](https://github.com/hichchidev/hichchi/blob/
|
|
3754
|
+
Defined in: [libs/ngx-auth/src/lib/interfaces/auth-form-data.interface.ts:52](https://github.com/hichchidev/hichchi/blob/749f9c434693b8495a3c3d593a69d77fd1189dac/libs/ngx-auth/src/lib/interfaces/auth-form-data.interface.ts#L52)
|
|
3755
3755
|
|
|
3756
3756
|
Interface for authentication form data
|
|
3757
3757
|
|
|
@@ -3836,7 +3836,7 @@ Authentication field value (email, username, etc.)
|
|
|
3836
3836
|
</td>
|
|
3837
3837
|
<td>
|
|
3838
3838
|
|
|
3839
|
-
[libs/ngx-auth/src/lib/interfaces/auth-form-data.interface.ts:58](https://github.com/hichchidev/hichchi/blob/
|
|
3839
|
+
[libs/ngx-auth/src/lib/interfaces/auth-form-data.interface.ts:58](https://github.com/hichchidev/hichchi/blob/749f9c434693b8495a3c3d593a69d77fd1189dac/libs/ngx-auth/src/lib/interfaces/auth-form-data.interface.ts#L58)
|
|
3840
3840
|
|
|
3841
3841
|
</td>
|
|
3842
3842
|
</tr>
|
|
@@ -3858,7 +3858,7 @@ User's first name
|
|
|
3858
3858
|
</td>
|
|
3859
3859
|
<td>
|
|
3860
3860
|
|
|
3861
|
-
[libs/ngx-auth/src/lib/interfaces/auth-form-data.interface.ts:54](https://github.com/hichchidev/hichchi/blob/
|
|
3861
|
+
[libs/ngx-auth/src/lib/interfaces/auth-form-data.interface.ts:54](https://github.com/hichchidev/hichchi/blob/749f9c434693b8495a3c3d593a69d77fd1189dac/libs/ngx-auth/src/lib/interfaces/auth-form-data.interface.ts#L54)
|
|
3862
3862
|
|
|
3863
3863
|
</td>
|
|
3864
3864
|
</tr>
|
|
@@ -3880,7 +3880,7 @@ User's last name
|
|
|
3880
3880
|
</td>
|
|
3881
3881
|
<td>
|
|
3882
3882
|
|
|
3883
|
-
[libs/ngx-auth/src/lib/interfaces/auth-form-data.interface.ts:56](https://github.com/hichchidev/hichchi/blob/
|
|
3883
|
+
[libs/ngx-auth/src/lib/interfaces/auth-form-data.interface.ts:56](https://github.com/hichchidev/hichchi/blob/749f9c434693b8495a3c3d593a69d77fd1189dac/libs/ngx-auth/src/lib/interfaces/auth-form-data.interface.ts#L56)
|
|
3884
3884
|
|
|
3885
3885
|
</td>
|
|
3886
3886
|
</tr>
|
|
@@ -3902,7 +3902,7 @@ User's password
|
|
|
3902
3902
|
</td>
|
|
3903
3903
|
<td>
|
|
3904
3904
|
|
|
3905
|
-
[libs/ngx-auth/src/lib/interfaces/auth-form-data.interface.ts:60](https://github.com/hichchidev/hichchi/blob/
|
|
3905
|
+
[libs/ngx-auth/src/lib/interfaces/auth-form-data.interface.ts:60](https://github.com/hichchidev/hichchi/blob/749f9c434693b8495a3c3d593a69d77fd1189dac/libs/ngx-auth/src/lib/interfaces/auth-form-data.interface.ts#L60)
|
|
3906
3906
|
|
|
3907
3907
|
</td>
|
|
3908
3908
|
</tr>
|
|
@@ -3913,7 +3913,7 @@ User's password
|
|
|
3913
3913
|
|
|
3914
3914
|
### AuthGuardOption
|
|
3915
3915
|
|
|
3916
|
-
Defined in: [libs/ngx-auth/src/lib/interfaces/auth-guard-option.interface.ts:66](https://github.com/hichchidev/hichchi/blob/
|
|
3916
|
+
Defined in: [libs/ngx-auth/src/lib/interfaces/auth-guard-option.interface.ts:66](https://github.com/hichchidev/hichchi/blob/749f9c434693b8495a3c3d593a69d77fd1189dac/libs/ngx-auth/src/lib/interfaces/auth-guard-option.interface.ts#L66)
|
|
3917
3917
|
|
|
3918
3918
|
Interface for configuring authentication guard behavior
|
|
3919
3919
|
|
|
@@ -4007,7 +4007,7 @@ The authentication condition to check
|
|
|
4007
4007
|
</td>
|
|
4008
4008
|
<td>
|
|
4009
4009
|
|
|
4010
|
-
[libs/ngx-auth/src/lib/interfaces/auth-guard-option.interface.ts:68](https://github.com/hichchidev/hichchi/blob/
|
|
4010
|
+
[libs/ngx-auth/src/lib/interfaces/auth-guard-option.interface.ts:68](https://github.com/hichchidev/hichchi/blob/749f9c434693b8495a3c3d593a69d77fd1189dac/libs/ngx-auth/src/lib/interfaces/auth-guard-option.interface.ts#L68)
|
|
4011
4011
|
|
|
4012
4012
|
</td>
|
|
4013
4013
|
</tr>
|
|
@@ -4029,7 +4029,7 @@ The route to redirect to if the condition is not met
|
|
|
4029
4029
|
</td>
|
|
4030
4030
|
<td>
|
|
4031
4031
|
|
|
4032
|
-
[libs/ngx-auth/src/lib/interfaces/auth-guard-option.interface.ts:72](https://github.com/hichchidev/hichchi/blob/
|
|
4032
|
+
[libs/ngx-auth/src/lib/interfaces/auth-guard-option.interface.ts:72](https://github.com/hichchidev/hichchi/blob/749f9c434693b8495a3c3d593a69d77fd1189dac/libs/ngx-auth/src/lib/interfaces/auth-guard-option.interface.ts#L72)
|
|
4033
4033
|
|
|
4034
4034
|
</td>
|
|
4035
4035
|
</tr>
|
|
@@ -4051,7 +4051,7 @@ The required state of the condition (true/false)
|
|
|
4051
4051
|
</td>
|
|
4052
4052
|
<td>
|
|
4053
4053
|
|
|
4054
|
-
[libs/ngx-auth/src/lib/interfaces/auth-guard-option.interface.ts:70](https://github.com/hichchidev/hichchi/blob/
|
|
4054
|
+
[libs/ngx-auth/src/lib/interfaces/auth-guard-option.interface.ts:70](https://github.com/hichchidev/hichchi/blob/749f9c434693b8495a3c3d593a69d77fd1189dac/libs/ngx-auth/src/lib/interfaces/auth-guard-option.interface.ts#L70)
|
|
4055
4055
|
|
|
4056
4056
|
</td>
|
|
4057
4057
|
</tr>
|
|
@@ -4062,7 +4062,7 @@ The required state of the condition (true/false)
|
|
|
4062
4062
|
|
|
4063
4063
|
### AuthStateModel
|
|
4064
4064
|
|
|
4065
|
-
Defined in: [libs/ngx-auth/src/lib/state/auth.state.ts:57](https://github.com/hichchidev/hichchi/blob/
|
|
4065
|
+
Defined in: [libs/ngx-auth/src/lib/state/auth.state.ts:57](https://github.com/hichchidev/hichchi/blob/749f9c434693b8495a3c3d593a69d77fd1189dac/libs/ngx-auth/src/lib/state/auth.state.ts#L57)
|
|
4066
4066
|
|
|
4067
4067
|
Interface defining the authentication state model
|
|
4068
4068
|
|
|
@@ -4152,7 +4152,7 @@ JWT access token for API authentication
|
|
|
4152
4152
|
</td>
|
|
4153
4153
|
<td>
|
|
4154
4154
|
|
|
4155
|
-
[libs/ngx-auth/src/lib/state/auth.state.ts:65](https://github.com/hichchidev/hichchi/blob/
|
|
4155
|
+
[libs/ngx-auth/src/lib/state/auth.state.ts:65](https://github.com/hichchidev/hichchi/blob/749f9c434693b8495a3c3d593a69d77fd1189dac/libs/ngx-auth/src/lib/state/auth.state.ts#L65)
|
|
4156
4156
|
|
|
4157
4157
|
</td>
|
|
4158
4158
|
</tr>
|
|
@@ -4174,7 +4174,7 @@ Expiration date of the access token
|
|
|
4174
4174
|
</td>
|
|
4175
4175
|
<td>
|
|
4176
4176
|
|
|
4177
|
-
[libs/ngx-auth/src/lib/state/auth.state.ts:69](https://github.com/hichchidev/hichchi/blob/
|
|
4177
|
+
[libs/ngx-auth/src/lib/state/auth.state.ts:69](https://github.com/hichchidev/hichchi/blob/749f9c434693b8495a3c3d593a69d77fd1189dac/libs/ngx-auth/src/lib/state/auth.state.ts#L69)
|
|
4178
4178
|
|
|
4179
4179
|
</td>
|
|
4180
4180
|
</tr>
|
|
@@ -4196,7 +4196,7 @@ Expiration date of the access token
|
|
|
4196
4196
|
</td>
|
|
4197
4197
|
<td>
|
|
4198
4198
|
|
|
4199
|
-
[libs/ngx-auth/src/lib/state/auth.state.ts:73](https://github.com/hichchidev/hichchi/blob/
|
|
4199
|
+
[libs/ngx-auth/src/lib/state/auth.state.ts:73](https://github.com/hichchidev/hichchi/blob/749f9c434693b8495a3c3d593a69d77fd1189dac/libs/ngx-auth/src/lib/state/auth.state.ts#L73)
|
|
4200
4200
|
|
|
4201
4201
|
</td>
|
|
4202
4202
|
</tr>
|
|
@@ -4218,7 +4218,7 @@ JWT refresh token for obtaining new access tokens
|
|
|
4218
4218
|
</td>
|
|
4219
4219
|
<td>
|
|
4220
4220
|
|
|
4221
|
-
[libs/ngx-auth/src/lib/state/auth.state.ts:67](https://github.com/hichchidev/hichchi/blob/
|
|
4221
|
+
[libs/ngx-auth/src/lib/state/auth.state.ts:67](https://github.com/hichchidev/hichchi/blob/749f9c434693b8495a3c3d593a69d77fd1189dac/libs/ngx-auth/src/lib/state/auth.state.ts#L67)
|
|
4222
4222
|
|
|
4223
4223
|
</td>
|
|
4224
4224
|
</tr>
|
|
@@ -4240,7 +4240,7 @@ Expiration date of the refresh token
|
|
|
4240
4240
|
</td>
|
|
4241
4241
|
<td>
|
|
4242
4242
|
|
|
4243
|
-
[libs/ngx-auth/src/lib/state/auth.state.ts:71](https://github.com/hichchidev/hichchi/blob/
|
|
4243
|
+
[libs/ngx-auth/src/lib/state/auth.state.ts:71](https://github.com/hichchidev/hichchi/blob/749f9c434693b8495a3c3d593a69d77fd1189dac/libs/ngx-auth/src/lib/state/auth.state.ts#L71)
|
|
4244
4244
|
|
|
4245
4245
|
</td>
|
|
4246
4246
|
</tr>
|
|
@@ -4262,7 +4262,7 @@ Unique identifier for the current session
|
|
|
4262
4262
|
</td>
|
|
4263
4263
|
<td>
|
|
4264
4264
|
|
|
4265
|
-
[libs/ngx-auth/src/lib/state/auth.state.ts:61](https://github.com/hichchidev/hichchi/blob/
|
|
4265
|
+
[libs/ngx-auth/src/lib/state/auth.state.ts:61](https://github.com/hichchidev/hichchi/blob/749f9c434693b8495a3c3d593a69d77fd1189dac/libs/ngx-auth/src/lib/state/auth.state.ts#L61)
|
|
4266
4266
|
|
|
4267
4267
|
</td>
|
|
4268
4268
|
</tr>
|
|
@@ -4284,7 +4284,7 @@ Whether the user is currently signed in
|
|
|
4284
4284
|
</td>
|
|
4285
4285
|
<td>
|
|
4286
4286
|
|
|
4287
|
-
[libs/ngx-auth/src/lib/state/auth.state.ts:59](https://github.com/hichchidev/hichchi/blob/
|
|
4287
|
+
[libs/ngx-auth/src/lib/state/auth.state.ts:59](https://github.com/hichchidev/hichchi/blob/749f9c434693b8495a3c3d593a69d77fd1189dac/libs/ngx-auth/src/lib/state/auth.state.ts#L59)
|
|
4288
4288
|
|
|
4289
4289
|
</td>
|
|
4290
4290
|
</tr>
|
|
@@ -4306,7 +4306,7 @@ Current authenticated user information
|
|
|
4306
4306
|
</td>
|
|
4307
4307
|
<td>
|
|
4308
4308
|
|
|
4309
|
-
[libs/ngx-auth/src/lib/state/auth.state.ts:63](https://github.com/hichchidev/hichchi/blob/
|
|
4309
|
+
[libs/ngx-auth/src/lib/state/auth.state.ts:63](https://github.com/hichchidev/hichchi/blob/749f9c434693b8495a3c3d593a69d77fd1189dac/libs/ngx-auth/src/lib/state/auth.state.ts#L63)
|
|
4310
4310
|
|
|
4311
4311
|
</td>
|
|
4312
4312
|
</tr>
|
|
@@ -4317,7 +4317,7 @@ Current authenticated user information
|
|
|
4317
4317
|
|
|
4318
4318
|
### RoleGuardOption
|
|
4319
4319
|
|
|
4320
|
-
Defined in: [libs/ngx-auth/src/lib/interfaces/role-guard-option.interface.ts:1](https://github.com/hichchidev/hichchi/blob/
|
|
4320
|
+
Defined in: [libs/ngx-auth/src/lib/interfaces/role-guard-option.interface.ts:1](https://github.com/hichchidev/hichchi/blob/749f9c434693b8495a3c3d593a69d77fd1189dac/libs/ngx-auth/src/lib/interfaces/role-guard-option.interface.ts#L1)
|
|
4321
4321
|
|
|
4322
4322
|
#### Properties
|
|
4323
4323
|
|
|
@@ -4349,7 +4349,7 @@ The route to redirect to if the role exist
|
|
|
4349
4349
|
</td>
|
|
4350
4350
|
<td>
|
|
4351
4351
|
|
|
4352
|
-
[libs/ngx-auth/src/lib/interfaces/role-guard-option.interface.ts:5](https://github.com/hichchidev/hichchi/blob/
|
|
4352
|
+
[libs/ngx-auth/src/lib/interfaces/role-guard-option.interface.ts:5](https://github.com/hichchidev/hichchi/blob/749f9c434693b8495a3c3d593a69d77fd1189dac/libs/ngx-auth/src/lib/interfaces/role-guard-option.interface.ts#L5)
|
|
4353
4353
|
|
|
4354
4354
|
</td>
|
|
4355
4355
|
</tr>
|
|
@@ -4371,7 +4371,7 @@ The required state of the role
|
|
|
4371
4371
|
</td>
|
|
4372
4372
|
<td>
|
|
4373
4373
|
|
|
4374
|
-
[libs/ngx-auth/src/lib/interfaces/role-guard-option.interface.ts:3](https://github.com/hichchidev/hichchi/blob/
|
|
4374
|
+
[libs/ngx-auth/src/lib/interfaces/role-guard-option.interface.ts:3](https://github.com/hichchidev/hichchi/blob/749f9c434693b8495a3c3d593a69d77fd1189dac/libs/ngx-auth/src/lib/interfaces/role-guard-option.interface.ts#L3)
|
|
4375
4375
|
|
|
4376
4376
|
</td>
|
|
4377
4377
|
</tr>
|
|
@@ -4386,7 +4386,7 @@ The required state of the role
|
|
|
4386
4386
|
type AuthState<D, R, P, U> = object;
|
|
4387
4387
|
```
|
|
4388
4388
|
|
|
4389
|
-
Defined in: [libs/ngx-auth/src/lib/state/auth.state.ts:164](https://github.com/hichchidev/hichchi/blob/
|
|
4389
|
+
Defined in: [libs/ngx-auth/src/lib/state/auth.state.ts:164](https://github.com/hichchidev/hichchi/blob/749f9c434693b8495a3c3d593a69d77fd1189dac/libs/ngx-auth/src/lib/state/auth.state.ts#L164)
|
|
4390
4390
|
|
|
4391
4391
|
Public typed shape of the `AuthState` signal store.
|
|
4392
4392
|
|
|
@@ -4459,7 +4459,7 @@ Public typed shape of the `AuthState` signal store.
|
|
|
4459
4459
|
accessToken: Signal<AccessToken | null>;
|
|
4460
4460
|
```
|
|
4461
4461
|
|
|
4462
|
-
Defined in: [libs/ngx-auth/src/lib/state/auth.state.ts:760](https://github.com/hichchidev/hichchi/blob/
|
|
4462
|
+
Defined in: [libs/ngx-auth/src/lib/state/auth.state.ts:760](https://github.com/hichchidev/hichchi/blob/749f9c434693b8495a3c3d593a69d77fd1189dac/libs/ngx-auth/src/lib/state/auth.state.ts#L760)
|
|
4463
4463
|
|
|
4464
4464
|
##### accessTokenExpiresOn
|
|
4465
4465
|
|
|
@@ -4467,7 +4467,7 @@ Defined in: [libs/ngx-auth/src/lib/state/auth.state.ts:760](https://github.com/h
|
|
|
4467
4467
|
accessTokenExpiresOn: Signal<Date | null>;
|
|
4468
4468
|
```
|
|
4469
4469
|
|
|
4470
|
-
Defined in: [libs/ngx-auth/src/lib/state/auth.state.ts:762](https://github.com/hichchidev/hichchi/blob/
|
|
4470
|
+
Defined in: [libs/ngx-auth/src/lib/state/auth.state.ts:762](https://github.com/hichchidev/hichchi/blob/749f9c434693b8495a3c3d593a69d77fd1189dac/libs/ngx-auth/src/lib/state/auth.state.ts#L762)
|
|
4471
4471
|
|
|
4472
4472
|
##### authenticateWithToken()
|
|
4473
4473
|
|
|
@@ -4475,7 +4475,7 @@ Defined in: [libs/ngx-auth/src/lib/state/auth.state.ts:762](https://github.com/h
|
|
|
4475
4475
|
authenticateWithToken: <AsPromise>(accessToken, redirect?, asPromise?, showError?) => AsPromise extends true ? Promise<AuthResponse> : Observable<AuthResponse>;
|
|
4476
4476
|
```
|
|
4477
4477
|
|
|
4478
|
-
Defined in: [libs/ngx-auth/src/lib/state/auth.state.ts:780](https://github.com/hichchidev/hichchi/blob/
|
|
4478
|
+
Defined in: [libs/ngx-auth/src/lib/state/auth.state.ts:780](https://github.com/hichchidev/hichchi/blob/749f9c434693b8495a3c3d593a69d77fd1189dac/libs/ngx-auth/src/lib/state/auth.state.ts#L780)
|
|
4479
4479
|
|
|
4480
4480
|
###### Type Parameters
|
|
4481
4481
|
|
|
@@ -4573,7 +4573,7 @@ Defined in: [libs/ngx-auth/src/lib/state/auth.state.ts:780](https://github.com/h
|
|
|
4573
4573
|
data: Signal<D>;
|
|
4574
4574
|
```
|
|
4575
4575
|
|
|
4576
|
-
Defined in: [libs/ngx-auth/src/lib/state/auth.state.ts:764](https://github.com/hichchidev/hichchi/blob/
|
|
4576
|
+
Defined in: [libs/ngx-auth/src/lib/state/auth.state.ts:764](https://github.com/hichchidev/hichchi/blob/749f9c434693b8495a3c3d593a69d77fd1189dac/libs/ngx-auth/src/lib/state/auth.state.ts#L764)
|
|
4577
4577
|
|
|
4578
4578
|
##### emailVerified
|
|
4579
4579
|
|
|
@@ -4581,7 +4581,7 @@ Defined in: [libs/ngx-auth/src/lib/state/auth.state.ts:764](https://github.com/h
|
|
|
4581
4581
|
emailVerified: Signal<boolean>;
|
|
4582
4582
|
```
|
|
4583
4583
|
|
|
4584
|
-
Defined in: [libs/ngx-auth/src/lib/state/auth.state.ts:770](https://github.com/hichchidev/hichchi/blob/
|
|
4584
|
+
Defined in: [libs/ngx-auth/src/lib/state/auth.state.ts:770](https://github.com/hichchidev/hichchi/blob/749f9c434693b8495a3c3d593a69d77fd1189dac/libs/ngx-auth/src/lib/state/auth.state.ts#L770)
|
|
4585
4585
|
|
|
4586
4586
|
##### hasAccessToken
|
|
4587
4587
|
|
|
@@ -4589,7 +4589,7 @@ Defined in: [libs/ngx-auth/src/lib/state/auth.state.ts:770](https://github.com/h
|
|
|
4589
4589
|
hasAccessToken: Signal<boolean>;
|
|
4590
4590
|
```
|
|
4591
4591
|
|
|
4592
|
-
Defined in: [libs/ngx-auth/src/lib/state/auth.state.ts:766](https://github.com/hichchidev/hichchi/blob/
|
|
4592
|
+
Defined in: [libs/ngx-auth/src/lib/state/auth.state.ts:766](https://github.com/hichchidev/hichchi/blob/749f9c434693b8495a3c3d593a69d77fd1189dac/libs/ngx-auth/src/lib/state/auth.state.ts#L766)
|
|
4593
4593
|
|
|
4594
4594
|
##### permissions
|
|
4595
4595
|
|
|
@@ -4597,7 +4597,7 @@ Defined in: [libs/ngx-auth/src/lib/state/auth.state.ts:766](https://github.com/h
|
|
|
4597
4597
|
permissions: Signal<P[]>;
|
|
4598
4598
|
```
|
|
4599
4599
|
|
|
4600
|
-
Defined in: [libs/ngx-auth/src/lib/state/auth.state.ts:769](https://github.com/hichchidev/hichchi/blob/
|
|
4600
|
+
Defined in: [libs/ngx-auth/src/lib/state/auth.state.ts:769](https://github.com/hichchidev/hichchi/blob/749f9c434693b8495a3c3d593a69d77fd1189dac/libs/ngx-auth/src/lib/state/auth.state.ts#L769)
|
|
4601
4601
|
|
|
4602
4602
|
##### refreshToken
|
|
4603
4603
|
|
|
@@ -4605,7 +4605,7 @@ Defined in: [libs/ngx-auth/src/lib/state/auth.state.ts:769](https://github.com/h
|
|
|
4605
4605
|
refreshToken: Signal<RefreshToken | null>;
|
|
4606
4606
|
```
|
|
4607
4607
|
|
|
4608
|
-
Defined in: [libs/ngx-auth/src/lib/state/auth.state.ts:761](https://github.com/hichchidev/hichchi/blob/
|
|
4608
|
+
Defined in: [libs/ngx-auth/src/lib/state/auth.state.ts:761](https://github.com/hichchidev/hichchi/blob/749f9c434693b8495a3c3d593a69d77fd1189dac/libs/ngx-auth/src/lib/state/auth.state.ts#L761)
|
|
4609
4609
|
|
|
4610
4610
|
##### refreshTokenExpiresOn
|
|
4611
4611
|
|
|
@@ -4613,7 +4613,7 @@ Defined in: [libs/ngx-auth/src/lib/state/auth.state.ts:761](https://github.com/h
|
|
|
4613
4613
|
refreshTokenExpiresOn: Signal<Date | null>;
|
|
4614
4614
|
```
|
|
4615
4615
|
|
|
4616
|
-
Defined in: [libs/ngx-auth/src/lib/state/auth.state.ts:763](https://github.com/hichchidev/hichchi/blob/
|
|
4616
|
+
Defined in: [libs/ngx-auth/src/lib/state/auth.state.ts:763](https://github.com/hichchidev/hichchi/blob/749f9c434693b8495a3c3d593a69d77fd1189dac/libs/ngx-auth/src/lib/state/auth.state.ts#L763)
|
|
4617
4617
|
|
|
4618
4618
|
##### reset()
|
|
4619
4619
|
|
|
@@ -4621,7 +4621,7 @@ Defined in: [libs/ngx-auth/src/lib/state/auth.state.ts:763](https://github.com/h
|
|
|
4621
4621
|
reset: () => void;
|
|
4622
4622
|
```
|
|
4623
4623
|
|
|
4624
|
-
Defined in: [libs/ngx-auth/src/lib/state/auth.state.ts:772](https://github.com/hichchidev/hichchi/blob/
|
|
4624
|
+
Defined in: [libs/ngx-auth/src/lib/state/auth.state.ts:772](https://github.com/hichchidev/hichchi/blob/749f9c434693b8495a3c3d593a69d77fd1189dac/libs/ngx-auth/src/lib/state/auth.state.ts#L772)
|
|
4625
4625
|
|
|
4626
4626
|
###### Returns
|
|
4627
4627
|
|
|
@@ -4633,7 +4633,7 @@ Defined in: [libs/ngx-auth/src/lib/state/auth.state.ts:772](https://github.com/h
|
|
|
4633
4633
|
role: Signal<U["role"] | null | undefined>;
|
|
4634
4634
|
```
|
|
4635
4635
|
|
|
4636
|
-
Defined in: [libs/ngx-auth/src/lib/state/auth.state.ts:767](https://github.com/hichchidev/hichchi/blob/
|
|
4636
|
+
Defined in: [libs/ngx-auth/src/lib/state/auth.state.ts:767](https://github.com/hichchidev/hichchi/blob/749f9c434693b8495a3c3d593a69d77fd1189dac/libs/ngx-auth/src/lib/state/auth.state.ts#L767)
|
|
4637
4637
|
|
|
4638
4638
|
##### roleName
|
|
4639
4639
|
|
|
@@ -4641,7 +4641,7 @@ Defined in: [libs/ngx-auth/src/lib/state/auth.state.ts:767](https://github.com/h
|
|
|
4641
4641
|
roleName: Signal<R | null | undefined>;
|
|
4642
4642
|
```
|
|
4643
4643
|
|
|
4644
|
-
Defined in: [libs/ngx-auth/src/lib/state/auth.state.ts:768](https://github.com/hichchidev/hichchi/blob/
|
|
4644
|
+
Defined in: [libs/ngx-auth/src/lib/state/auth.state.ts:768](https://github.com/hichchidev/hichchi/blob/749f9c434693b8495a3c3d593a69d77fd1189dac/libs/ngx-auth/src/lib/state/auth.state.ts#L768)
|
|
4645
4645
|
|
|
4646
4646
|
##### sessionId
|
|
4647
4647
|
|
|
@@ -4649,7 +4649,7 @@ Defined in: [libs/ngx-auth/src/lib/state/auth.state.ts:768](https://github.com/h
|
|
|
4649
4649
|
sessionId: Signal<string | null>;
|
|
4650
4650
|
```
|
|
4651
4651
|
|
|
4652
|
-
Defined in: [libs/ngx-auth/src/lib/state/auth.state.ts:758](https://github.com/hichchidev/hichchi/blob/
|
|
4652
|
+
Defined in: [libs/ngx-auth/src/lib/state/auth.state.ts:758](https://github.com/hichchidev/hichchi/blob/749f9c434693b8495a3c3d593a69d77fd1189dac/libs/ngx-auth/src/lib/state/auth.state.ts#L758)
|
|
4653
4653
|
|
|
4654
4654
|
##### setData()
|
|
4655
4655
|
|
|
@@ -4657,7 +4657,7 @@ Defined in: [libs/ngx-auth/src/lib/state/auth.state.ts:758](https://github.com/h
|
|
|
4657
4657
|
setData: (stateData) => void;
|
|
4658
4658
|
```
|
|
4659
4659
|
|
|
4660
|
-
Defined in: [libs/ngx-auth/src/lib/state/auth.state.ts:791](https://github.com/hichchidev/hichchi/blob/
|
|
4660
|
+
Defined in: [libs/ngx-auth/src/lib/state/auth.state.ts:791](https://github.com/hichchidev/hichchi/blob/749f9c434693b8495a3c3d593a69d77fd1189dac/libs/ngx-auth/src/lib/state/auth.state.ts#L791)
|
|
4661
4661
|
|
|
4662
4662
|
###### Parameters
|
|
4663
4663
|
|
|
@@ -4694,7 +4694,7 @@ Defined in: [libs/ngx-auth/src/lib/state/auth.state.ts:791](https://github.com/h
|
|
|
4694
4694
|
setTokens: (tokenResponse) => void;
|
|
4695
4695
|
```
|
|
4696
4696
|
|
|
4697
|
-
Defined in: [libs/ngx-auth/src/lib/state/auth.state.ts:773](https://github.com/hichchidev/hichchi/blob/
|
|
4697
|
+
Defined in: [libs/ngx-auth/src/lib/state/auth.state.ts:773](https://github.com/hichchidev/hichchi/blob/749f9c434693b8495a3c3d593a69d77fd1189dac/libs/ngx-auth/src/lib/state/auth.state.ts#L773)
|
|
4698
4698
|
|
|
4699
4699
|
###### Parameters
|
|
4700
4700
|
|
|
@@ -4731,7 +4731,7 @@ Defined in: [libs/ngx-auth/src/lib/state/auth.state.ts:773](https://github.com/h
|
|
|
4731
4731
|
signedIn: Signal<boolean>;
|
|
4732
4732
|
```
|
|
4733
4733
|
|
|
4734
|
-
Defined in: [libs/ngx-auth/src/lib/state/auth.state.ts:757](https://github.com/hichchidev/hichchi/blob/
|
|
4734
|
+
Defined in: [libs/ngx-auth/src/lib/state/auth.state.ts:757](https://github.com/hichchidev/hichchi/blob/749f9c434693b8495a3c3d593a69d77fd1189dac/libs/ngx-auth/src/lib/state/auth.state.ts#L757)
|
|
4735
4735
|
|
|
4736
4736
|
##### signIn()
|
|
4737
4737
|
|
|
@@ -4739,7 +4739,7 @@ Defined in: [libs/ngx-auth/src/lib/state/auth.state.ts:757](https://github.com/h
|
|
|
4739
4739
|
signIn: <AsPromise>(signInBody, redirect?, asPromise?, showError?) => AsPromise extends true ? Promise<AuthResponse> : Observable<AuthResponse>;
|
|
4740
4740
|
```
|
|
4741
4741
|
|
|
4742
|
-
Defined in: [libs/ngx-auth/src/lib/state/auth.state.ts:774](https://github.com/hichchidev/hichchi/blob/
|
|
4742
|
+
Defined in: [libs/ngx-auth/src/lib/state/auth.state.ts:774](https://github.com/hichchidev/hichchi/blob/749f9c434693b8495a3c3d593a69d77fd1189dac/libs/ngx-auth/src/lib/state/auth.state.ts#L774)
|
|
4743
4743
|
|
|
4744
4744
|
###### Type Parameters
|
|
4745
4745
|
|
|
@@ -4837,7 +4837,7 @@ Defined in: [libs/ngx-auth/src/lib/state/auth.state.ts:774](https://github.com/h
|
|
|
4837
4837
|
signOut: <AsPromise>(redirect?, asPromise?, showError?) => AsPromise extends true ? Promise<SuccessResponse | null> : Observable<SuccessResponse | null>;
|
|
4838
4838
|
```
|
|
4839
4839
|
|
|
4840
|
-
Defined in: [libs/ngx-auth/src/lib/state/auth.state.ts:786](https://github.com/hichchidev/hichchi/blob/
|
|
4840
|
+
Defined in: [libs/ngx-auth/src/lib/state/auth.state.ts:786](https://github.com/hichchidev/hichchi/blob/749f9c434693b8495a3c3d593a69d77fd1189dac/libs/ngx-auth/src/lib/state/auth.state.ts#L786)
|
|
4841
4841
|
|
|
4842
4842
|
###### Type Parameters
|
|
4843
4843
|
|
|
@@ -4923,7 +4923,7 @@ Defined in: [libs/ngx-auth/src/lib/state/auth.state.ts:786](https://github.com/h
|
|
|
4923
4923
|
user: Signal<U | null>;
|
|
4924
4924
|
```
|
|
4925
4925
|
|
|
4926
|
-
Defined in: [libs/ngx-auth/src/lib/state/auth.state.ts:759](https://github.com/hichchidev/hichchi/blob/
|
|
4926
|
+
Defined in: [libs/ngx-auth/src/lib/state/auth.state.ts:759](https://github.com/hichchidev/hichchi/blob/749f9c434693b8495a3c3d593a69d77fd1189dac/libs/ngx-auth/src/lib/state/auth.state.ts#L759)
|
|
4927
4927
|
|
|
4928
4928
|
## Variables
|
|
4929
4929
|
|
|
@@ -4945,7 +4945,7 @@ const AuthState: Type<
|
|
|
4945
4945
|
>;
|
|
4946
4946
|
```
|
|
4947
4947
|
|
|
4948
|
-
Defined in: [libs/ngx-auth/src/lib/state/auth.state.ts:164](https://github.com/hichchidev/hichchi/blob/
|
|
4948
|
+
Defined in: [libs/ngx-auth/src/lib/state/auth.state.ts:164](https://github.com/hichchidev/hichchi/blob/749f9c434693b8495a3c3d593a69d77fd1189dac/libs/ngx-auth/src/lib/state/auth.state.ts#L164)
|
|
4949
4949
|
|
|
4950
4950
|
Authentication state management store using NgRx Signals
|
|
4951
4951
|
|
|
@@ -5038,7 +5038,7 @@ export class HeaderComponent {
|
|
|
5038
5038
|
const SKIPPED_ERRORS: ErrorResponseCode[];
|
|
5039
5039
|
```
|
|
5040
5040
|
|
|
5041
|
-
Defined in: [libs/ngx-auth/src/lib/interceptors/auth.interceptor.ts:30](https://github.com/hichchidev/hichchi/blob/
|
|
5041
|
+
Defined in: [libs/ngx-auth/src/lib/interceptors/auth.interceptor.ts:30](https://github.com/hichchidev/hichchi/blob/749f9c434693b8495a3c3d593a69d77fd1189dac/libs/ngx-auth/src/lib/interceptors/auth.interceptor.ts#L30)
|
|
5042
5042
|
|
|
5043
5043
|
Array of authentication error codes that should trigger token refresh instead of immediate redirect
|
|
5044
5044
|
|
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.7",
|
|
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.7",
|
|
23
|
+
"@hichchi/ngx-ui": "0.0.7",
|
|
24
|
+
"@hichchi/ngx-utils": "0.0.7",
|
|
25
|
+
"@hichchi/utils": "0.0.7",
|
|
26
26
|
"@ngrx/signals": "^21.0.1",
|
|
27
27
|
"rxjs": "^7.8.2"
|
|
28
28
|
},
|