verben-authentication-ui 0.8.3 → 0.8.4
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/esm2022/lib/components/sign-in/sign-in.component.mjs +13 -11
- package/esm2022/lib/components/sign-up/sign-up.component.mjs +14 -11
- package/esm2022/lib/services/encryption.service.mjs +50 -0
- package/esm2022/lib/services/environment.service.mjs +1 -1
- package/fesm2022/verben-authentication-ui.mjs +59 -9
- package/fesm2022/verben-authentication-ui.mjs.map +1 -1
- package/lib/components/sign-in/sign-in.component.d.ts +3 -1
- package/lib/components/sign-up/sign-up.component.d.ts +3 -1
- package/lib/services/encryption.service.d.ts +12 -0
- package/lib/services/environment.service.d.ts +2 -0
- package/package.json +1 -1
|
@@ -10,6 +10,7 @@ import { AuthMechanism } from '../../models/auth-mechanism';
|
|
|
10
10
|
import { ActivatedRoute, Router } from '@angular/router';
|
|
11
11
|
import { IOauthResp } from '../../models/oauth-resp';
|
|
12
12
|
import { TenantConfig } from '../../models/TenantConfig';
|
|
13
|
+
import { EncryptionService } from '../../services/encryption.service';
|
|
13
14
|
import * as i0 from "@angular/core";
|
|
14
15
|
export declare class SignInComponent implements OnInit {
|
|
15
16
|
private fb;
|
|
@@ -18,6 +19,7 @@ export declare class SignInComponent implements OnInit {
|
|
|
18
19
|
private envSvc;
|
|
19
20
|
private route;
|
|
20
21
|
private router;
|
|
22
|
+
private encryptionService;
|
|
21
23
|
headlingText: string;
|
|
22
24
|
width: string;
|
|
23
25
|
maxWidth: string;
|
|
@@ -70,7 +72,7 @@ export declare class SignInComponent implements OnInit {
|
|
|
70
72
|
mechanismType: string;
|
|
71
73
|
OauthData: IOauthResp;
|
|
72
74
|
configData: TenantConfig | null;
|
|
73
|
-
constructor(fb: FormBuilder, server: HttpWebRequestService, utilService: UtilService, envSvc: EnvironmentService, route: ActivatedRoute, router: Router);
|
|
75
|
+
constructor(fb: FormBuilder, server: HttpWebRequestService, utilService: UtilService, envSvc: EnvironmentService, route: ActivatedRoute, router: Router, encryptionService: EncryptionService);
|
|
74
76
|
ngOnInit(): Promise<void>;
|
|
75
77
|
getTenantConfig(): Promise<void>;
|
|
76
78
|
checkForm(): boolean;
|
|
@@ -5,11 +5,13 @@ import { HttpWebRequestService } from '../../services/http-web-request.service';
|
|
|
5
5
|
import { ErrorResponse } from '../../models/ErrorResponse';
|
|
6
6
|
import { ResponseKeyValue } from '../../models/ResponseKeyValue';
|
|
7
7
|
import { UtilService } from '../../services/util.service';
|
|
8
|
+
import { EncryptionService } from '../../services/encryption.service';
|
|
8
9
|
import * as i0 from "@angular/core";
|
|
9
10
|
export declare class SignUpComponent {
|
|
10
11
|
private fb;
|
|
11
12
|
private server;
|
|
12
13
|
private utilService;
|
|
14
|
+
private encryptionService;
|
|
13
15
|
headlingText: string;
|
|
14
16
|
width: string;
|
|
15
17
|
maxWidth: string;
|
|
@@ -43,7 +45,7 @@ export declare class SignUpComponent {
|
|
|
43
45
|
googleClick: EventEmitter<any>;
|
|
44
46
|
appleClick: EventEmitter<any>;
|
|
45
47
|
signUpForm: FormGroup;
|
|
46
|
-
constructor(fb: FormBuilder, server: HttpWebRequestService, utilService: UtilService);
|
|
48
|
+
constructor(fb: FormBuilder, server: HttpWebRequestService, utilService: UtilService, encryptionService: EncryptionService);
|
|
47
49
|
private passwordMatchValidator;
|
|
48
50
|
checkForm(): boolean;
|
|
49
51
|
submit(): Promise<void>;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { EnvironmentService } from './environment.service';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class EncryptionService {
|
|
4
|
+
private envSvc;
|
|
5
|
+
private ivString;
|
|
6
|
+
private keyString;
|
|
7
|
+
constructor(envSvc: EnvironmentService);
|
|
8
|
+
encryptData(data: string): string;
|
|
9
|
+
decryptData(data: string): string;
|
|
10
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<EncryptionService, never>;
|
|
11
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<EncryptionService>;
|
|
12
|
+
}
|