verben-authentication-ui 0.3.6 → 0.3.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/esm2022/lib/components/auth-callback/auth-callback.component.mjs +48 -0
- package/esm2022/lib/components/auth-callback/auth-callback.module.mjs +18 -0
- package/esm2022/lib/components/button/button.component.mjs +6 -3
- package/esm2022/lib/components/forgot-password/forgot-password.component.mjs +1 -1
- package/esm2022/lib/components/mail/mail.component.mjs +1 -1
- package/esm2022/lib/components/o-auth/o-auth.component.mjs +65 -79
- package/esm2022/lib/components/reset-password/reset-password.component.mjs +1 -1
- package/esm2022/lib/components/sign-in/sign-in.component.mjs +108 -30
- package/esm2022/lib/components/sign-up/sign-up.component.mjs +1 -1
- package/esm2022/lib/components/sso/sso-form/sso-form.component.mjs +1 -1
- package/esm2022/lib/components/two-factor-auth-otp/two-factor-auth-otp.component.mjs +1 -1
- package/esm2022/lib/components/user-management/user-management-form/use-management-form.component.mjs +1 -1
- package/esm2022/lib/components/user-management/user-management.component.mjs +2 -2
- package/esm2022/lib/components/user-request/user-request.component.mjs +125 -49
- package/esm2022/lib/components/user-request/user-request.module.mjs +7 -3
- package/esm2022/lib/components/user-request-approval/user-request-approval.component.mjs +2 -2
- package/esm2022/lib/components/user-request-approval/user-request-form/use-request-form.component.mjs +1 -1
- package/esm2022/lib/models/UserRequest.mjs +1 -1
- package/esm2022/lib/models/log-in.mjs +1 -1
- package/esm2022/lib/models/oauth-response.mjs +2 -0
- package/esm2022/lib/services/http-web-request.service.mjs +5 -6
- package/esm2022/public-api.mjs +3 -1
- package/fesm2022/verben-authentication-ui.mjs +432 -234
- package/fesm2022/verben-authentication-ui.mjs.map +1 -1
- package/lib/components/auth-callback/auth-callback.component.d.ts +17 -0
- package/lib/components/auth-callback/auth-callback.module.d.ts +8 -0
- package/lib/components/button/button.component.d.ts +2 -1
- package/lib/components/o-auth/o-auth.component.d.ts +14 -5
- package/lib/components/sign-in/sign-in.component.d.ts +19 -4
- package/lib/components/user-request/user-request.component.d.ts +19 -2
- package/lib/components/user-request/user-request.module.d.ts +2 -1
- package/lib/models/UserRequest.d.ts +2 -0
- package/lib/models/log-in.d.ts +1 -0
- package/lib/models/oauth-response.d.ts +6 -0
- package/package.json +2 -2
- package/public-api.d.ts +2 -0
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { OnInit } from '@angular/core';
|
|
2
|
+
import { Router } from '@angular/router';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class AuthCallbackComponent implements OnInit {
|
|
5
|
+
private router;
|
|
6
|
+
code: string;
|
|
7
|
+
previousUrl: string;
|
|
8
|
+
redirectText?: string;
|
|
9
|
+
width: number;
|
|
10
|
+
height: number;
|
|
11
|
+
color: string;
|
|
12
|
+
constructor(router: Router);
|
|
13
|
+
ngOnInit(): void;
|
|
14
|
+
handleRedirect(): void;
|
|
15
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AuthCallbackComponent, never>;
|
|
16
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AuthCallbackComponent, "verben-auth-callback", never, { "redirectText": { "alias": "redirectText"; "required": false; }; "width": { "alias": "width"; "required": false; }; "height": { "alias": "height"; "required": false; }; "color": { "alias": "color"; "required": false; }; }, {}, never, never, false, never>;
|
|
17
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./auth-callback.component";
|
|
3
|
+
import * as i2 from "@angular/common";
|
|
4
|
+
export declare class AuthCallbackModule {
|
|
5
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AuthCallbackModule, never>;
|
|
6
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<AuthCallbackModule, [typeof i1.AuthCallbackComponent], [typeof i2.CommonModule], [typeof i1.AuthCallbackComponent]>;
|
|
7
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<AuthCallbackModule>;
|
|
8
|
+
}
|
|
@@ -10,8 +10,9 @@ export declare class ButtonComponent {
|
|
|
10
10
|
pd: string;
|
|
11
11
|
buttonClass: string;
|
|
12
12
|
disabled: boolean;
|
|
13
|
+
isLoading?: boolean;
|
|
13
14
|
buttonClick: EventEmitter<void>;
|
|
14
15
|
handleClick(): void;
|
|
15
16
|
static ɵfac: i0.ɵɵFactoryDeclaration<ButtonComponent, never>;
|
|
16
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ButtonComponent, "lib-button", never, { "text": { "alias": "text"; "required": false; }; "color": { "alias": "color"; "required": false; }; "border": { "alias": "border"; "required": false; }; "borderRadius": { "alias": "borderRadius"; "required": false; }; "bgColor": { "alias": "bgColor"; "required": false; }; "width": { "alias": "width"; "required": false; }; "pd": { "alias": "pd"; "required": false; }; "buttonClass": { "alias": "buttonClass"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; }, { "buttonClick": "buttonClick"; }, never, never, false, never>;
|
|
17
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ButtonComponent, "lib-button", never, { "text": { "alias": "text"; "required": false; }; "color": { "alias": "color"; "required": false; }; "border": { "alias": "border"; "required": false; }; "borderRadius": { "alias": "borderRadius"; "required": false; }; "bgColor": { "alias": "bgColor"; "required": false; }; "width": { "alias": "width"; "required": false; }; "pd": { "alias": "pd"; "required": false; }; "buttonClass": { "alias": "buttonClass"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "isLoading": { "alias": "isLoading"; "required": false; }; }, { "buttonClick": "buttonClick"; }, never, never, false, never>;
|
|
17
18
|
}
|
|
@@ -1,5 +1,8 @@
|
|
|
1
1
|
import { EventEmitter, OnInit } from '@angular/core';
|
|
2
2
|
import { AuthMechanism } from '../../models/auth-mechanism';
|
|
3
|
+
import { ActivatedRoute, Router } from '@angular/router';
|
|
4
|
+
import { HttpWebRequestService } from '../../services/http-web-request.service';
|
|
5
|
+
import { UtilService } from '../../services/util.service';
|
|
3
6
|
import * as i0 from "@angular/core";
|
|
4
7
|
declare global {
|
|
5
8
|
interface Window {
|
|
@@ -7,7 +10,10 @@ declare global {
|
|
|
7
10
|
}
|
|
8
11
|
}
|
|
9
12
|
export declare class OAuthComponent implements OnInit {
|
|
10
|
-
|
|
13
|
+
private route;
|
|
14
|
+
private server;
|
|
15
|
+
private utilService;
|
|
16
|
+
private router;
|
|
11
17
|
showGoogle: boolean;
|
|
12
18
|
showMicrosoft: boolean;
|
|
13
19
|
showApple: boolean;
|
|
@@ -15,13 +21,16 @@ export declare class OAuthComponent implements OnInit {
|
|
|
15
21
|
microsoftClick: EventEmitter<void>;
|
|
16
22
|
googleClick: EventEmitter<void>;
|
|
17
23
|
appleClick: EventEmitter<void>;
|
|
24
|
+
page: string;
|
|
25
|
+
constructor(route: ActivatedRoute, server: HttpWebRequestService, utilService: UtilService, router: Router);
|
|
18
26
|
ngOnInit(): void;
|
|
27
|
+
loadPage(): void;
|
|
19
28
|
loadGoogleScript(): void;
|
|
20
|
-
|
|
21
|
-
oAuthWithGoogle(): void;
|
|
22
|
-
exchangeCodeForToken(authCode: string): void;
|
|
23
|
-
handleCredentialResponse(response: any): void;
|
|
29
|
+
oAuthWithGoogle(data: AuthMechanism): void;
|
|
24
30
|
oAuthWithApple(): void;
|
|
31
|
+
oAuthWithMicrosoft(): void;
|
|
32
|
+
checkForValue(value: string): "" | "google-logo" | "apple-logo" | "microsoft-logo";
|
|
33
|
+
handleOauthClick(value: AuthMechanism): void | "";
|
|
25
34
|
static ɵfac: i0.ɵɵFactoryDeclaration<OAuthComponent, never>;
|
|
26
35
|
static ɵcmp: i0.ɵɵComponentDeclaration<OAuthComponent, "verben-o-auth", never, { "authMechanisms": { "alias": "authMechanisms"; "required": false; }; }, { "microsoftClick": "microsoftClick"; "googleClick": "googleClick"; "appleClick": "appleClick"; }, never, never, false, never>;
|
|
27
36
|
}
|
|
@@ -7,12 +7,20 @@ import { ErrorResponse } from '../../models/ErrorResponse';
|
|
|
7
7
|
import { ResponseKeyValue } from '../../models/ResponseKeyValue';
|
|
8
8
|
import { EnvironmentService } from '../../services/environment.service';
|
|
9
9
|
import { AuthMechanism } from '../../models/auth-mechanism';
|
|
10
|
+
import { ActivatedRoute } from '@angular/router';
|
|
10
11
|
import * as i0 from "@angular/core";
|
|
12
|
+
interface IOauthResp {
|
|
13
|
+
AccessToken: string;
|
|
14
|
+
Email: string;
|
|
15
|
+
FirstName: string;
|
|
16
|
+
LastName: string;
|
|
17
|
+
}
|
|
11
18
|
export declare class SignInComponent implements OnInit {
|
|
12
19
|
private fb;
|
|
13
20
|
private server;
|
|
14
21
|
private utilService;
|
|
15
22
|
private envSvc;
|
|
23
|
+
private route;
|
|
16
24
|
headlingText: string;
|
|
17
25
|
width: string;
|
|
18
26
|
maxWidth: string;
|
|
@@ -47,6 +55,8 @@ export declare class SignInComponent implements OnInit {
|
|
|
47
55
|
termsErrorText: string;
|
|
48
56
|
formSubmit: EventEmitter<LoginData>;
|
|
49
57
|
onSubmitEnd: EventEmitter<ResponseKeyValue | ErrorResponse>;
|
|
58
|
+
onGoogleAuthResponse: EventEmitter<ResponseKeyValue | ErrorResponse>;
|
|
59
|
+
onSubmitGoogleAuth: EventEmitter<ResponseKeyValue | ErrorResponse>;
|
|
50
60
|
googleClick: EventEmitter<any>;
|
|
51
61
|
microsoftClick: EventEmitter<any>;
|
|
52
62
|
appleClick: EventEmitter<any>;
|
|
@@ -56,11 +66,15 @@ export declare class SignInComponent implements OnInit {
|
|
|
56
66
|
loginForm: FormGroup;
|
|
57
67
|
apiKey: string;
|
|
58
68
|
secret: string;
|
|
59
|
-
|
|
60
|
-
|
|
69
|
+
isLoading: boolean;
|
|
70
|
+
code: string;
|
|
71
|
+
OauthData: IOauthResp;
|
|
72
|
+
constructor(fb: FormBuilder, server: HttpWebRequestService, utilService: UtilService, envSvc: EnvironmentService, route: ActivatedRoute);
|
|
73
|
+
ngOnInit(): Promise<void>;
|
|
61
74
|
getTenantConfig(): Promise<void>;
|
|
62
75
|
checkForm(): boolean;
|
|
63
|
-
|
|
76
|
+
verifyUserDetails(): Promise<void>;
|
|
77
|
+
submit(type: string): Promise<void>;
|
|
64
78
|
handleGoogleAuth(): void;
|
|
65
79
|
handleMicrosoft(): void;
|
|
66
80
|
handleAppleAuth(): void;
|
|
@@ -77,5 +91,6 @@ export declare class SignInComponent implements OnInit {
|
|
|
77
91
|
padding: string;
|
|
78
92
|
};
|
|
79
93
|
static ɵfac: i0.ɵɵFactoryDeclaration<SignInComponent, never>;
|
|
80
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<SignInComponent, "verben-sign-in", never, { "headlingText": { "alias": "headlingText"; "required": false; }; "width": { "alias": "width"; "required": false; }; "maxWidth": { "alias": "maxWidth"; "required": false; }; "margin": { "alias": "margin"; "required": false; }; "pd": { "alias": "pd"; "required": false; }; "customClass": { "alias": "customClass"; "required": false; }; "headlingClass": { "alias": "headlingClass"; "required": false; }; "bgColor": { "alias": "bgColor"; "required": false; }; "boxShadow": { "alias": "boxShadow"; "required": false; }; "border": { "alias": "border"; "required": false; }; "borderRadius": { "alias": "borderRadius"; "required": false; }; "textColor": { "alias": "textColor"; "required": false; }; "height": { "alias": "height"; "required": false; }; "forgetPasswordClass": { "alias": "forgetPasswordClass"; "required": false; }; "requestAccessClass": { "alias": "requestAccessClass"; "required": false; }; "createAccountClass": { "alias": "createAccountClass"; "required": false; }; "createAccountLinkClass": { "alias": "createAccountLinkClass"; "required": false; }; "forgetPasswordLink": { "alias": "forgetPasswordLink"; "required": false; }; "createAccountLink": { "alias": "createAccountLink"; "required": false; }; "requestAccessLink": { "alias": "requestAccessLink"; "required": false; }; "btnClass": { "alias": "btnClass"; "required": false; }; "btnBgColor": { "alias": "btnBgColor"; "required": false; }; "btnColor": { "alias": "btnColor"; "required": false; }; "btnBorder": { "alias": "btnBorder"; "required": false; }; "btnBorderRadius": { "alias": "btnBorderRadius"; "required": false; }; "btnPd": { "alias": "btnPd"; "required": false; }; "btnText": { "alias": "btnText"; "required": false; }; "inputLabelColor": { "alias": "inputLabelColor"; "required": false; }; "inputBgColor": { "alias": "inputBgColor"; "required": false; }; "inputBorder": { "alias": "inputBorder"; "required": false; }; "inputBorderRadius": { "alias": "inputBorderRadius"; "required": false; }; "termsErrorText": { "alias": "termsErrorText"; "required": false; }; }, { "formSubmit": "formSubmit"; "onSubmitEnd": "onSubmitEnd"; "googleClick": "googleClick"; "microsoftClick": "microsoftClick"; "appleClick": "appleClick"; }, never, never, false, never>;
|
|
94
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SignInComponent, "verben-sign-in", never, { "headlingText": { "alias": "headlingText"; "required": false; }; "width": { "alias": "width"; "required": false; }; "maxWidth": { "alias": "maxWidth"; "required": false; }; "margin": { "alias": "margin"; "required": false; }; "pd": { "alias": "pd"; "required": false; }; "customClass": { "alias": "customClass"; "required": false; }; "headlingClass": { "alias": "headlingClass"; "required": false; }; "bgColor": { "alias": "bgColor"; "required": false; }; "boxShadow": { "alias": "boxShadow"; "required": false; }; "border": { "alias": "border"; "required": false; }; "borderRadius": { "alias": "borderRadius"; "required": false; }; "textColor": { "alias": "textColor"; "required": false; }; "height": { "alias": "height"; "required": false; }; "forgetPasswordClass": { "alias": "forgetPasswordClass"; "required": false; }; "requestAccessClass": { "alias": "requestAccessClass"; "required": false; }; "createAccountClass": { "alias": "createAccountClass"; "required": false; }; "createAccountLinkClass": { "alias": "createAccountLinkClass"; "required": false; }; "forgetPasswordLink": { "alias": "forgetPasswordLink"; "required": false; }; "createAccountLink": { "alias": "createAccountLink"; "required": false; }; "requestAccessLink": { "alias": "requestAccessLink"; "required": false; }; "btnClass": { "alias": "btnClass"; "required": false; }; "btnBgColor": { "alias": "btnBgColor"; "required": false; }; "btnColor": { "alias": "btnColor"; "required": false; }; "btnBorder": { "alias": "btnBorder"; "required": false; }; "btnBorderRadius": { "alias": "btnBorderRadius"; "required": false; }; "btnPd": { "alias": "btnPd"; "required": false; }; "btnText": { "alias": "btnText"; "required": false; }; "inputLabelColor": { "alias": "inputLabelColor"; "required": false; }; "inputBgColor": { "alias": "inputBgColor"; "required": false; }; "inputBorder": { "alias": "inputBorder"; "required": false; }; "inputBorderRadius": { "alias": "inputBorderRadius"; "required": false; }; "termsErrorText": { "alias": "termsErrorText"; "required": false; }; }, { "formSubmit": "formSubmit"; "onSubmitEnd": "onSubmitEnd"; "onGoogleAuthResponse": "onGoogleAuthResponse"; "onSubmitGoogleAuth": "onSubmitGoogleAuth"; "googleClick": "googleClick"; "microsoftClick": "microsoftClick"; "appleClick": "appleClick"; }, never, never, false, never>;
|
|
81
95
|
}
|
|
96
|
+
export {};
|
|
@@ -3,13 +3,18 @@ import { AbstractControl, FormBuilder, FormGroup, ValidationErrors } from '@angu
|
|
|
3
3
|
import { HttpWebRequestService } from '../../services/http-web-request.service';
|
|
4
4
|
import { UserRequestPayload } from '../../models/UserRequest';
|
|
5
5
|
import { UtilService } from '../../services/util.service';
|
|
6
|
+
import { ResponseKeyValue } from '../../models/ResponseKeyValue';
|
|
7
|
+
import { ErrorResponse } from '../../models/ErrorResponse';
|
|
6
8
|
import { EnvironmentService } from '../../services/environment.service';
|
|
9
|
+
import { AuthMechanism } from '../../models/auth-mechanism';
|
|
10
|
+
import { ActivatedRoute } from '@angular/router';
|
|
7
11
|
import * as i0 from "@angular/core";
|
|
8
12
|
export declare class UserRequestComponent {
|
|
9
13
|
private fb;
|
|
10
14
|
private server;
|
|
11
15
|
private utilService;
|
|
12
16
|
private envSvc;
|
|
17
|
+
private route;
|
|
13
18
|
width: string;
|
|
14
19
|
headingTitle: string;
|
|
15
20
|
headingClass: string;
|
|
@@ -21,7 +26,9 @@ export declare class UserRequestComponent {
|
|
|
21
26
|
textColor: string;
|
|
22
27
|
height: string;
|
|
23
28
|
pd: string;
|
|
29
|
+
isFormEditable: boolean;
|
|
24
30
|
apiKey: string;
|
|
31
|
+
isCode: boolean;
|
|
25
32
|
text: string;
|
|
26
33
|
color: string;
|
|
27
34
|
btnBorder: string;
|
|
@@ -36,9 +43,15 @@ export declare class UserRequestComponent {
|
|
|
36
43
|
googleClick: EventEmitter<any>;
|
|
37
44
|
onSubmitSuccess: EventEmitter<any>;
|
|
38
45
|
appleClick: EventEmitter<any>;
|
|
46
|
+
microsoftClick: EventEmitter<any>;
|
|
47
|
+
onSubmitGoogleAuth: EventEmitter<ResponseKeyValue | ErrorResponse>;
|
|
39
48
|
onSubmitResponseEnd: EventEmitter<any>;
|
|
40
49
|
userRequestForm: FormGroup;
|
|
41
|
-
|
|
50
|
+
tenantDetails: any | null;
|
|
51
|
+
AuthMechanisms: AuthMechanism[] | null;
|
|
52
|
+
showform: boolean;
|
|
53
|
+
code: string;
|
|
54
|
+
constructor(fb: FormBuilder, server: HttpWebRequestService, utilService: UtilService, envSvc: EnvironmentService, route: ActivatedRoute);
|
|
42
55
|
passwordMatchValidator(control: AbstractControl): ValidationErrors | null;
|
|
43
56
|
get passwordMismatchError(): boolean;
|
|
44
57
|
get styles(): {
|
|
@@ -51,10 +64,14 @@ export declare class UserRequestComponent {
|
|
|
51
64
|
height: string;
|
|
52
65
|
padding: string;
|
|
53
66
|
};
|
|
67
|
+
ngOnInit(): Promise<void>;
|
|
68
|
+
getTenantConfig(): Promise<void>;
|
|
54
69
|
checkForm(): boolean;
|
|
55
70
|
handleGoogleAuth(): void;
|
|
56
71
|
handleAppleAuth(): void;
|
|
72
|
+
handleMicrosoft(): void;
|
|
57
73
|
submitForm(): Promise<void>;
|
|
74
|
+
verifyUserDetails(): Promise<void>;
|
|
58
75
|
static ɵfac: i0.ɵɵFactoryDeclaration<UserRequestComponent, never>;
|
|
59
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<UserRequestComponent, "lib-user-request", never, { "width": { "alias": "width"; "required": false; }; "headingTitle": { "alias": "headingTitle"; "required": false; }; "headingClass": { "alias": "headingClass"; "required": false; }; "customClass": { "alias": "customClass"; "required": false; }; "bgColor": { "alias": "bgColor"; "required": false; }; "boxShadow": { "alias": "boxShadow"; "required": false; }; "border": { "alias": "border"; "required": false; }; "borderRadius": { "alias": "borderRadius"; "required": false; }; "textColor": { "alias": "textColor"; "required": false; }; "height": { "alias": "height"; "required": false; }; "pd": { "alias": "pd"; "required": false; }; "text": { "alias": "text"; "required": false; }; "color": { "alias": "color"; "required": false; }; "btnBorder": { "alias": "btnBorder"; "required": false; }; "btnBorderRadius": { "alias": "btnBorderRadius"; "required": false; }; "btnBgColor": { "alias": "btnBgColor"; "required": false; }; "btnWidth": { "alias": "btnWidth"; "required": false; }; "btnPd": { "alias": "btnPd"; "required": false; }; "termsLink": { "alias": "termsLink"; "required": false; }; "privacyLink": { "alias": "privacyLink"; "required": false; }; "routerLink": { "alias": "routerLink"; "required": false; }; }, { "formSubmit": "formSubmit"; "googleClick": "googleClick"; "onSubmitSuccess": "onSubmitSuccess"; "appleClick": "appleClick"; "onSubmitResponseEnd": "onSubmitResponseEnd"; }, never, never, false, never>;
|
|
76
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<UserRequestComponent, "lib-user-request", never, { "width": { "alias": "width"; "required": false; }; "headingTitle": { "alias": "headingTitle"; "required": false; }; "headingClass": { "alias": "headingClass"; "required": false; }; "customClass": { "alias": "customClass"; "required": false; }; "bgColor": { "alias": "bgColor"; "required": false; }; "boxShadow": { "alias": "boxShadow"; "required": false; }; "border": { "alias": "border"; "required": false; }; "borderRadius": { "alias": "borderRadius"; "required": false; }; "textColor": { "alias": "textColor"; "required": false; }; "height": { "alias": "height"; "required": false; }; "pd": { "alias": "pd"; "required": false; }; "text": { "alias": "text"; "required": false; }; "color": { "alias": "color"; "required": false; }; "btnBorder": { "alias": "btnBorder"; "required": false; }; "btnBorderRadius": { "alias": "btnBorderRadius"; "required": false; }; "btnBgColor": { "alias": "btnBgColor"; "required": false; }; "btnWidth": { "alias": "btnWidth"; "required": false; }; "btnPd": { "alias": "btnPd"; "required": false; }; "termsLink": { "alias": "termsLink"; "required": false; }; "privacyLink": { "alias": "privacyLink"; "required": false; }; "routerLink": { "alias": "routerLink"; "required": false; }; }, { "formSubmit": "formSubmit"; "googleClick": "googleClick"; "onSubmitSuccess": "onSubmitSuccess"; "appleClick": "appleClick"; "microsoftClick": "microsoftClick"; "onSubmitGoogleAuth": "onSubmitGoogleAuth"; "onSubmitResponseEnd": "onSubmitResponseEnd"; }, never, never, false, never>;
|
|
60
77
|
}
|
|
@@ -3,8 +3,9 @@ import * as i1 from "./user-request.component";
|
|
|
3
3
|
import * as i2 from "@angular/forms";
|
|
4
4
|
import * as i3 from "verben-ng-ui";
|
|
5
5
|
import * as i4 from "@angular/common";
|
|
6
|
+
import * as i5 from "../o-auth/o-auth.module";
|
|
6
7
|
export declare class UserRequestModule {
|
|
7
8
|
static ɵfac: i0.ɵɵFactoryDeclaration<UserRequestModule, never>;
|
|
8
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<UserRequestModule, [typeof i1.UserRequestComponent], [typeof i2.FormsModule, typeof i2.ReactiveFormsModule, typeof i3.VerbenaInputModule, typeof i3.VerbenaButtonModule, typeof i4.CommonModule], [typeof i1.UserRequestComponent]>;
|
|
9
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<UserRequestModule, [typeof i1.UserRequestComponent], [typeof i2.FormsModule, typeof i2.ReactiveFormsModule, typeof i3.VerbenaInputModule, typeof i3.VerbenaButtonModule, typeof i4.CommonModule, typeof i5.OAuthModule], [typeof i1.UserRequestComponent]>;
|
|
9
10
|
static ɵinj: i0.ɵɵInjectorDeclaration<UserRequestModule>;
|
|
10
11
|
}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { MechanismType } from "./auth-mechanism";
|
|
1
2
|
import { ObjectState } from "./object-state";
|
|
2
3
|
import { RequestStatus } from "./request-status";
|
|
3
4
|
import { Status } from "./status";
|
|
@@ -19,6 +20,7 @@ export interface UserRequestPayload {
|
|
|
19
20
|
TenantId: string;
|
|
20
21
|
ServiceName: string;
|
|
21
22
|
ActionBy: string;
|
|
23
|
+
SignUpType: MechanismType;
|
|
22
24
|
RequestStatus: RequestStatus;
|
|
23
25
|
Comment: string;
|
|
24
26
|
}
|
package/lib/models/log-in.d.ts
CHANGED
package/package.json
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "verben-authentication-ui",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.9",
|
|
4
4
|
"peerDependencies": {
|
|
5
5
|
"@angular/common": "^14.0.0 || ^18.0.0",
|
|
6
6
|
"@angular/core": "^14.0.0 || ^18.0.0",
|
|
7
|
-
"verben-ng-ui": "^0.2.
|
|
7
|
+
"verben-ng-ui": "^0.2.2"
|
|
8
8
|
},
|
|
9
9
|
"dependencies": {
|
|
10
10
|
"tslib": "^2.3.0"
|
package/public-api.d.ts
CHANGED
|
@@ -26,4 +26,6 @@ export * from './lib/components/user-request-approval/user-request-approval.comp
|
|
|
26
26
|
export * from './lib/components/user-management/useer-management.module';
|
|
27
27
|
export * from './lib/components/user-management/user-management.component';
|
|
28
28
|
export * from './lib/components/user-request-approval/user-request-approval.service';
|
|
29
|
+
export * from './lib/components/auth-callback/auth-callback.component';
|
|
30
|
+
export * from './lib/components/auth-callback/auth-callback.module';
|
|
29
31
|
export * from './lib/services/environment.service';
|