@genesislcap/foundation-auth 14.71.1-auth-mf.19 → 14.71.1-auth-mf.20
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/dist/dts/machine/machine.d.ts.map +1 -1
- package/dist/dts/main/main.d.ts +3 -3
- package/dist/dts/main/main.d.ts.map +1 -1
- package/dist/dts/routes/base.d.ts +4 -12
- package/dist/dts/routes/base.d.ts.map +1 -1
- package/dist/dts/routes/config.d.ts +1 -1
- package/dist/dts/routes/config.d.ts.map +1 -1
- package/dist/dts/routes/forgot-password/forgot-password.d.ts +1 -1
- package/dist/dts/routes/forgot-password/forgot-password.d.ts.map +1 -1
- package/dist/dts/routes/login/login.d.ts +6 -7
- package/dist/dts/routes/login/login.d.ts.map +1 -1
- package/dist/dts/routes/login/login.template.d.ts.map +1 -1
- package/dist/dts/routes/logout/logout.d.ts +1 -1
- package/dist/dts/routes/logout/logout.d.ts.map +1 -1
- package/dist/dts/routes/reset-password/reset-password.d.ts +2 -1
- package/dist/dts/routes/reset-password/reset-password.d.ts.map +1 -1
- package/dist/dts/routes/types.d.ts +0 -14
- package/dist/dts/routes/types.d.ts.map +1 -1
- package/dist/dts/store/authFormEntry.d.ts +20 -4
- package/dist/dts/store/authFormEntry.d.ts.map +1 -1
- package/dist/dts/utils/sso.d.ts +14 -1
- package/dist/dts/utils/sso.d.ts.map +1 -1
- package/dist/esm/machine/machine.js +0 -8
- package/dist/esm/main/main.js +3 -3
- package/dist/esm/routes/base.js +3 -32
- package/dist/esm/routes/config.js +6 -18
- package/dist/esm/routes/forgot-password/forgot-password.js +2 -1
- package/dist/esm/routes/login/login.js +15 -45
- package/dist/esm/routes/login/login.template.js +16 -10
- package/dist/esm/routes/logout/logout.js +2 -1
- package/dist/esm/routes/reset-password/reset-password.js +6 -5
- package/dist/esm/store/authFormEntry.js +49 -2
- package/dist/foundation-auth.api.json +385 -4
- package/dist/foundation-auth.d.ts +34 -19
- package/docs/api/foundation-auth.authformentryeventmap.md +2 -0
- package/docs/api/foundation-auth.authformentrystore.autofilling.md +11 -0
- package/docs/api/foundation-auth.authformentrystore.md +3 -0
- package/docs/api/foundation-auth.authformentrystore.onselectedidpchanged.md +22 -0
- package/docs/api/foundation-auth.authformentrystore.onssotogglechanged.md +22 -0
- package/docs/api/foundation-auth.defaultauthformentrystore.autofill.md +15 -0
- package/docs/api/foundation-auth.defaultauthformentrystore.autofilling.md +11 -0
- package/docs/api/foundation-auth.defaultauthformentrystore.fetchmachine.md +11 -0
- package/docs/api/foundation-auth.defaultauthformentrystore.md +12 -0
- package/docs/api/foundation-auth.defaultauthformentrystore.onselectedidpchanged.md +11 -0
- package/docs/api/foundation-auth.defaultauthformentrystore.onssotogglechanged.md +11 -0
- package/docs/api/foundation-auth.defaultauthformentrystore.resetidpstate.md +15 -0
- package/docs/api/foundation-auth.defaultauthformentrystore.ssotoggledchanged.md +23 -0
- package/docs/api/foundation-auth.foundationauth.md +1 -1
- package/docs/api-report.md +34 -12
- package/package.json +11 -11
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { targetChecked } from '@genesislcap/foundation-events';
|
|
2
2
|
import { html, repeat, when } from '@microsoft/fast-element';
|
|
3
3
|
import { anchorTag, buttonTag, cardTag, checkboxTag, listboxOptionTag, selectTag, } from '../../tags';
|
|
4
|
-
import { organisationField, passwordField, showPasswordsCheckbox, usernameField, submitButton, } from '../base';
|
|
4
|
+
import { organisationField, passwordField, showPasswordsCheckbox, usernameField, submitButton, selectEmit, } from '../base';
|
|
5
5
|
const regularLogin = html `
|
|
6
6
|
${when((login) => !login.store.formEntry.ssoToggled, html `
|
|
7
7
|
${organisationField()} ${usernameField()} ${passwordField()}
|
|
@@ -62,20 +62,25 @@ const ssoLogin = html `
|
|
|
62
62
|
<${selectTag}
|
|
63
63
|
name="sso"
|
|
64
64
|
data-test-id="sso"
|
|
65
|
-
|
|
66
|
-
?disabled=${(x) => !x.idps.length}
|
|
65
|
+
@change="${selectEmit('auth-selectedIDP-changed')}"
|
|
66
|
+
?disabled=${(x) => !x.store.formEntry.idps.length}
|
|
67
67
|
>
|
|
68
|
-
${repeat((x) => x.idps, html `
|
|
69
|
-
<${listboxOptionTag}
|
|
68
|
+
${repeat((x) => x.store.formEntry.idps, html `
|
|
69
|
+
<${listboxOptionTag}
|
|
70
|
+
value=${({ id }) => id}
|
|
71
|
+
?selected=${(x, c) => c.parent.store.formEntry.selectedIDP == x.id}
|
|
72
|
+
>
|
|
73
|
+
${({ id }) => id}
|
|
74
|
+
</${listboxOptionTag}>
|
|
70
75
|
`)}
|
|
71
76
|
</${selectTag}>
|
|
72
77
|
<${buttonTag}
|
|
73
78
|
type="button"
|
|
74
79
|
class="action-btn"
|
|
75
80
|
appearance="primary-gradient"
|
|
76
|
-
@click="${(x) => x.
|
|
81
|
+
@click="${(x) => x.onSSOLogin()}"
|
|
77
82
|
data-test-id="sso-login"
|
|
78
|
-
?disabled=${(x) => !x.selectedIDP}
|
|
83
|
+
?disabled=${(x) => !x.store.formEntry.selectedIDP}
|
|
79
84
|
>
|
|
80
85
|
SSO Login
|
|
81
86
|
</${buttonTag}>
|
|
@@ -101,11 +106,12 @@ export const LoginTemplate = html `
|
|
|
101
106
|
${regularLogin} ${ssoLogin}
|
|
102
107
|
${when((x) => x.config.sso, html `
|
|
103
108
|
<${checkboxTag}
|
|
104
|
-
?checked="${
|
|
109
|
+
?checked="${(x) => x.store.formEntry.ssoToggled}"
|
|
110
|
+
@change="${(x, c) => x.$emit('auth-ssoToggled-changed', targetChecked(c))}"
|
|
105
111
|
name="sso-toggle"
|
|
106
112
|
data-test-id="sso-toggle"
|
|
107
113
|
>
|
|
108
|
-
${(x) => x.
|
|
114
|
+
${(x) => x.ssoToggleLabel}
|
|
109
115
|
</${checkboxTag}>
|
|
110
116
|
`)}
|
|
111
117
|
<auth-message></auth-message>
|
|
@@ -4,7 +4,8 @@ import { BaseRoute } from '../base';
|
|
|
4
4
|
import { LogoutStyles as styles } from './logout.styles';
|
|
5
5
|
import { LogoutTemplate as template } from './logout.template';
|
|
6
6
|
let Logout = class Logout extends BaseRoute {
|
|
7
|
-
|
|
7
|
+
connectedCallback() {
|
|
8
|
+
super.connectedCallback();
|
|
8
9
|
this.logout();
|
|
9
10
|
}
|
|
10
11
|
logout() {
|
|
@@ -9,12 +9,13 @@ let ResetPassword = class ResetPassword extends BaseRoute {
|
|
|
9
9
|
this.hasPasswordExpired = false;
|
|
10
10
|
this.passwordResetToken = '';
|
|
11
11
|
}
|
|
12
|
+
connectedCallback() {
|
|
13
|
+
super.connectedCallback();
|
|
14
|
+
this.attemptAutofill();
|
|
15
|
+
}
|
|
12
16
|
enter(phase) {
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
this.passwordResetToken = phase.route.queryParams.password;
|
|
16
|
-
this.attemptAutofill();
|
|
17
|
-
});
|
|
17
|
+
this.hasPasswordExpired = !!phase.route.queryParams.expired;
|
|
18
|
+
this.passwordResetToken = phase.route.queryParams.password;
|
|
18
19
|
}
|
|
19
20
|
onSubmit() {
|
|
20
21
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
import { __awaiter, __decorate } from "tslib";
|
|
2
|
+
import { FetchMachine } from '@genesislcap/foundation-state-machine';
|
|
2
3
|
import { AbstractStore, registerStore } from '@genesislcap/foundation-store';
|
|
3
4
|
import { observable, volatile } from '@microsoft/fast-element';
|
|
4
5
|
import { AuthConfig } from '../config/config';
|
|
5
6
|
import { CredentialManager, credentialSeparator } from '../credential';
|
|
6
|
-
import { logger } from '../utils';
|
|
7
|
+
import { fetchIDPs, logger } from '../utils';
|
|
7
8
|
/**
|
|
8
9
|
* Default implementation of the store.
|
|
9
10
|
* @public
|
|
@@ -33,14 +34,29 @@ export class DefaultAuthFormEntryStore extends AbstractStore {
|
|
|
33
34
|
this.selectedIDP = '';
|
|
34
35
|
this.ssoToggled = false;
|
|
35
36
|
this.termsAgreed = false;
|
|
37
|
+
this.autofilling = false;
|
|
38
|
+
this.onAutofillForm = this.createListener('auth-autofill-form', () => this.autofill());
|
|
36
39
|
this.onOrganisationChanged = this.createListener('auth-organisation-changed', (detail) => (this.commit.organisation = detail));
|
|
37
40
|
this.onUsernameChanged = this.createListener('auth-username-changed', (detail) => (this.commit.username = detail));
|
|
38
41
|
this.onEmailChanged = this.createListener('auth-email-changed', (detail) => (this.commit.email = detail));
|
|
39
42
|
this.onPasswordChanged = this.createListener('auth-password-changed', (detail) => (this.commit.password = detail));
|
|
40
43
|
this.onPassword2Changed = this.createListener('auth-password2-changed', (detail) => (this.commit.password2 = detail));
|
|
41
44
|
this.onShowPasswordsChanged = this.createListener('auth-showPasswords-changed', (detail) => (this.commit.showPasswords = detail));
|
|
42
|
-
this.
|
|
45
|
+
this.onSelectedIDPChanged = this.createListener('auth-selectedIDP-changed', (detail) => (this.commit.selectedIDP = detail));
|
|
46
|
+
this.onSSOToggleChanged = this.createListener('auth-ssoToggled-changed', (detail) => (this.commit.ssoToggled = detail));
|
|
43
47
|
this.ssoToggled = (_b = (_a = this.config.sso) === null || _a === void 0 ? void 0 : _a.toggled) !== null && _b !== void 0 ? _b : false;
|
|
48
|
+
/**
|
|
49
|
+
* Listeners not on the public interface can be created anonymously
|
|
50
|
+
*/
|
|
51
|
+
this.createListener('auth-fetch-idps-success', (idps) => {
|
|
52
|
+
this.commit.idps = idps;
|
|
53
|
+
this.commit.selectedIDP = idps && idps.length ? idps[0].id : '';
|
|
54
|
+
});
|
|
55
|
+
this.createErrorListener('auth-fetch-idps-error', () => this.resetIDPState());
|
|
56
|
+
}
|
|
57
|
+
resetIDPState() {
|
|
58
|
+
this.commit.idps = [];
|
|
59
|
+
this.commit.selectedIDP = '';
|
|
44
60
|
}
|
|
45
61
|
autofill() {
|
|
46
62
|
var _a, _b, _c;
|
|
@@ -52,6 +68,7 @@ export class DefaultAuthFormEntryStore extends AbstractStore {
|
|
|
52
68
|
* Neptune was using cookies directly. To provide them with a seamless upgrade, we should load from cookies if the
|
|
53
69
|
* container is empty. These stored cookies become irrelevant after their first login in the new system.
|
|
54
70
|
*/
|
|
71
|
+
this.autofilling = true;
|
|
55
72
|
const containerData = yield this.credentialManager.getCredentialsFromContainer();
|
|
56
73
|
const cookieData = yield this.credentialManager.getCredentialsFromCookie();
|
|
57
74
|
const [normalisedData, canRemoveCookie] = this.credentialManager.normaliseLegacyCredentialData(containerData, cookieData);
|
|
@@ -80,9 +97,33 @@ export class DefaultAuthFormEntryStore extends AbstractStore {
|
|
|
80
97
|
catch (err) {
|
|
81
98
|
logger.error('An error occurred attempting to get and autofill from stored credentials.', err);
|
|
82
99
|
}
|
|
100
|
+
this.autofilling = false;
|
|
83
101
|
return Promise.resolve(!!credentialData);
|
|
84
102
|
});
|
|
85
103
|
}
|
|
104
|
+
ssoToggledChanged(prev, next) {
|
|
105
|
+
var _a, _b;
|
|
106
|
+
if (!next) {
|
|
107
|
+
this.resetIDPState();
|
|
108
|
+
return;
|
|
109
|
+
}
|
|
110
|
+
const path = `${(_b = (_a = this.config.sso) === null || _a === void 0 ? void 0 : _a.identityProvidersPath) !== null && _b !== void 0 ? _b : 'sso/list'}`;
|
|
111
|
+
this.errors.delete('auth-fetch-idps-error');
|
|
112
|
+
const emitError = () => this.emit('auth-fetch-idps-error', Error('Failed to fetch identity providers.'));
|
|
113
|
+
/**
|
|
114
|
+
* TODO: Port to FetchMachine, need to sort out all the utils/sso stuff.
|
|
115
|
+
*/
|
|
116
|
+
fetchIDPs(path)
|
|
117
|
+
.then((idps) => {
|
|
118
|
+
var _a;
|
|
119
|
+
if (!idps.length || (idps.length === 1 && ((_a = idps[0]) === null || _a === void 0 ? void 0 : _a.id) === 'error')) {
|
|
120
|
+
emitError();
|
|
121
|
+
return;
|
|
122
|
+
}
|
|
123
|
+
this.emit('auth-fetch-idps-success', idps);
|
|
124
|
+
})
|
|
125
|
+
.catch(() => emitError());
|
|
126
|
+
}
|
|
86
127
|
}
|
|
87
128
|
__decorate([
|
|
88
129
|
AuthConfig
|
|
@@ -90,6 +131,9 @@ __decorate([
|
|
|
90
131
|
__decorate([
|
|
91
132
|
CredentialManager
|
|
92
133
|
], DefaultAuthFormEntryStore.prototype, "credentialManager", void 0);
|
|
134
|
+
__decorate([
|
|
135
|
+
FetchMachine
|
|
136
|
+
], DefaultAuthFormEntryStore.prototype, "fetchMachine", void 0);
|
|
93
137
|
__decorate([
|
|
94
138
|
observable
|
|
95
139
|
], DefaultAuthFormEntryStore.prototype, "host", void 0);
|
|
@@ -138,6 +182,9 @@ __decorate([
|
|
|
138
182
|
__decorate([
|
|
139
183
|
observable
|
|
140
184
|
], DefaultAuthFormEntryStore.prototype, "termsAgreed", void 0);
|
|
185
|
+
__decorate([
|
|
186
|
+
observable
|
|
187
|
+
], DefaultAuthFormEntryStore.prototype, "autofilling", void 0);
|
|
141
188
|
__decorate([
|
|
142
189
|
volatile
|
|
143
190
|
], DefaultAuthFormEntryStore.prototype, "orgUsername", null);
|
|
@@ -786,7 +786,7 @@
|
|
|
786
786
|
},
|
|
787
787
|
{
|
|
788
788
|
"kind": "Content",
|
|
789
|
-
"text": "{\n 'auth-autofill-form': void;\n 'auth-organisation-changed': string;\n 'auth-username-changed': string;\n 'auth-email-changed': string;\n 'auth-password-changed': string;\n 'auth-password2-changed': string;\n 'auth-showPasswords-changed': boolean;\n}"
|
|
789
|
+
"text": "{\n 'auth-autofill-form': void;\n 'auth-organisation-changed': string;\n 'auth-username-changed': string;\n 'auth-email-changed': string;\n 'auth-password-changed': string;\n 'auth-password2-changed': string;\n 'auth-showPasswords-changed': boolean;\n 'auth-selectedIDP-changed': string;\n 'auth-ssoToggled-changed': boolean;\n}"
|
|
790
790
|
},
|
|
791
791
|
{
|
|
792
792
|
"kind": "Content",
|
|
@@ -825,6 +825,33 @@
|
|
|
825
825
|
"name": "AuthFormEntryStore",
|
|
826
826
|
"preserveMemberOrder": false,
|
|
827
827
|
"members": [
|
|
828
|
+
{
|
|
829
|
+
"kind": "PropertySignature",
|
|
830
|
+
"canonicalReference": "@genesislcap/foundation-auth!AuthFormEntryStore#autofilling:member",
|
|
831
|
+
"docComment": "",
|
|
832
|
+
"excerptTokens": [
|
|
833
|
+
{
|
|
834
|
+
"kind": "Content",
|
|
835
|
+
"text": "readonly autofilling: "
|
|
836
|
+
},
|
|
837
|
+
{
|
|
838
|
+
"kind": "Content",
|
|
839
|
+
"text": "boolean"
|
|
840
|
+
},
|
|
841
|
+
{
|
|
842
|
+
"kind": "Content",
|
|
843
|
+
"text": ";"
|
|
844
|
+
}
|
|
845
|
+
],
|
|
846
|
+
"isReadonly": true,
|
|
847
|
+
"isOptional": false,
|
|
848
|
+
"releaseTag": "Public",
|
|
849
|
+
"name": "autofilling",
|
|
850
|
+
"propertyTypeTokenRange": {
|
|
851
|
+
"startIndex": 1,
|
|
852
|
+
"endIndex": 2
|
|
853
|
+
}
|
|
854
|
+
},
|
|
828
855
|
{
|
|
829
856
|
"kind": "PropertySignature",
|
|
830
857
|
"canonicalReference": "@genesislcap/foundation-auth!AuthFormEntryStore#email:member",
|
|
@@ -1269,6 +1296,56 @@
|
|
|
1269
1296
|
],
|
|
1270
1297
|
"name": "onPasswordChanged"
|
|
1271
1298
|
},
|
|
1299
|
+
{
|
|
1300
|
+
"kind": "MethodSignature",
|
|
1301
|
+
"canonicalReference": "@genesislcap/foundation-auth!AuthFormEntryStore#onSelectedIDPChanged:member(1)",
|
|
1302
|
+
"docComment": "",
|
|
1303
|
+
"excerptTokens": [
|
|
1304
|
+
{
|
|
1305
|
+
"kind": "Content",
|
|
1306
|
+
"text": "onSelectedIDPChanged(event: "
|
|
1307
|
+
},
|
|
1308
|
+
{
|
|
1309
|
+
"kind": "Reference",
|
|
1310
|
+
"text": "CustomEvent",
|
|
1311
|
+
"canonicalReference": "!CustomEvent:interface"
|
|
1312
|
+
},
|
|
1313
|
+
{
|
|
1314
|
+
"kind": "Content",
|
|
1315
|
+
"text": "<string>"
|
|
1316
|
+
},
|
|
1317
|
+
{
|
|
1318
|
+
"kind": "Content",
|
|
1319
|
+
"text": "): "
|
|
1320
|
+
},
|
|
1321
|
+
{
|
|
1322
|
+
"kind": "Content",
|
|
1323
|
+
"text": "void"
|
|
1324
|
+
},
|
|
1325
|
+
{
|
|
1326
|
+
"kind": "Content",
|
|
1327
|
+
"text": ";"
|
|
1328
|
+
}
|
|
1329
|
+
],
|
|
1330
|
+
"isOptional": false,
|
|
1331
|
+
"returnTypeTokenRange": {
|
|
1332
|
+
"startIndex": 4,
|
|
1333
|
+
"endIndex": 5
|
|
1334
|
+
},
|
|
1335
|
+
"releaseTag": "Public",
|
|
1336
|
+
"overloadIndex": 1,
|
|
1337
|
+
"parameters": [
|
|
1338
|
+
{
|
|
1339
|
+
"parameterName": "event",
|
|
1340
|
+
"parameterTypeTokenRange": {
|
|
1341
|
+
"startIndex": 1,
|
|
1342
|
+
"endIndex": 3
|
|
1343
|
+
},
|
|
1344
|
+
"isOptional": false
|
|
1345
|
+
}
|
|
1346
|
+
],
|
|
1347
|
+
"name": "onSelectedIDPChanged"
|
|
1348
|
+
},
|
|
1272
1349
|
{
|
|
1273
1350
|
"kind": "MethodSignature",
|
|
1274
1351
|
"canonicalReference": "@genesislcap/foundation-auth!AuthFormEntryStore#onShowPasswordsChanged:member(1)",
|
|
@@ -1319,6 +1396,56 @@
|
|
|
1319
1396
|
],
|
|
1320
1397
|
"name": "onShowPasswordsChanged"
|
|
1321
1398
|
},
|
|
1399
|
+
{
|
|
1400
|
+
"kind": "MethodSignature",
|
|
1401
|
+
"canonicalReference": "@genesislcap/foundation-auth!AuthFormEntryStore#onSSOToggleChanged:member(1)",
|
|
1402
|
+
"docComment": "",
|
|
1403
|
+
"excerptTokens": [
|
|
1404
|
+
{
|
|
1405
|
+
"kind": "Content",
|
|
1406
|
+
"text": "onSSOToggleChanged(event: "
|
|
1407
|
+
},
|
|
1408
|
+
{
|
|
1409
|
+
"kind": "Reference",
|
|
1410
|
+
"text": "CustomEvent",
|
|
1411
|
+
"canonicalReference": "!CustomEvent:interface"
|
|
1412
|
+
},
|
|
1413
|
+
{
|
|
1414
|
+
"kind": "Content",
|
|
1415
|
+
"text": "<boolean>"
|
|
1416
|
+
},
|
|
1417
|
+
{
|
|
1418
|
+
"kind": "Content",
|
|
1419
|
+
"text": "): "
|
|
1420
|
+
},
|
|
1421
|
+
{
|
|
1422
|
+
"kind": "Content",
|
|
1423
|
+
"text": "void"
|
|
1424
|
+
},
|
|
1425
|
+
{
|
|
1426
|
+
"kind": "Content",
|
|
1427
|
+
"text": ";"
|
|
1428
|
+
}
|
|
1429
|
+
],
|
|
1430
|
+
"isOptional": false,
|
|
1431
|
+
"returnTypeTokenRange": {
|
|
1432
|
+
"startIndex": 4,
|
|
1433
|
+
"endIndex": 5
|
|
1434
|
+
},
|
|
1435
|
+
"releaseTag": "Public",
|
|
1436
|
+
"overloadIndex": 1,
|
|
1437
|
+
"parameters": [
|
|
1438
|
+
{
|
|
1439
|
+
"parameterName": "event",
|
|
1440
|
+
"parameterTypeTokenRange": {
|
|
1441
|
+
"startIndex": 1,
|
|
1442
|
+
"endIndex": 3
|
|
1443
|
+
},
|
|
1444
|
+
"isOptional": false
|
|
1445
|
+
}
|
|
1446
|
+
],
|
|
1447
|
+
"name": "onSSOToggleChanged"
|
|
1448
|
+
},
|
|
1322
1449
|
{
|
|
1323
1450
|
"kind": "MethodSignature",
|
|
1324
1451
|
"canonicalReference": "@genesislcap/foundation-auth!AuthFormEntryStore#onUsernameChanged:member(1)",
|
|
@@ -4403,6 +4530,72 @@
|
|
|
4403
4530
|
"overloadIndex": 1,
|
|
4404
4531
|
"parameters": []
|
|
4405
4532
|
},
|
|
4533
|
+
{
|
|
4534
|
+
"kind": "Method",
|
|
4535
|
+
"canonicalReference": "@genesislcap/foundation-auth!DefaultAuthFormEntryStore#autofill:member(1)",
|
|
4536
|
+
"docComment": "",
|
|
4537
|
+
"excerptTokens": [
|
|
4538
|
+
{
|
|
4539
|
+
"kind": "Content",
|
|
4540
|
+
"text": "protected autofill(): "
|
|
4541
|
+
},
|
|
4542
|
+
{
|
|
4543
|
+
"kind": "Reference",
|
|
4544
|
+
"text": "Promise",
|
|
4545
|
+
"canonicalReference": "!Promise:interface"
|
|
4546
|
+
},
|
|
4547
|
+
{
|
|
4548
|
+
"kind": "Content",
|
|
4549
|
+
"text": "<boolean>"
|
|
4550
|
+
},
|
|
4551
|
+
{
|
|
4552
|
+
"kind": "Content",
|
|
4553
|
+
"text": ";"
|
|
4554
|
+
}
|
|
4555
|
+
],
|
|
4556
|
+
"isStatic": false,
|
|
4557
|
+
"returnTypeTokenRange": {
|
|
4558
|
+
"startIndex": 1,
|
|
4559
|
+
"endIndex": 3
|
|
4560
|
+
},
|
|
4561
|
+
"releaseTag": "Public",
|
|
4562
|
+
"isProtected": true,
|
|
4563
|
+
"overloadIndex": 1,
|
|
4564
|
+
"parameters": [],
|
|
4565
|
+
"isOptional": false,
|
|
4566
|
+
"isAbstract": false,
|
|
4567
|
+
"name": "autofill"
|
|
4568
|
+
},
|
|
4569
|
+
{
|
|
4570
|
+
"kind": "Property",
|
|
4571
|
+
"canonicalReference": "@genesislcap/foundation-auth!DefaultAuthFormEntryStore#autofilling:member",
|
|
4572
|
+
"docComment": "",
|
|
4573
|
+
"excerptTokens": [
|
|
4574
|
+
{
|
|
4575
|
+
"kind": "Content",
|
|
4576
|
+
"text": "autofilling: "
|
|
4577
|
+
},
|
|
4578
|
+
{
|
|
4579
|
+
"kind": "Content",
|
|
4580
|
+
"text": "boolean"
|
|
4581
|
+
},
|
|
4582
|
+
{
|
|
4583
|
+
"kind": "Content",
|
|
4584
|
+
"text": ";"
|
|
4585
|
+
}
|
|
4586
|
+
],
|
|
4587
|
+
"isReadonly": false,
|
|
4588
|
+
"isOptional": false,
|
|
4589
|
+
"releaseTag": "Public",
|
|
4590
|
+
"name": "autofilling",
|
|
4591
|
+
"propertyTypeTokenRange": {
|
|
4592
|
+
"startIndex": 1,
|
|
4593
|
+
"endIndex": 2
|
|
4594
|
+
},
|
|
4595
|
+
"isStatic": false,
|
|
4596
|
+
"isProtected": false,
|
|
4597
|
+
"isAbstract": false
|
|
4598
|
+
},
|
|
4406
4599
|
{
|
|
4407
4600
|
"kind": "Property",
|
|
4408
4601
|
"canonicalReference": "@genesislcap/foundation-auth!DefaultAuthFormEntryStore#config:member",
|
|
@@ -4495,6 +4688,37 @@
|
|
|
4495
4688
|
"isProtected": false,
|
|
4496
4689
|
"isAbstract": false
|
|
4497
4690
|
},
|
|
4691
|
+
{
|
|
4692
|
+
"kind": "Property",
|
|
4693
|
+
"canonicalReference": "@genesislcap/foundation-auth!DefaultAuthFormEntryStore#fetchMachine:member",
|
|
4694
|
+
"docComment": "",
|
|
4695
|
+
"excerptTokens": [
|
|
4696
|
+
{
|
|
4697
|
+
"kind": "Content",
|
|
4698
|
+
"text": "readonly fetchMachine: "
|
|
4699
|
+
},
|
|
4700
|
+
{
|
|
4701
|
+
"kind": "Reference",
|
|
4702
|
+
"text": "FetchMachine",
|
|
4703
|
+
"canonicalReference": "@genesislcap/foundation-state-machine!FetchMachine:interface"
|
|
4704
|
+
},
|
|
4705
|
+
{
|
|
4706
|
+
"kind": "Content",
|
|
4707
|
+
"text": ";"
|
|
4708
|
+
}
|
|
4709
|
+
],
|
|
4710
|
+
"isReadonly": true,
|
|
4711
|
+
"isOptional": false,
|
|
4712
|
+
"releaseTag": "Public",
|
|
4713
|
+
"name": "fetchMachine",
|
|
4714
|
+
"propertyTypeTokenRange": {
|
|
4715
|
+
"startIndex": 1,
|
|
4716
|
+
"endIndex": 2
|
|
4717
|
+
},
|
|
4718
|
+
"isStatic": false,
|
|
4719
|
+
"isProtected": false,
|
|
4720
|
+
"isAbstract": false
|
|
4721
|
+
},
|
|
4498
4722
|
{
|
|
4499
4723
|
"kind": "Property",
|
|
4500
4724
|
"canonicalReference": "@genesislcap/foundation-auth!DefaultAuthFormEntryStore#hasErrors:member",
|
|
@@ -4835,6 +5059,37 @@
|
|
|
4835
5059
|
"isProtected": false,
|
|
4836
5060
|
"isAbstract": false
|
|
4837
5061
|
},
|
|
5062
|
+
{
|
|
5063
|
+
"kind": "Property",
|
|
5064
|
+
"canonicalReference": "@genesislcap/foundation-auth!DefaultAuthFormEntryStore#onSelectedIDPChanged:member",
|
|
5065
|
+
"docComment": "",
|
|
5066
|
+
"excerptTokens": [
|
|
5067
|
+
{
|
|
5068
|
+
"kind": "Content",
|
|
5069
|
+
"text": "onSelectedIDPChanged: "
|
|
5070
|
+
},
|
|
5071
|
+
{
|
|
5072
|
+
"kind": "Reference",
|
|
5073
|
+
"text": "EventListener",
|
|
5074
|
+
"canonicalReference": "!EventListener:interface"
|
|
5075
|
+
},
|
|
5076
|
+
{
|
|
5077
|
+
"kind": "Content",
|
|
5078
|
+
"text": ";"
|
|
5079
|
+
}
|
|
5080
|
+
],
|
|
5081
|
+
"isReadonly": false,
|
|
5082
|
+
"isOptional": false,
|
|
5083
|
+
"releaseTag": "Public",
|
|
5084
|
+
"name": "onSelectedIDPChanged",
|
|
5085
|
+
"propertyTypeTokenRange": {
|
|
5086
|
+
"startIndex": 1,
|
|
5087
|
+
"endIndex": 2
|
|
5088
|
+
},
|
|
5089
|
+
"isStatic": false,
|
|
5090
|
+
"isProtected": false,
|
|
5091
|
+
"isAbstract": false
|
|
5092
|
+
},
|
|
4838
5093
|
{
|
|
4839
5094
|
"kind": "Property",
|
|
4840
5095
|
"canonicalReference": "@genesislcap/foundation-auth!DefaultAuthFormEntryStore#onShowPasswordsChanged:member",
|
|
@@ -4866,6 +5121,37 @@
|
|
|
4866
5121
|
"isProtected": false,
|
|
4867
5122
|
"isAbstract": false
|
|
4868
5123
|
},
|
|
5124
|
+
{
|
|
5125
|
+
"kind": "Property",
|
|
5126
|
+
"canonicalReference": "@genesislcap/foundation-auth!DefaultAuthFormEntryStore#onSSOToggleChanged:member",
|
|
5127
|
+
"docComment": "",
|
|
5128
|
+
"excerptTokens": [
|
|
5129
|
+
{
|
|
5130
|
+
"kind": "Content",
|
|
5131
|
+
"text": "onSSOToggleChanged: "
|
|
5132
|
+
},
|
|
5133
|
+
{
|
|
5134
|
+
"kind": "Reference",
|
|
5135
|
+
"text": "EventListener",
|
|
5136
|
+
"canonicalReference": "!EventListener:interface"
|
|
5137
|
+
},
|
|
5138
|
+
{
|
|
5139
|
+
"kind": "Content",
|
|
5140
|
+
"text": ";"
|
|
5141
|
+
}
|
|
5142
|
+
],
|
|
5143
|
+
"isReadonly": false,
|
|
5144
|
+
"isOptional": false,
|
|
5145
|
+
"releaseTag": "Public",
|
|
5146
|
+
"name": "onSSOToggleChanged",
|
|
5147
|
+
"propertyTypeTokenRange": {
|
|
5148
|
+
"startIndex": 1,
|
|
5149
|
+
"endIndex": 2
|
|
5150
|
+
},
|
|
5151
|
+
"isStatic": false,
|
|
5152
|
+
"isProtected": false,
|
|
5153
|
+
"isAbstract": false
|
|
5154
|
+
},
|
|
4869
5155
|
{
|
|
4870
5156
|
"kind": "Property",
|
|
4871
5157
|
"canonicalReference": "@genesislcap/foundation-auth!DefaultAuthFormEntryStore#onUsernameChanged:member",
|
|
@@ -5047,6 +5333,37 @@
|
|
|
5047
5333
|
"isProtected": false,
|
|
5048
5334
|
"isAbstract": false
|
|
5049
5335
|
},
|
|
5336
|
+
{
|
|
5337
|
+
"kind": "Method",
|
|
5338
|
+
"canonicalReference": "@genesislcap/foundation-auth!DefaultAuthFormEntryStore#resetIDPState:member(1)",
|
|
5339
|
+
"docComment": "",
|
|
5340
|
+
"excerptTokens": [
|
|
5341
|
+
{
|
|
5342
|
+
"kind": "Content",
|
|
5343
|
+
"text": "protected resetIDPState(): "
|
|
5344
|
+
},
|
|
5345
|
+
{
|
|
5346
|
+
"kind": "Content",
|
|
5347
|
+
"text": "void"
|
|
5348
|
+
},
|
|
5349
|
+
{
|
|
5350
|
+
"kind": "Content",
|
|
5351
|
+
"text": ";"
|
|
5352
|
+
}
|
|
5353
|
+
],
|
|
5354
|
+
"isStatic": false,
|
|
5355
|
+
"returnTypeTokenRange": {
|
|
5356
|
+
"startIndex": 1,
|
|
5357
|
+
"endIndex": 2
|
|
5358
|
+
},
|
|
5359
|
+
"releaseTag": "Public",
|
|
5360
|
+
"isProtected": true,
|
|
5361
|
+
"overloadIndex": 1,
|
|
5362
|
+
"parameters": [],
|
|
5363
|
+
"isOptional": false,
|
|
5364
|
+
"isAbstract": false,
|
|
5365
|
+
"name": "resetIDPState"
|
|
5366
|
+
},
|
|
5050
5367
|
{
|
|
5051
5368
|
"kind": "Property",
|
|
5052
5369
|
"canonicalReference": "@genesislcap/foundation-auth!DefaultAuthFormEntryStore#selectedIDP:member",
|
|
@@ -5137,6 +5454,70 @@
|
|
|
5137
5454
|
"isProtected": false,
|
|
5138
5455
|
"isAbstract": false
|
|
5139
5456
|
},
|
|
5457
|
+
{
|
|
5458
|
+
"kind": "Method",
|
|
5459
|
+
"canonicalReference": "@genesislcap/foundation-auth!DefaultAuthFormEntryStore#ssoToggledChanged:member(1)",
|
|
5460
|
+
"docComment": "",
|
|
5461
|
+
"excerptTokens": [
|
|
5462
|
+
{
|
|
5463
|
+
"kind": "Content",
|
|
5464
|
+
"text": "protected ssoToggledChanged(prev: "
|
|
5465
|
+
},
|
|
5466
|
+
{
|
|
5467
|
+
"kind": "Content",
|
|
5468
|
+
"text": "boolean"
|
|
5469
|
+
},
|
|
5470
|
+
{
|
|
5471
|
+
"kind": "Content",
|
|
5472
|
+
"text": ", next: "
|
|
5473
|
+
},
|
|
5474
|
+
{
|
|
5475
|
+
"kind": "Content",
|
|
5476
|
+
"text": "boolean"
|
|
5477
|
+
},
|
|
5478
|
+
{
|
|
5479
|
+
"kind": "Content",
|
|
5480
|
+
"text": "): "
|
|
5481
|
+
},
|
|
5482
|
+
{
|
|
5483
|
+
"kind": "Content",
|
|
5484
|
+
"text": "void"
|
|
5485
|
+
},
|
|
5486
|
+
{
|
|
5487
|
+
"kind": "Content",
|
|
5488
|
+
"text": ";"
|
|
5489
|
+
}
|
|
5490
|
+
],
|
|
5491
|
+
"isStatic": false,
|
|
5492
|
+
"returnTypeTokenRange": {
|
|
5493
|
+
"startIndex": 5,
|
|
5494
|
+
"endIndex": 6
|
|
5495
|
+
},
|
|
5496
|
+
"releaseTag": "Public",
|
|
5497
|
+
"isProtected": true,
|
|
5498
|
+
"overloadIndex": 1,
|
|
5499
|
+
"parameters": [
|
|
5500
|
+
{
|
|
5501
|
+
"parameterName": "prev",
|
|
5502
|
+
"parameterTypeTokenRange": {
|
|
5503
|
+
"startIndex": 1,
|
|
5504
|
+
"endIndex": 2
|
|
5505
|
+
},
|
|
5506
|
+
"isOptional": false
|
|
5507
|
+
},
|
|
5508
|
+
{
|
|
5509
|
+
"parameterName": "next",
|
|
5510
|
+
"parameterTypeTokenRange": {
|
|
5511
|
+
"startIndex": 3,
|
|
5512
|
+
"endIndex": 4
|
|
5513
|
+
},
|
|
5514
|
+
"isOptional": false
|
|
5515
|
+
}
|
|
5516
|
+
],
|
|
5517
|
+
"isOptional": false,
|
|
5518
|
+
"isAbstract": false,
|
|
5519
|
+
"name": "ssoToggledChanged"
|
|
5520
|
+
},
|
|
5140
5521
|
{
|
|
5141
5522
|
"kind": "Property",
|
|
5142
5523
|
"canonicalReference": "@genesislcap/foundation-auth!DefaultAuthFormEntryStore#termsAgreed:member",
|
|
@@ -10307,7 +10688,7 @@
|
|
|
10307
10688
|
{
|
|
10308
10689
|
"kind": "Class",
|
|
10309
10690
|
"canonicalReference": "@genesislcap/foundation-auth!FoundationAuth:class",
|
|
10310
|
-
"docComment": "/**\n * FoundationAuth.\n *\n * @remarks\n *\n *
|
|
10691
|
+
"docComment": "/**\n * FoundationAuth.\n *\n * @remarks\n *\n * Base MF export used by host application `configure` calls. It does not set up a design system or components. Both are expected to be registered in the host application, which should provide the details of which to the MF via TemplateOptions.\n *\n * See the {@link configure} hook for more information on how to set up and use this micro frontend in your application.\n *\n * @public\n */\n",
|
|
10311
10692
|
"excerptTokens": [
|
|
10312
10693
|
{
|
|
10313
10694
|
"kind": "Content",
|
|
@@ -10693,7 +11074,7 @@
|
|
|
10693
11074
|
"text": "export interface IDP "
|
|
10694
11075
|
}
|
|
10695
11076
|
],
|
|
10696
|
-
"fileUrlPath": "src/
|
|
11077
|
+
"fileUrlPath": "src/utils/sso.ts",
|
|
10697
11078
|
"releaseTag": "Public",
|
|
10698
11079
|
"name": "IDP",
|
|
10699
11080
|
"preserveMemberOrder": false,
|
|
@@ -10765,7 +11146,7 @@
|
|
|
10765
11146
|
"text": "export interface IDPResponse "
|
|
10766
11147
|
}
|
|
10767
11148
|
],
|
|
10768
|
-
"fileUrlPath": "src/
|
|
11149
|
+
"fileUrlPath": "src/utils/sso.ts",
|
|
10769
11150
|
"releaseTag": "Public",
|
|
10770
11151
|
"name": "IDPResponse",
|
|
10771
11152
|
"preserveMemberOrder": false,
|