@genesislcap/foundation-comms 14.154.3-alpha-224a0a5.0 → 14.154.3-alpha-94561a6.0
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/dts/auth/auth.d.ts.map +1 -1
- package/dist/dts/credentialManager/credentialManager.d.ts +0 -6
- package/dist/dts/credentialManager/credentialManager.d.ts.map +1 -1
- package/dist/esm/auth/auth.js +2 -1
- package/dist/esm/credentialManager/credentialManager.js +2 -5
- package/dist/foundation-comms.api.json +0 -59
- package/dist/foundation-comms.d.ts +0 -6
- package/docs/api/foundation-comms.credentialmanager.md +0 -1
- package/docs/api/foundation-comms.defaultcredentialmanager.md +0 -1
- package/docs/api-report.md +0 -3
- package/package.json +11 -11
- package/docs/api/foundation-comms.credentialmanager.removemfatoken.md +0 -17
- package/docs/api/foundation-comms.defaultcredentialmanager.removemfatoken.md +0 -15
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"auth.d.ts","sourceRoot":"","sources":["../../../src/auth/auth.ts"],"names":[],"mappings":"AAEA,OAAO,EAAmB,UAAU,EAAE,MAAM,MAAM,CAAC;AACnD,OAAO,EAAE,OAAO,EAAE,MAAM,YAAY,CAAC;AACrC,OAAO,EAGL,cAAc,EAIf,MAAM,oBAAoB,CAAC;AAC5B,OAAO,EAAE,iBAAiB,EAAE,MAAM,sBAAsB,CAAC;AACzD,OAAO,EAAE,OAAO,EAAE,MAAM,YAAY,CAAC;AACrC,OAAO,EAAe,IAAI,EAAE,MAAM,SAAS,CAAC;AAE5C,OAAO,EAAa,QAAQ,EAAE,WAAW,EAAE,YAAY,EAAE,MAAM,cAAc,CAAC;AAE9E;;;GAGG;AACH,MAAM,WAAW,IAAI;IACnB;;;OAGG;IACH,SAAS,EAAE,OAAO,CAAC;IAEnB;;;;OAIG;IACH,QAAQ,CAAC,gBAAgB,EAAE,WAAW,CAAC;IAEvC;;;OAGG;IACH,QAAQ,CAAC,UAAU,EAAE,OAAO,CAAC;IAE7B;;;OAGG;IACH,QAAQ,CAAC,WAAW,CAAC,EAA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G3D,KAAK,CAAC,WAAW,EAAE,QAAQ,GAAG,OAAO,CAAC,WAAW,CAAC;IAuClD,MAAM,IAAI,OAAO,CAAC,YAAY,CAAC;IAuD/B,iBAAiB,IAAI,OAAO,CAAC,OAAO,CAAC;IAuB3C;;;OAGG;YACW,gBAAgB;IAW9B;;;;OAIG;IACH,OAAO,CAAC,wBAAwB;IAmBhC;;;OAGG;IACH,OAAO,CAAC,gBAAgB;IAoBxB;;;OAGG;IACH,OAAO,CAAC,iBAAiB;CAI1B;AAED;;;GAGG;AACH,eAAO,MAAM,IAAI,4DAA4D,CAAC"}
|
@@ -181,11 +181,6 @@ export interface CredentialManager {
|
|
181
181
|
* @public
|
182
182
|
*/
|
183
183
|
removeRefreshToken(): void;
|
184
|
-
/**
|
185
|
-
* Removes the current MFA token, if any.
|
186
|
-
* @public
|
187
|
-
*/
|
188
|
-
removeMFAToken(): void;
|
189
184
|
/**
|
190
185
|
* Removes all user crendentials data.
|
191
186
|
* @public
|
@@ -227,7 +222,6 @@ export declare class DefaultCredentialManager implements CredentialManager {
|
|
227
222
|
removeSSOToken(): void;
|
228
223
|
removeUsername(): void;
|
229
224
|
removeRefreshToken(): void;
|
230
|
-
removeMFAToken(): void;
|
231
225
|
removeAll(): void;
|
232
226
|
preventSilentAccess(): Promise<void>;
|
233
227
|
}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"credentialManager.d.ts","sourceRoot":"","sources":["../../../src/credentialManager/credentialManager.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,aAAa,EAAE,eAAe,EAAE,WAAW,EAAE,MAAM,oBAAoB,CAAC;AAEtF,OAAO,EAAE,OAAO,EAAE,MAAM,YAAY,CAAC;AAErC,OAAO,KAAK,EACV,qBAAqB,EACrB,cAAc,EACd,oBAAoB,EACpB,uBAAuB,EACvB,mBAAmB,EACpB,MAAM,2BAA2B,CAAC;AACnC,OAAO,EAAE,uBAAuB,EAAE,MAAM,2BAA2B,CAAC;AAcpE;;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;OAIG;IACH,wBAAwB,IAAI,cAAc,GAAG,SAAS,CAAC;IAEvD;;;;;OAKG;IACH,gBAAgB,CAAC,IAAI,EAAE,cAAc,GAAG,OAAO,CAAC,OAAO,CAAC,CAAC;IAEzD;;;;;OAKG;IACH,cAAc,CAAC,OAAO,CAAC,EAAE,oBAAoB,GAAG,OAAO,CAAC,cAAc,GAAG,SAAS,CAAC,CAAC;IAEpF;;;;OAIG;IACH,WAAW,IAAI,MAAM,GAAG,IAAI,CAAC;IAE7B;;;;OAIG;IACH,WAAW,IAAI,MAAM,GAAG,IAAI,CAAC;IAE7B;;;;OAIG;IACH,eAAe,IAAI,MAAM,GAAG,IAAI,CAAC;IAEjC;;;;OAIG;IACH,WAAW,IAAI,MAAM,GAAG,IAAI,CAAC;IAE7B;;;OAGG;IACH,YAAY,IAAI,IAAI,CAAC;IAErB;;;OAGG;IACH,cAAc,IAAI,IAAI,CAAC;IAEvB;;;OAGG;IACH,cAAc,IAAI,IAAI,CAAC;IAEvB;;;OAGG;IACH,kBAAkB,IAAI,IAAI,CAAC;IAE3B;;;OAGG;IACH,
|
1
|
+
{"version":3,"file":"credentialManager.d.ts","sourceRoot":"","sources":["../../../src/credentialManager/credentialManager.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,aAAa,EAAE,eAAe,EAAE,WAAW,EAAE,MAAM,oBAAoB,CAAC;AAEtF,OAAO,EAAE,OAAO,EAAE,MAAM,YAAY,CAAC;AAErC,OAAO,KAAK,EACV,qBAAqB,EACrB,cAAc,EACd,oBAAoB,EACpB,uBAAuB,EACvB,mBAAmB,EACpB,MAAM,2BAA2B,CAAC;AACnC,OAAO,EAAE,uBAAuB,EAAE,MAAM,2BAA2B,CAAC;AAcpE;;;GAGG;AACH,eAAO,MAAM,mBAAmB,MAAM,CAAC;AAqDvC;;;GAGG;AACH,eAAO,MAAM,+BAA+B,EAAE,oBAG7C,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,8BAA8B,EAAE,uBA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AC,EAAE,cAAc,GACtB,CAAC,cAAc,GAAG,SAAS,EAAE,OAAO,CAAC;IAqElC,2BAA2B,CAAC,IAAI,EAAE,cAAc,GAAG,OAAO,CAAC,UAAU,GAAG,SAAS,CAAC;IASlF,2BAA2B,CAC/B,OAAO,2BAAkC,GACxC,OAAO,CAAC,cAAc,GAAG,IAAI,CAAC;IAQjC,wBAAwB,CAAC,IAAI,EAAE,cAAc,GAAG,OAAO;IAYvD,wBAAwB,IAAI,cAAc,GAAG,SAAS;IAMhD,gBAAgB,CAAC,IAAI,EAAE,cAAc,GAAG,OAAO,CAAC,OAAO,CAAC;IAQxD,cAAc,CAAC,OAAO,CAAC,EAAE,oBAAoB,GAAG,OAAO,CAAC,cAAc,GAAG,SAAS,CAAC;IAOzF,WAAW;IAIX,WAAW;IAOX,eAAe;IAQf,WAAW;IAKX,YAAY;IAOZ,cAAc;IAId,cAAc;IAKd,kBAAkB;IAKlB,SAAS;IAOT,mBAAmB;CAGpB;AAED;;;GAGG;AACH,eAAO,MAAM,iBAAiB,yEAE7B,CAAC"}
|
package/dist/esm/auth/auth.js
CHANGED
@@ -128,7 +128,8 @@ let DefaultAuth = class DefaultAuth {
|
|
128
128
|
reAuthFromSession() {
|
129
129
|
return __awaiter(this, void 0, void 0, function* () {
|
130
130
|
const isConnected = yield this.ensureConnection();
|
131
|
-
if (isConnected
|
131
|
+
if (isConnected &&
|
132
|
+
!this.credentialManager.validateRefreshCredentials(this.credentialManager.createRefreshCredentials())) {
|
132
133
|
const refreshTokenMessage = this.messageBuilder.createRefreshTokenMessage();
|
133
134
|
const refreshTokenResult = yield this.connect.send(refreshTokenMessage);
|
134
135
|
if ((refreshTokenResult === null || refreshTokenResult === void 0 ? void 0 : refreshTokenResult.MESSAGE_TYPE) === EventMessageType.EVENT_LOGIN_AUTH_ACK) {
|
@@ -254,7 +254,8 @@ let DefaultCredentialManager = class DefaultCredentialManager {
|
|
254
254
|
this.session.getLocalStorageItem('refreshToken'));
|
255
255
|
}
|
256
256
|
getMFAToken() {
|
257
|
-
|
257
|
+
const queryParams = new URLSearchParams(window.location.search);
|
258
|
+
return queryParams.get('MFA_CODE');
|
258
259
|
}
|
259
260
|
removeCookie() {
|
260
261
|
jsCookie.remove(this.config.cookie.name, {
|
@@ -273,15 +274,11 @@ let DefaultCredentialManager = class DefaultCredentialManager {
|
|
273
274
|
this.session.removeSessionStorageItem('refreshToken');
|
274
275
|
this.session.removeLocalStorageItem('refreshToken');
|
275
276
|
}
|
276
|
-
removeMFAToken() {
|
277
|
-
this.session.removeSessionStorageItem('mfaToken');
|
278
|
-
}
|
279
277
|
removeAll() {
|
280
278
|
this.removeCookie();
|
281
279
|
this.removeSSOToken();
|
282
280
|
this.removeUsername();
|
283
281
|
this.removeRefreshToken();
|
284
|
-
this.removeMFAToken();
|
285
282
|
}
|
286
283
|
preventSilentAccess() {
|
287
284
|
return supportsCredentialsContainer() && navigator.credentials.preventSilentAccess();
|
@@ -2600,34 +2600,6 @@
|
|
2600
2600
|
"parameters": [],
|
2601
2601
|
"name": "removeCookie"
|
2602
2602
|
},
|
2603
|
-
{
|
2604
|
-
"kind": "MethodSignature",
|
2605
|
-
"canonicalReference": "@genesislcap/foundation-comms!CredentialManager#removeMFAToken:member(1)",
|
2606
|
-
"docComment": "/**\n * Removes the current MFA token, if any.\n *\n * @public\n */\n",
|
2607
|
-
"excerptTokens": [
|
2608
|
-
{
|
2609
|
-
"kind": "Content",
|
2610
|
-
"text": "removeMFAToken(): "
|
2611
|
-
},
|
2612
|
-
{
|
2613
|
-
"kind": "Content",
|
2614
|
-
"text": "void"
|
2615
|
-
},
|
2616
|
-
{
|
2617
|
-
"kind": "Content",
|
2618
|
-
"text": ";"
|
2619
|
-
}
|
2620
|
-
],
|
2621
|
-
"isOptional": false,
|
2622
|
-
"returnTypeTokenRange": {
|
2623
|
-
"startIndex": 1,
|
2624
|
-
"endIndex": 2
|
2625
|
-
},
|
2626
|
-
"releaseTag": "Public",
|
2627
|
-
"overloadIndex": 1,
|
2628
|
-
"parameters": [],
|
2629
|
-
"name": "removeMFAToken"
|
2630
|
-
},
|
2631
2603
|
{
|
2632
2604
|
"kind": "MethodSignature",
|
2633
2605
|
"canonicalReference": "@genesislcap/foundation-comms!CredentialManager#removeRefreshToken:member(1)",
|
@@ -7963,37 +7935,6 @@
|
|
7963
7935
|
"isAbstract": false,
|
7964
7936
|
"name": "removeCookie"
|
7965
7937
|
},
|
7966
|
-
{
|
7967
|
-
"kind": "Method",
|
7968
|
-
"canonicalReference": "@genesislcap/foundation-comms!DefaultCredentialManager#removeMFAToken:member(1)",
|
7969
|
-
"docComment": "",
|
7970
|
-
"excerptTokens": [
|
7971
|
-
{
|
7972
|
-
"kind": "Content",
|
7973
|
-
"text": "removeMFAToken(): "
|
7974
|
-
},
|
7975
|
-
{
|
7976
|
-
"kind": "Content",
|
7977
|
-
"text": "void"
|
7978
|
-
},
|
7979
|
-
{
|
7980
|
-
"kind": "Content",
|
7981
|
-
"text": ";"
|
7982
|
-
}
|
7983
|
-
],
|
7984
|
-
"isStatic": false,
|
7985
|
-
"returnTypeTokenRange": {
|
7986
|
-
"startIndex": 1,
|
7987
|
-
"endIndex": 2
|
7988
|
-
},
|
7989
|
-
"releaseTag": "Public",
|
7990
|
-
"isProtected": false,
|
7991
|
-
"overloadIndex": 1,
|
7992
|
-
"parameters": [],
|
7993
|
-
"isOptional": false,
|
7994
|
-
"isAbstract": false,
|
7995
|
-
"name": "removeMFAToken"
|
7996
|
-
},
|
7997
7938
|
{
|
7998
7939
|
"kind": "Method",
|
7999
7940
|
"canonicalReference": "@genesislcap/foundation-comms!DefaultCredentialManager#removeRefreshToken:member(1)",
|
@@ -539,11 +539,6 @@ export declare interface CredentialManager {
|
|
539
539
|
* @public
|
540
540
|
*/
|
541
541
|
removeRefreshToken(): void;
|
542
|
-
/**
|
543
|
-
* Removes the current MFA token, if any.
|
544
|
-
* @public
|
545
|
-
*/
|
546
|
-
removeMFAToken(): void;
|
547
542
|
/**
|
548
543
|
* Removes all user crendentials data.
|
549
544
|
* @public
|
@@ -1066,7 +1061,6 @@ export declare class DefaultCredentialManager implements CredentialManager {
|
|
1066
1061
|
removeSSOToken(): void;
|
1067
1062
|
removeUsername(): void;
|
1068
1063
|
removeRefreshToken(): void;
|
1069
|
-
removeMFAToken(): void;
|
1070
1064
|
removeAll(): void;
|
1071
1065
|
preventSilentAccess(): Promise<void>;
|
1072
1066
|
}
|
@@ -30,7 +30,6 @@ export interface CredentialManager
|
|
30
30
|
| [preventSilentAccess()](./foundation-comms.credentialmanager.preventsilentaccess.md) | Prevents silent access by requiring the user to authenticate before making API requests. |
|
31
31
|
| [removeAll()](./foundation-comms.credentialmanager.removeall.md) | Removes all user crendentials data. |
|
32
32
|
| [removeCookie()](./foundation-comms.credentialmanager.removecookie.md) | Removes the user's cookie. |
|
33
|
-
| [removeMFAToken()](./foundation-comms.credentialmanager.removemfatoken.md) | Removes the current MFA token, if any. |
|
34
33
|
| [removeRefreshToken()](./foundation-comms.credentialmanager.removerefreshtoken.md) | Removes the current refresh token, if any. |
|
35
34
|
| [removeSSOToken()](./foundation-comms.credentialmanager.removessotoken.md) | Removes the current SSO token, if any. |
|
36
35
|
| [removeUsername()](./foundation-comms.credentialmanager.removeusername.md) | Removes the current username, if any. |
|
@@ -37,7 +37,6 @@ export declare class DefaultCredentialManager implements CredentialManager
|
|
37
37
|
| [preventSilentAccess()](./foundation-comms.defaultcredentialmanager.preventsilentaccess.md) | | |
|
38
38
|
| [removeAll()](./foundation-comms.defaultcredentialmanager.removeall.md) | | |
|
39
39
|
| [removeCookie()](./foundation-comms.defaultcredentialmanager.removecookie.md) | | |
|
40
|
-
| [removeMFAToken()](./foundation-comms.defaultcredentialmanager.removemfatoken.md) | | |
|
41
40
|
| [removeRefreshToken()](./foundation-comms.defaultcredentialmanager.removerefreshtoken.md) | | |
|
42
41
|
| [removeSSOToken()](./foundation-comms.defaultcredentialmanager.removessotoken.md) | | |
|
43
42
|
| [removeUsername()](./foundation-comms.defaultcredentialmanager.removeusername.md) | | |
|
package/docs/api-report.md
CHANGED
@@ -256,7 +256,6 @@ export interface CredentialManager {
|
|
256
256
|
preventSilentAccess(): Promise<void>;
|
257
257
|
removeAll(): void;
|
258
258
|
removeCookie(): void;
|
259
|
-
removeMFAToken(): void;
|
260
259
|
removeRefreshToken(): void;
|
261
260
|
removeSSOToken(): void;
|
262
261
|
removeUsername(): void;
|
@@ -563,8 +562,6 @@ export class DefaultCredentialManager implements CredentialManager {
|
|
563
562
|
// (undocumented)
|
564
563
|
removeCookie(): void;
|
565
564
|
// (undocumented)
|
566
|
-
removeMFAToken(): void;
|
567
|
-
// (undocumented)
|
568
565
|
removeRefreshToken(): void;
|
569
566
|
// (undocumented)
|
570
567
|
removeSSOToken(): void;
|
package/package.json
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
{
|
2
2
|
"name": "@genesislcap/foundation-comms",
|
3
3
|
"description": "Genesis Foundation UI Comms",
|
4
|
-
"version": "14.154.3-alpha-
|
4
|
+
"version": "14.154.3-alpha-94561a6.0",
|
5
5
|
"sideEffects": false,
|
6
6
|
"license": "SEE LICENSE IN license.txt",
|
7
7
|
"main": "dist/esm/index.js",
|
@@ -59,13 +59,13 @@
|
|
59
59
|
"test:debug": "genx test --debug"
|
60
60
|
},
|
61
61
|
"devDependencies": {
|
62
|
-
"@genesislcap/foundation-testing": "14.154.3-alpha-
|
63
|
-
"@genesislcap/genx": "14.154.3-alpha-
|
64
|
-
"@genesislcap/rollup-builder": "14.154.3-alpha-
|
65
|
-
"@genesislcap/ts-builder": "14.154.3-alpha-
|
66
|
-
"@genesislcap/uvu-playwright-builder": "14.154.3-alpha-
|
67
|
-
"@genesislcap/vite-builder": "14.154.3-alpha-
|
68
|
-
"@genesislcap/webpack-builder": "14.154.3-alpha-
|
62
|
+
"@genesislcap/foundation-testing": "14.154.3-alpha-94561a6.0",
|
63
|
+
"@genesislcap/genx": "14.154.3-alpha-94561a6.0",
|
64
|
+
"@genesislcap/rollup-builder": "14.154.3-alpha-94561a6.0",
|
65
|
+
"@genesislcap/ts-builder": "14.154.3-alpha-94561a6.0",
|
66
|
+
"@genesislcap/uvu-playwright-builder": "14.154.3-alpha-94561a6.0",
|
67
|
+
"@genesislcap/vite-builder": "14.154.3-alpha-94561a6.0",
|
68
|
+
"@genesislcap/webpack-builder": "14.154.3-alpha-94561a6.0",
|
69
69
|
"@types/js-cookie": "^3.0.2",
|
70
70
|
"@types/json-schema": "^7.0.11",
|
71
71
|
"@types/webappsec-credential-management": "^0.6.2",
|
@@ -73,8 +73,8 @@
|
|
73
73
|
},
|
74
74
|
"dependencies": {
|
75
75
|
"@finos/fdc3": "^1.2.0",
|
76
|
-
"@genesislcap/foundation-logger": "14.154.3-alpha-
|
77
|
-
"@genesislcap/foundation-utils": "14.154.3-alpha-
|
76
|
+
"@genesislcap/foundation-logger": "14.154.3-alpha-94561a6.0",
|
77
|
+
"@genesislcap/foundation-utils": "14.154.3-alpha-94561a6.0",
|
78
78
|
"@microsoft/fast-element": "^1.12.0",
|
79
79
|
"@microsoft/fast-foundation": "^2.49.4",
|
80
80
|
"analytics": "^0.8.0",
|
@@ -91,5 +91,5 @@
|
|
91
91
|
"publishConfig": {
|
92
92
|
"access": "public"
|
93
93
|
},
|
94
|
-
"gitHead": "
|
94
|
+
"gitHead": "f002e740bda8b88ea620dfb1c7b5ff32a72ec2ae"
|
95
95
|
}
|
@@ -1,17 +0,0 @@
|
|
1
|
-
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
2
|
-
|
3
|
-
[Home](./index.md) > [@genesislcap/foundation-comms](./foundation-comms.md) > [CredentialManager](./foundation-comms.credentialmanager.md) > [removeMFAToken](./foundation-comms.credentialmanager.removemfatoken.md)
|
4
|
-
|
5
|
-
## CredentialManager.removeMFAToken() method
|
6
|
-
|
7
|
-
Removes the current MFA token, if any.
|
8
|
-
|
9
|
-
**Signature:**
|
10
|
-
|
11
|
-
```typescript
|
12
|
-
removeMFAToken(): void;
|
13
|
-
```
|
14
|
-
**Returns:**
|
15
|
-
|
16
|
-
void
|
17
|
-
|
@@ -1,15 +0,0 @@
|
|
1
|
-
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
2
|
-
|
3
|
-
[Home](./index.md) > [@genesislcap/foundation-comms](./foundation-comms.md) > [DefaultCredentialManager](./foundation-comms.defaultcredentialmanager.md) > [removeMFAToken](./foundation-comms.defaultcredentialmanager.removemfatoken.md)
|
4
|
-
|
5
|
-
## DefaultCredentialManager.removeMFAToken() method
|
6
|
-
|
7
|
-
**Signature:**
|
8
|
-
|
9
|
-
```typescript
|
10
|
-
removeMFAToken(): void;
|
11
|
-
```
|
12
|
-
**Returns:**
|
13
|
-
|
14
|
-
void
|
15
|
-
|