@genesislcap/foundation-auth 14.107.0-auth-mf.27 → 14.121.0
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 +14 -19
- package/dist/dts/dto/EVENT_LOGIN_AUTH_NACK.d.ts +1 -0
- package/dist/dts/dto/EVENT_LOGIN_AUTH_NACK.d.ts.map +1 -1
- package/dist/dts/dto/{IDP.d.ts → IDENTITY_PROVIDER.d.ts} +2 -2
- package/dist/dts/dto/IDENTITY_PROVIDER.d.ts.map +1 -0
- package/dist/dts/dto/index.d.ts +1 -1
- package/dist/dts/dto/index.d.ts.map +1 -1
- package/dist/dts/entity/{idp.d.ts → identityProvider.d.ts} +2 -2
- package/dist/dts/entity/identityProvider.d.ts.map +1 -0
- package/dist/dts/entity/index.d.ts +1 -1
- package/dist/dts/entity/index.d.ts.map +1 -1
- package/dist/dts/entity/loginNack.d.ts +1 -0
- package/dist/dts/entity/loginNack.d.ts.map +1 -1
- package/dist/dts/env.d.ts +0 -5
- package/dist/dts/env.d.ts.map +1 -1
- package/dist/dts/machine/errors.d.ts +2 -2
- package/dist/dts/main/main.d.ts +12 -4
- package/dist/dts/main/main.d.ts.map +1 -1
- package/dist/dts/mapper/loginMapper.d.ts.map +1 -1
- package/dist/dts/mapper/utils.d.ts +4 -4
- package/dist/dts/mapper/utils.d.ts.map +1 -1
- package/dist/dts/routes/base.d.ts +5 -7
- package/dist/dts/routes/base.d.ts.map +1 -1
- package/dist/dts/routes/forgot-password/forgot-password.d.ts +9 -0
- package/dist/dts/routes/forgot-password/forgot-password.d.ts.map +1 -1
- package/dist/dts/routes/forgot-password/forgot-password.template.d.ts +4 -0
- package/dist/dts/routes/forgot-password/forgot-password.template.d.ts.map +1 -1
- package/dist/dts/routes/login/login.d.ts +14 -0
- package/dist/dts/routes/login/login.d.ts.map +1 -1
- package/dist/dts/routes/login/login.styles.d.ts +4 -0
- package/dist/dts/routes/login/login.styles.d.ts.map +1 -1
- package/dist/dts/routes/login/login.template.d.ts +4 -0
- package/dist/dts/routes/login/login.template.d.ts.map +1 -1
- package/dist/dts/routes/logout/logout.d.ts +7 -0
- package/dist/dts/routes/logout/logout.d.ts.map +1 -1
- package/dist/dts/routes/logout/logout.styles.d.ts +4 -0
- package/dist/dts/routes/logout/logout.styles.d.ts.map +1 -1
- package/dist/dts/routes/logout/logout.template.d.ts +4 -0
- package/dist/dts/routes/logout/logout.template.d.ts.map +1 -1
- package/dist/dts/routes/not-found/not-found.d.ts +4 -0
- package/dist/dts/routes/not-found/not-found.d.ts.map +1 -1
- package/dist/dts/routes/protected/protected.d.ts +5 -0
- package/dist/dts/routes/protected/protected.d.ts.map +1 -1
- package/dist/dts/routes/protected/protected.template.d.ts +4 -0
- package/dist/dts/routes/protected/protected.template.d.ts.map +1 -1
- package/dist/dts/routes/request-account/request-account.d.ts +11 -0
- package/dist/dts/routes/request-account/request-account.d.ts.map +1 -1
- package/dist/dts/routes/request-account/request-account.template.d.ts +4 -0
- package/dist/dts/routes/request-account/request-account.template.d.ts.map +1 -1
- package/dist/dts/routes/reset-password/reset-password.d.ts +13 -0
- package/dist/dts/routes/reset-password/reset-password.d.ts.map +1 -1
- package/dist/dts/routes/reset-password/reset-password.template.d.ts +4 -0
- package/dist/dts/routes/reset-password/reset-password.template.d.ts.map +1 -1
- package/dist/dts/routes/verify/verify.d.ts +4 -0
- package/dist/dts/routes/verify/verify.d.ts.map +1 -1
- package/dist/dts/routes/verify/verify.template.d.ts +4 -0
- package/dist/dts/routes/verify/verify.template.d.ts.map +1 -1
- package/dist/dts/services/idp.d.ts +6 -6
- package/dist/dts/services/idp.d.ts.map +1 -1
- package/dist/dts/store/authFormEntry.d.ts +6 -6
- package/dist/dts/store/authFormEntry.d.ts.map +1 -1
- package/dist/esm/entity/index.js +1 -1
- package/dist/esm/env.js +54 -95
- package/dist/esm/machine/errors.js +2 -2
- package/dist/esm/main/main.js +11 -0
- package/dist/esm/mapper/loginMapper.js +1 -1
- package/dist/esm/mapper/utils.js +1 -1
- package/dist/esm/routes/base.js +8 -8
- package/dist/esm/routes/forgot-password/forgot-password.js +9 -0
- package/dist/esm/routes/forgot-password/forgot-password.template.js +4 -0
- package/dist/esm/routes/login/login.js +14 -0
- package/dist/esm/routes/login/login.styles.js +4 -0
- package/dist/esm/routes/login/login.template.js +4 -0
- package/dist/esm/routes/logout/logout.js +7 -0
- package/dist/esm/routes/logout/logout.styles.js +4 -0
- package/dist/esm/routes/logout/logout.template.js +4 -0
- package/dist/esm/routes/not-found/not-found.js +4 -0
- package/dist/esm/routes/protected/protected.js +9 -2
- package/dist/esm/routes/protected/protected.template.js +16 -2
- package/dist/esm/routes/request-account/request-account.js +11 -0
- package/dist/esm/routes/request-account/request-account.template.js +4 -0
- package/dist/esm/routes/reset-password/reset-password.js +13 -0
- package/dist/esm/routes/reset-password/reset-password.template.js +4 -0
- package/dist/esm/routes/verify/verify.js +4 -0
- package/dist/esm/routes/verify/verify.template.js +4 -0
- package/dist/esm/services/idp.js +2 -2
- package/dist/esm/store/authFormEntry.js +22 -1
- package/dist/foundation-auth.api.json +107 -64
- package/dist/foundation-auth.d.ts +26 -21
- package/docs/api/foundation-auth.authformentrystore.idps.md +1 -1
- package/docs/api/foundation-auth.authformentrystore.md +2 -2
- package/docs/api/foundation-auth.authformentrystore.selectedidp.md +1 -1
- package/docs/api/foundation-auth.defaultauthformentrystore.idps.md +1 -1
- package/docs/api/foundation-auth.defaultauthformentrystore.md +2 -2
- package/docs/api/foundation-auth.defaultauthformentrystore.selectedidp.md +1 -1
- package/docs/api/foundation-auth.event_login_auth_nack.md +1 -0
- package/docs/api/foundation-auth.event_login_auth_nack.refresh_token_expiration_mins.md +11 -0
- package/docs/api/foundation-auth.fromidpdto.md +1 -1
- package/docs/api/{foundation-auth.idp.description.md → foundation-auth.identity_provider.description.md} +2 -2
- package/docs/api/{foundation-auth.idp.id.md → foundation-auth.identity_provider.id.md} +2 -2
- package/docs/api/foundation-auth.identity_provider.md +21 -0
- package/docs/api/{foundation-auth.idp.type.md → foundation-auth.identity_provider.type.md} +2 -2
- package/docs/api/foundation-auth.identityprovider.description.md +11 -0
- package/docs/api/foundation-auth.identityprovider.id.md +11 -0
- package/docs/api/foundation-auth.identityprovider.md +21 -0
- package/docs/api/foundation-auth.identityprovider.type.md +11 -0
- package/docs/api/foundation-auth.loginnack.md +1 -0
- package/docs/api/foundation-auth.loginnack.refreshtokenexpirationmins.md +11 -0
- package/docs/api/foundation-auth.md +2 -3
- package/docs/api-report.md +13 -10
- package/package.json +16 -15
- package/test/README.md +2 -0
- package/dist/dts/dto/IDP.d.ts.map +0 -1
- package/dist/dts/entity/idp.d.ts.map +0 -1
- package/docs/api/foundation-auth.idp.md +0 -21
- package/docs/api/foundation-auth.socket_url.md +0 -12
- /package/dist/esm/dto/{IDP.js → IDENTITY_PROVIDER.js} +0 -0
- /package/dist/esm/entity/{idp.js → identityProvider.js} +0 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"verify.template.d.ts","sourceRoot":"","sources":["../../../../src/routes/verify/verify.template.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC;AAEvC,eAAO,MAAM,cAAc,6DA+B1B,CAAC"}
|
|
1
|
+
{"version":3,"file":"verify.template.d.ts","sourceRoot":"","sources":["../../../../src/routes/verify/verify.template.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC;AAEvC;;;GAGG;AACH,eAAO,MAAM,cAAc,6DA+B1B,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { FetchMachine } from '@genesislcap/foundation-state-machine';
|
|
2
|
-
import type {
|
|
2
|
+
import type { IdentityProvider } from '../entity';
|
|
3
3
|
/**
|
|
4
4
|
* IDPService interface.
|
|
5
5
|
* @public
|
|
@@ -8,11 +8,11 @@ export interface IDPService {
|
|
|
8
8
|
/**
|
|
9
9
|
* @param url - Defaults to `SSO_LIST_URL`.
|
|
10
10
|
*/
|
|
11
|
-
getList(url?: string): Promise<
|
|
11
|
+
getList(url?: string): Promise<IdentityProvider[]>;
|
|
12
12
|
/**
|
|
13
|
-
* @param idp - An
|
|
13
|
+
* @param idp - An IdentityProvider entity.
|
|
14
14
|
*/
|
|
15
|
-
getLoginUrl(idp:
|
|
15
|
+
getLoginUrl(idp: IdentityProvider): string;
|
|
16
16
|
}
|
|
17
17
|
/**
|
|
18
18
|
* Default IDPService.
|
|
@@ -29,9 +29,9 @@ export declare class DefaultIDPService implements IDPService {
|
|
|
29
29
|
*/
|
|
30
30
|
protected loginUrlReplacePattern: RegExp;
|
|
31
31
|
/** {@inheritDoc IDPService.getList} */
|
|
32
|
-
getList: (url?: string) => Promise<
|
|
32
|
+
getList: (url?: string) => Promise<IdentityProvider[]>;
|
|
33
33
|
/** {@inheritDoc IDPService.getLoginUrl} */
|
|
34
|
-
getLoginUrl: (idp:
|
|
34
|
+
getLoginUrl: (idp: IdentityProvider, urlTemplate?: string) => string;
|
|
35
35
|
}
|
|
36
36
|
/**
|
|
37
37
|
* IDPService DI key.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"idp.d.ts","sourceRoot":"","sources":["../../../src/services/idp.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,uCAAuC,CAAC;AAGrE,OAAO,KAAK,EAAE,
|
|
1
|
+
{"version":3,"file":"idp.d.ts","sourceRoot":"","sources":["../../../src/services/idp.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,uCAAuC,CAAC;AAGrE,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,WAAW,CAAC;AAIlD;;;GAGG;AACH,MAAM,WAAW,UAAU;IACzB;;OAEG;IACH,OAAO,CAAC,GAAG,CAAC,EAAE,MAAM,GAAG,OAAO,CAAC,gBAAgB,EAAE,CAAC,CAAC;IACnD;;OAEG;IACH,WAAW,CAAC,GAAG,EAAE,gBAAgB,GAAG,MAAM,CAAC;CAC5C;AAED;;;GAGG;AACH,qBAAa,iBAAkB,YAAW,UAAU;IAClD;;OAEG;IACW,QAAQ,CAAC,YAAY,EAAE,YAAY,CAAC;IAClD;;;OAGG;IACH,SAAS,CAAC,sBAAsB,SAAqB;IAErD,uCAAuC;IACvC,OAAO,SAAe,MAAM,KAAkB,QAAQ,gBAAgB,EAAE,CAAC,CAoCvE;IAEF,2CAA2C;IAC3C,WAAW,QAAS,gBAAgB,gBAAe,MAAM,YAKvD;CACH;AAED;;;GAGG;AACH,eAAO,MAAM,UAAU,kEAAwE,CAAC"}
|
|
@@ -2,7 +2,7 @@ import { CustomEventMap } from '@genesislcap/foundation-events';
|
|
|
2
2
|
import { AbstractStore, Store } from '@genesislcap/foundation-store';
|
|
3
3
|
import { AuthConfig } from '../config/config';
|
|
4
4
|
import { CredentialManager } from '../credential';
|
|
5
|
-
import type {
|
|
5
|
+
import type { IdentityProvider } from '../entity';
|
|
6
6
|
import { IDPService } from '../services';
|
|
7
7
|
/**
|
|
8
8
|
* @public
|
|
@@ -24,7 +24,7 @@ declare global {
|
|
|
24
24
|
}
|
|
25
25
|
type InternalEventMap = {
|
|
26
26
|
'auth-fetch-idps': void;
|
|
27
|
-
'auth-fetch-idps-success':
|
|
27
|
+
'auth-fetch-idps-success': IdentityProvider[];
|
|
28
28
|
'auth-fetch-idps-error': Error;
|
|
29
29
|
};
|
|
30
30
|
/**
|
|
@@ -46,8 +46,8 @@ export interface AuthFormEntryStore extends Store {
|
|
|
46
46
|
readonly hasPasswordExpired: boolean;
|
|
47
47
|
readonly passwordResetToken: string;
|
|
48
48
|
readonly mfaCode: string;
|
|
49
|
-
readonly idps:
|
|
50
|
-
readonly selectedIdp:
|
|
49
|
+
readonly idps: IdentityProvider[];
|
|
50
|
+
readonly selectedIdp: IdentityProvider;
|
|
51
51
|
readonly ssoLoginUrl: string;
|
|
52
52
|
readonly ssoToggled: boolean;
|
|
53
53
|
readonly termsAgreed: boolean;
|
|
@@ -89,9 +89,9 @@ export declare class DefaultAuthFormEntryStore extends AbstractStore<AuthFormEnt
|
|
|
89
89
|
/** {@inheritDoc AuthFormEntryStore.mfaCode} */
|
|
90
90
|
mfaCode: string;
|
|
91
91
|
/** {@inheritDoc AuthFormEntryStore.idps} */
|
|
92
|
-
idps:
|
|
92
|
+
idps: IdentityProvider[];
|
|
93
93
|
/** {@inheritDoc AuthFormEntryStore.selectedIdp} */
|
|
94
|
-
selectedIdp:
|
|
94
|
+
selectedIdp: IdentityProvider;
|
|
95
95
|
/** {@inheritDoc AuthFormEntryStore.ssoToggled} */
|
|
96
96
|
ssoToggled: boolean;
|
|
97
97
|
/** {@inheritDoc AuthFormEntryStore.termsAgreed} */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"authFormEntry.d.ts","sourceRoot":"","sources":["../../../src/store/authFormEntry.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,gCAAgC,CAAC;AAChE,OAAO,EAAE,aAAa,EAAiB,KAAK,EAAE,MAAM,+BAA+B,CAAC;AAEpF,OAAO,EAAE,UAAU,EAAE,MAAM,kBAAkB,CAAC;AAC9C,OAAO,EAAE,iBAAiB,EAAuB,MAAM,eAAe,CAAC;AACvE,OAAO,KAAK,EAAE,
|
|
1
|
+
{"version":3,"file":"authFormEntry.d.ts","sourceRoot":"","sources":["../../../src/store/authFormEntry.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,gCAAgC,CAAC;AAChE,OAAO,EAAE,aAAa,EAAiB,KAAK,EAAE,MAAM,+BAA+B,CAAC;AAEpF,OAAO,EAAE,UAAU,EAAE,MAAM,kBAAkB,CAAC;AAC9C,OAAO,EAAE,iBAAiB,EAAuB,MAAM,eAAe,CAAC;AACvE,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,WAAW,CAAC;AAClD,OAAO,EAAE,UAAU,EAAE,MAAM,aAAa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|
4
4
|
* @public
|
|
5
5
|
*/
|
|
6
6
|
let LOGIN_URL = 'unset';
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
}
|
|
14
|
-
}
|
|
15
|
-
catch (_a) { }
|
|
7
|
+
if (typeof GENX_LOGIN_URL !== 'undefined') {
|
|
8
|
+
LOGIN_URL = GENX_LOGIN_URL;
|
|
9
|
+
}
|
|
10
|
+
else {
|
|
11
|
+
logger.warn('Missing GENX_LOGIN_URL env');
|
|
12
|
+
}
|
|
16
13
|
export { LOGIN_URL };
|
|
17
14
|
/**
|
|
18
15
|
* @public
|
|
19
16
|
*/
|
|
20
17
|
let LOGIN_REFRESH_URL = 'unset';
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
}
|
|
28
|
-
}
|
|
29
|
-
catch (_b) { }
|
|
18
|
+
if (typeof GENX_LOGIN_REFRESH_URL !== 'undefined') {
|
|
19
|
+
LOGIN_REFRESH_URL = GENX_LOGIN_REFRESH_URL;
|
|
20
|
+
}
|
|
21
|
+
else {
|
|
22
|
+
logger.warn('Missing GENX_LOGIN_REFRESH_URL env');
|
|
23
|
+
}
|
|
30
24
|
export { LOGIN_REFRESH_URL };
|
|
31
25
|
/**
|
|
32
26
|
* @public
|
|
33
27
|
*/
|
|
34
28
|
let LOGIN_DETAILS_URL = 'unset';
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
}
|
|
42
|
-
}
|
|
43
|
-
catch (_c) { }
|
|
29
|
+
if (typeof GENX_LOGIN_DETAILS_URL !== 'undefined') {
|
|
30
|
+
LOGIN_DETAILS_URL = GENX_LOGIN_DETAILS_URL;
|
|
31
|
+
}
|
|
32
|
+
else {
|
|
33
|
+
logger.warn('Missing GENX_LOGIN_DETAILS_URL env');
|
|
34
|
+
}
|
|
44
35
|
export { LOGIN_DETAILS_URL };
|
|
45
36
|
/**
|
|
46
37
|
* @public
|
|
47
38
|
*/
|
|
48
39
|
let LOGOUT_URL = 'unset';
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
}
|
|
56
|
-
}
|
|
57
|
-
catch (_d) { }
|
|
40
|
+
if (typeof GENX_LOGOUT_URL !== 'undefined') {
|
|
41
|
+
LOGOUT_URL = GENX_LOGOUT_URL;
|
|
42
|
+
}
|
|
43
|
+
else {
|
|
44
|
+
logger.warn('Missing GENX_LOGOUT_URL env');
|
|
45
|
+
}
|
|
58
46
|
export { LOGOUT_URL };
|
|
59
47
|
/**
|
|
60
48
|
* @public
|
|
61
49
|
*/
|
|
62
50
|
let CHANGE_PASSWORD_URL = 'unset';
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
}
|
|
70
|
-
}
|
|
71
|
-
catch (_e) { }
|
|
51
|
+
if (typeof GENX_CHANGE_PASSWORD_URL !== 'undefined') {
|
|
52
|
+
CHANGE_PASSWORD_URL = GENX_CHANGE_PASSWORD_URL;
|
|
53
|
+
}
|
|
54
|
+
else {
|
|
55
|
+
logger.warn('Missing GENX_CHANGE_PASSWORD_URL env');
|
|
56
|
+
}
|
|
72
57
|
export { CHANGE_PASSWORD_URL };
|
|
73
58
|
/**
|
|
74
59
|
* @public
|
|
75
60
|
*/
|
|
76
61
|
let FORGOT_PASSWORD_URL = 'unset';
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
}
|
|
84
|
-
}
|
|
85
|
-
catch (_f) { }
|
|
62
|
+
if (typeof GENX_FORGOT_PASSWORD_URL !== 'undefined') {
|
|
63
|
+
FORGOT_PASSWORD_URL = GENX_FORGOT_PASSWORD_URL;
|
|
64
|
+
}
|
|
65
|
+
else {
|
|
66
|
+
logger.warn('Missing GENX_FORGOT_PASSWORD_URL env');
|
|
67
|
+
}
|
|
86
68
|
export { FORGOT_PASSWORD_URL };
|
|
87
69
|
/**
|
|
88
70
|
* @public
|
|
89
71
|
*/
|
|
90
72
|
let RESET_PASSWORD_URL = 'unset';
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
}
|
|
98
|
-
}
|
|
99
|
-
catch (_g) { }
|
|
73
|
+
if (typeof GENX_RESET_PASSWORD_URL !== 'undefined') {
|
|
74
|
+
RESET_PASSWORD_URL = GENX_RESET_PASSWORD_URL;
|
|
75
|
+
}
|
|
76
|
+
else {
|
|
77
|
+
logger.warn('Missing GENX_RESET_PASSWORD_URL env');
|
|
78
|
+
}
|
|
100
79
|
export { RESET_PASSWORD_URL };
|
|
101
80
|
/**
|
|
102
81
|
* @public
|
|
103
82
|
*/
|
|
104
83
|
let SSO_LIST_URL = 'unset';
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
}
|
|
112
|
-
}
|
|
113
|
-
catch (_h) { }
|
|
84
|
+
if (typeof GENX_SSO_LIST_URL !== 'undefined') {
|
|
85
|
+
SSO_LIST_URL = GENX_SSO_LIST_URL;
|
|
86
|
+
}
|
|
87
|
+
else {
|
|
88
|
+
logger.warn('Missing GENX_SSO_LIST_URL env');
|
|
89
|
+
}
|
|
114
90
|
export { SSO_LIST_URL };
|
|
115
91
|
/**
|
|
116
92
|
* @public
|
|
117
93
|
*/
|
|
118
94
|
let SSO_LOGIN_URL = 'unset';
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
}
|
|
126
|
-
}
|
|
127
|
-
catch (_j) { }
|
|
95
|
+
if (typeof GENX_SSO_LOGIN_URL !== 'undefined') {
|
|
96
|
+
SSO_LOGIN_URL = GENX_SSO_LOGIN_URL;
|
|
97
|
+
}
|
|
98
|
+
else {
|
|
99
|
+
logger.warn('Missing GENX_SSO_LOGIN_URL env');
|
|
100
|
+
}
|
|
128
101
|
export { SSO_LOGIN_URL };
|
|
129
|
-
/**
|
|
130
|
-
* @public
|
|
131
|
-
*/
|
|
132
|
-
let SOCKET_URL = 'unset';
|
|
133
|
-
try {
|
|
134
|
-
if (typeof GENX_SOCKET_URL !== 'undefined') {
|
|
135
|
-
SOCKET_URL = GENX_SOCKET_URL;
|
|
136
|
-
}
|
|
137
|
-
else {
|
|
138
|
-
logger.warn('Missing GENX_SOCKET_URL env');
|
|
139
|
-
}
|
|
140
|
-
}
|
|
141
|
-
catch (_k) { }
|
|
142
|
-
export { SOCKET_URL };
|
|
@@ -2,8 +2,8 @@ import { APIError } from '@genesislcap/foundation-state-machine';
|
|
|
2
2
|
/**
|
|
3
3
|
* NackError.
|
|
4
4
|
*
|
|
5
|
-
* @
|
|
6
|
-
*
|
|
5
|
+
* @privateRemarks
|
|
6
|
+
* Is required until http status codes are aligned on backend.
|
|
7
7
|
*
|
|
8
8
|
* @example
|
|
9
9
|
* ```ts
|
package/dist/esm/main/main.js
CHANGED
|
@@ -19,6 +19,10 @@ import { template } from './main.template';
|
|
|
19
19
|
*
|
|
20
20
|
* See the {@link configure} hook for more information on how to set up and use this micro frontend in your application.
|
|
21
21
|
*
|
|
22
|
+
* @fires store-connected - Fires a custom 'store-connected' event after connection to connect the store.
|
|
23
|
+
* @fires store-ready - Fires a custom 'store-ready' event after connection to ready the store.
|
|
24
|
+
* @fires store-disconnected - Fires a custom 'store-disconnected' event after disconnection to unbind the store.
|
|
25
|
+
*
|
|
22
26
|
* @public
|
|
23
27
|
*/
|
|
24
28
|
export class FoundationAuth extends EventEmitter(FASTElement) {
|
|
@@ -39,6 +43,7 @@ export class FoundationAuth extends EventEmitter(FASTElement) {
|
|
|
39
43
|
super.disconnectedCallback();
|
|
40
44
|
this.removeBindings();
|
|
41
45
|
this.removeEventListeners();
|
|
46
|
+
this.disconnectStore();
|
|
42
47
|
}
|
|
43
48
|
/**
|
|
44
49
|
* @internal
|
|
@@ -81,6 +86,12 @@ export class FoundationAuth extends EventEmitter(FASTElement) {
|
|
|
81
86
|
this.$emit('store-connected', this);
|
|
82
87
|
this.$emit('store-ready', true);
|
|
83
88
|
}
|
|
89
|
+
/**
|
|
90
|
+
* @internal
|
|
91
|
+
*/
|
|
92
|
+
disconnectStore() {
|
|
93
|
+
this.$emit('store-disconnected');
|
|
94
|
+
}
|
|
84
95
|
/**
|
|
85
96
|
* @internal
|
|
86
97
|
*/
|
|
@@ -82,7 +82,7 @@ export class DefaultLoginMapper {
|
|
|
82
82
|
return ack;
|
|
83
83
|
}
|
|
84
84
|
if (isLoginNackDTO(dto)) {
|
|
85
|
-
const nack = Object.assign(Object.assign({}, fromDTONack(dto)), { refreshAuthToken: dto.REFRESH_AUTH_TOKEN, hasIncorrectCredentials: hasDTOErrorWarningCode(dto, 'INCORRECT_CREDENTIALS'), maxTriesReached: hasDTOErrorWarningCode(dto, 'MAX_TRIES_REACHED'), isMFARequired: hasDTOErrorWarningCode(dto, 'MFA_REQUIRED'), hasPasswordExpired: hasDTOErrorWarningCode(dto, 'PASSWORD_EXPIRED') });
|
|
85
|
+
const nack = Object.assign(Object.assign({}, fromDTONack(dto)), { refreshAuthToken: dto.REFRESH_AUTH_TOKEN, refreshTokenExpirationMins: dto.REFRESH_TOKEN_EXPIRATION_MINS, hasIncorrectCredentials: hasDTOErrorWarningCode(dto, 'INCORRECT_CREDENTIALS'), maxTriesReached: hasDTOErrorWarningCode(dto, 'MAX_TRIES_REACHED'), isMFARequired: hasDTOErrorWarningCode(dto, 'MFA_REQUIRED'), hasPasswordExpired: hasDTOErrorWarningCode(dto, 'PASSWORD_EXPIRED') });
|
|
86
86
|
return nack;
|
|
87
87
|
}
|
|
88
88
|
throw new Error('No Entity mapping implementation for provided DTO');
|
package/dist/esm/mapper/utils.js
CHANGED
package/dist/esm/routes/base.js
CHANGED
|
@@ -68,7 +68,7 @@ export const organisationField = () => html `
|
|
|
68
68
|
autocomplete="organization"
|
|
69
69
|
data-test-id="organisation"
|
|
70
70
|
:value="${(x) => x.store.formEntry.organisation}"
|
|
71
|
-
@
|
|
71
|
+
@input="${inputEmit('auth-organisation-changed')}"
|
|
72
72
|
autofocus
|
|
73
73
|
class="${(x) => (!x.config.logo ? 'no-top-margin' : '')}"
|
|
74
74
|
?required="${(x) => x.config.fields.organisation.required !== false}"
|
|
@@ -90,7 +90,7 @@ export const usernameField = () => html `
|
|
|
90
90
|
autocomplete="username email"
|
|
91
91
|
data-test-id="username"
|
|
92
92
|
:value="${(x) => x.store.formEntry.username}"
|
|
93
|
-
@
|
|
93
|
+
@input="${inputEmit('auth-username-changed')}"
|
|
94
94
|
?autofocus="${(x) => !x.config.fields.organisation}"
|
|
95
95
|
class="${(x) => (!x.config.logo && !x.config.fields.organisation ? 'no-top-margin' : '')}"
|
|
96
96
|
pattern="${(x) => x.config.fields.username.pattern}"
|
|
@@ -112,7 +112,7 @@ export const emailField = () => html `
|
|
|
112
112
|
autocomplete="email"
|
|
113
113
|
data-test-id="email"
|
|
114
114
|
:value="${(x) => x.store.formEntry.email}"
|
|
115
|
-
@
|
|
115
|
+
@input="${inputEmit('auth-email-changed')}"
|
|
116
116
|
required
|
|
117
117
|
>
|
|
118
118
|
<span class="form-title">${(x) => { var _a; return (_a = x.config.fields.email.label) !== null && _a !== void 0 ? _a : 'Email'; }}</span>
|
|
@@ -130,7 +130,7 @@ export const passwordField = (label) => html `
|
|
|
130
130
|
autocomplete="current-password"
|
|
131
131
|
data-test-id="password"
|
|
132
132
|
:value="${(x) => x.store.formEntry.password}"
|
|
133
|
-
@
|
|
133
|
+
@input="${inputEmit('auth-password-changed')}"
|
|
134
134
|
required
|
|
135
135
|
>
|
|
136
136
|
<span class="form-title">${(x) => { var _a; return (_a = label !== null && label !== void 0 ? label : x.config.fields.password.label) !== null && _a !== void 0 ? _a : 'Password'; }}</span>
|
|
@@ -153,7 +153,7 @@ export const password2Field = (type) => {
|
|
|
153
153
|
autocomplete="${name}"
|
|
154
154
|
data-test-id="${name}"
|
|
155
155
|
:value="${(x) => x.store.formEntry.password2}"
|
|
156
|
-
@
|
|
156
|
+
@input="${inputEmit('auth-password2-changed')}"
|
|
157
157
|
required
|
|
158
158
|
>
|
|
159
159
|
<span class="form-title">${label}</span>
|
|
@@ -311,8 +311,8 @@ export const showPasswordsCheckbox = () => html `
|
|
|
311
311
|
*/
|
|
312
312
|
let MessageElement = class MessageElement extends FASTElement {
|
|
313
313
|
get message() {
|
|
314
|
-
const meta = this.store.metaMessages.join('
|
|
315
|
-
const error = this.store.errorMessages.join('
|
|
314
|
+
const meta = this.store.metaMessages.join('\n');
|
|
315
|
+
const error = this.store.errorMessages.join('\n');
|
|
316
316
|
return !error ? meta : `${meta} ${error}.`;
|
|
317
317
|
}
|
|
318
318
|
get hasError() {
|
|
@@ -340,7 +340,7 @@ MessageElement = __decorate([
|
|
|
340
340
|
text-align: center;
|
|
341
341
|
}
|
|
342
342
|
.message {
|
|
343
|
-
color:
|
|
343
|
+
color: var(--accent-foreground-rest);
|
|
344
344
|
margin-top: calc(var(--design-unit) * 3px);
|
|
345
345
|
white-space: pre-line;
|
|
346
346
|
}
|
|
@@ -4,6 +4,15 @@ import { commonStyles } from '../../styles';
|
|
|
4
4
|
import { logger } from '../../utils';
|
|
5
5
|
import { BaseRoute } from '../base';
|
|
6
6
|
import { ForgotPasswordTemplate as template } from './forgot-password.template';
|
|
7
|
+
/**
|
|
8
|
+
* ForgotPassword
|
|
9
|
+
*
|
|
10
|
+
* @fires auth-forgot-password - Fires a custom 'auth-forgot-password' event.
|
|
11
|
+
* @fires auth-organisation-changed - Fires a custom 'auth-organisation-changed' event.
|
|
12
|
+
* @fires auth-username-changed - Fires a custom 'auth-username-changed' event.
|
|
13
|
+
*
|
|
14
|
+
* @public
|
|
15
|
+
*/
|
|
7
16
|
let ForgotPassword = class ForgotPassword extends BaseRoute {
|
|
8
17
|
onSubmit() {
|
|
9
18
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1,6 +1,10 @@
|
|
|
1
1
|
import { html } from '@microsoft/fast-element';
|
|
2
2
|
import { cardTag } from '../../tags';
|
|
3
3
|
import { backButton, organisationField, submitButton, usernameField } from '../base';
|
|
4
|
+
/**
|
|
5
|
+
* ForgotPasswordTemplate
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
4
8
|
export const ForgotPasswordTemplate = html `
|
|
5
9
|
<auth-background>
|
|
6
10
|
<div class="container">
|
|
@@ -6,6 +6,20 @@ import { logger } from '../../utils';
|
|
|
6
6
|
import { BaseRoute } from '../base';
|
|
7
7
|
import { LoginStyles as styles } from './login.styles';
|
|
8
8
|
import { LoginTemplate as template } from './login.template';
|
|
9
|
+
/**
|
|
10
|
+
* Login
|
|
11
|
+
*
|
|
12
|
+
* @fires auth-login - Fires a custom 'auth-login' event.
|
|
13
|
+
* @fires auth-logout - Fires a custom 'auth-logout' event.
|
|
14
|
+
* @fires auth-ssoToggled-changed - Fires a custom 'auth-ssoToggled-changed' event.
|
|
15
|
+
* @fires auth-selectedIdp-changed - Fires a custom 'auth-selectedIdp-changed' event.
|
|
16
|
+
* @fires auth-organisation-changed - Fires a custom 'auth-organisation-changed' event.
|
|
17
|
+
* @fires auth-username-changed - Fires a custom 'auth-username-changed' event.
|
|
18
|
+
* @fires auth-password-changed - Fires a custom 'auth-password-changed' event.
|
|
19
|
+
* @fires auth-showPasswords-changed - Fires a custom 'auth-showPasswords-changed' event.
|
|
20
|
+
*
|
|
21
|
+
* @public
|
|
22
|
+
*/
|
|
9
23
|
let Login = class Login extends BaseRoute {
|
|
10
24
|
connectedCallback() {
|
|
11
25
|
super.connectedCallback();
|
|
@@ -3,6 +3,13 @@ import { customElement } from '@microsoft/fast-element';
|
|
|
3
3
|
import { BaseRoute } from '../base';
|
|
4
4
|
import { LogoutStyles as styles } from './logout.styles';
|
|
5
5
|
import { LogoutTemplate as template } from './logout.template';
|
|
6
|
+
/**
|
|
7
|
+
* Logout
|
|
8
|
+
*
|
|
9
|
+
* @fires auth-logout - Fires a custom 'auth-logout' event.
|
|
10
|
+
*
|
|
11
|
+
* @public
|
|
12
|
+
*/
|
|
6
13
|
let Logout = class Logout extends BaseRoute {
|
|
7
14
|
connectedCallback() {
|
|
8
15
|
super.connectedCallback();
|
|
@@ -2,6 +2,10 @@ import { __decorate } from "tslib";
|
|
|
2
2
|
import { customElement, html } from '@microsoft/fast-element';
|
|
3
3
|
import { commonStyles } from '../../styles';
|
|
4
4
|
import { BaseRoute } from '../base';
|
|
5
|
+
/**
|
|
6
|
+
* NotFound
|
|
7
|
+
* @public
|
|
8
|
+
*/
|
|
5
9
|
let NotFound = class NotFound extends BaseRoute {
|
|
6
10
|
};
|
|
7
11
|
NotFound = __decorate([
|
|
@@ -1,20 +1,27 @@
|
|
|
1
1
|
import { __decorate } from "tslib";
|
|
2
2
|
import { Connect } from '@genesislcap/foundation-comms';
|
|
3
|
+
import { API_HOST } from '@genesislcap/foundation-utils';
|
|
3
4
|
import { customElement } from '@microsoft/fast-element';
|
|
4
|
-
import { SOCKET_URL } from '../../env';
|
|
5
5
|
import { commonStyles } from '../../styles';
|
|
6
6
|
import { BaseRoute } from '../base';
|
|
7
7
|
import { ProtectedTemplate as template } from './protected.template';
|
|
8
|
+
/**
|
|
9
|
+
* Protected
|
|
10
|
+
* @internal
|
|
11
|
+
*/
|
|
8
12
|
let Protected = class Protected extends BaseRoute {
|
|
9
13
|
onLogout() {
|
|
10
14
|
this.routing.navigateTo('logout');
|
|
11
15
|
}
|
|
12
16
|
onOpenSocketTest() {
|
|
13
|
-
this.connect.connect(
|
|
17
|
+
this.connect.connect(API_HOST);
|
|
14
18
|
}
|
|
15
19
|
onCloseSocketTest() {
|
|
16
20
|
this.connect.disconnect();
|
|
17
21
|
}
|
|
22
|
+
get isSocketOpen() {
|
|
23
|
+
return this.connect.isConnected;
|
|
24
|
+
}
|
|
18
25
|
};
|
|
19
26
|
__decorate([
|
|
20
27
|
Connect
|
|
@@ -1,5 +1,9 @@
|
|
|
1
1
|
import { html } from '@microsoft/fast-element';
|
|
2
2
|
import { buttonTag } from '../../tags';
|
|
3
|
+
/**
|
|
4
|
+
* ProtectedTemplate
|
|
5
|
+
* @internal
|
|
6
|
+
*/
|
|
3
7
|
export const ProtectedTemplate = html `
|
|
4
8
|
<div class="container">
|
|
5
9
|
<${buttonTag}
|
|
@@ -10,10 +14,20 @@ export const ProtectedTemplate = html `
|
|
|
10
14
|
>
|
|
11
15
|
Logout
|
|
12
16
|
</${buttonTag}>
|
|
13
|
-
<${buttonTag}
|
|
17
|
+
<${buttonTag}
|
|
18
|
+
type="button"
|
|
19
|
+
@click=${(x) => x.onOpenSocketTest()}
|
|
20
|
+
?disabled=${(x) => x.isSocketOpen}
|
|
21
|
+
data-test-id="open-socket"
|
|
22
|
+
>
|
|
14
23
|
Open Socket
|
|
15
24
|
</${buttonTag}>
|
|
16
|
-
<${buttonTag}
|
|
25
|
+
<${buttonTag}
|
|
26
|
+
type="button"
|
|
27
|
+
@click=${(x) => x.onCloseSocketTest()}
|
|
28
|
+
?disabled=${(x) => !x.isSocketOpen}
|
|
29
|
+
data-test-id="close-socket"
|
|
30
|
+
>
|
|
17
31
|
Close Socket
|
|
18
32
|
</${buttonTag}>
|
|
19
33
|
</div>
|
|
@@ -4,6 +4,17 @@ import { commonStyles } from '../../styles';
|
|
|
4
4
|
import { logger } from '../../utils';
|
|
5
5
|
import { BaseRoute } from '../base';
|
|
6
6
|
import { RequestAccountTemplate as template } from './request-account.template';
|
|
7
|
+
/**
|
|
8
|
+
* RequestAccount
|
|
9
|
+
*
|
|
10
|
+
* @fires auth-organisation-changed - Fires a custom 'auth-organisation-changed' event.
|
|
11
|
+
* @fires auth-username-changed - Fires a custom 'auth-username-changed' event.
|
|
12
|
+
* @fires auth-email-changed - Fires a custom 'auth-email-changed' event.
|
|
13
|
+
* @fires auth-password-changed - Fires a custom 'auth-password-changed' event.
|
|
14
|
+
* @fires auth-password2-changed - Fires a custom 'auth-password2-changed' event.
|
|
15
|
+
*
|
|
16
|
+
* @public
|
|
17
|
+
*/
|
|
7
18
|
let RequestAccount = class RequestAccount extends BaseRoute {
|
|
8
19
|
constructor() {
|
|
9
20
|
super(...arguments);
|