@genesislcap/foundation-auth 14.238.0 → 14.238.2
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/index.d.ts +0 -1
- package/dist/dts/index.d.ts.map +1 -1
- package/dist/dts/machine/machine.d.ts.map +1 -1
- package/dist/dts/routes/login/login.d.ts +1 -0
- 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/services/idp.d.ts.map +1 -1
- package/dist/esm/index.js +0 -1
- package/dist/esm/machine/machine.js +1 -1
- package/dist/esm/routes/login/login.js +5 -0
- package/dist/esm/routes/login/login.template.js +37 -33
- package/dist/esm/services/idp.js +1 -1
- package/dist/foundation-auth.api.json +0 -207
- package/dist/foundation-auth.d.ts +0 -45
- package/docs/api/foundation-auth.md +0 -9
- package/docs/api-report.md +0 -27
- package/package.json +19 -19
- package/dist/dts/env.d.ts +0 -46
- package/dist/dts/env.d.ts.map +0 -1
- package/dist/esm/env.js +0 -101
- package/docs/api/foundation-auth.change_password_url.md +0 -12
- package/docs/api/foundation-auth.forgot_password_url.md +0 -12
- package/docs/api/foundation-auth.login_details_url.md +0 -12
- package/docs/api/foundation-auth.login_refresh_url.md +0 -12
- package/docs/api/foundation-auth.login_url.md +0 -12
- package/docs/api/foundation-auth.logout_url.md +0 -12
- package/docs/api/foundation-auth.reset_password_url.md +0 -12
- package/docs/api/foundation-auth.sso_list_url.md +0 -12
- package/docs/api/foundation-auth.sso_login_url.md +0 -12
package/dist/dts/index.d.ts
CHANGED
package/dist/dts/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,UAAU,CAAC;AACzB,cAAc,cAAc,CAAC;AAC7B,cAAc,OAAO,CAAC;AACtB,cAAc,UAAU,CAAC;AACzB,cAAc,WAAW,CAAC;AAC1B,cAAc,QAAQ,CAAC;AACvB,cAAc,UAAU,CAAC;AACzB,cAAc,UAAU,CAAC;AACzB,cAAc,SAAS,CAAC;AACxB,cAAc,QAAQ,CAAC;AACvB,cAAc,SAAS,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"machine.d.ts","sourceRoot":"","sources":["../../../src/machine/machine.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,eAAe,EAEf,YAAY,EACZ,iBAAiB,EAMjB,OAAO,EACR,MAAM,uCAAuC,CAAC;AAC/C,OAAO,EAAE,IAAI,EAAE,MAAM,8BAA8B,CAAC;AACpD,OAAO,EAAE,IAAI,EAAE,MAAM,+BAA+B,CAAC;
|
|
1
|
+
{"version":3,"file":"machine.d.ts","sourceRoot":"","sources":["../../../src/machine/machine.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,eAAe,EAEf,YAAY,EACZ,iBAAiB,EAMjB,OAAO,EACR,MAAM,uCAAuC,CAAC;AAC/C,OAAO,EAAE,IAAI,EAAE,MAAM,8BAA8B,CAAC;AACpD,OAAO,EAAE,IAAI,EAAE,MAAM,+BAA+B,CAAC;AAWrD,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,QAAQ,CAAC;AACjD,OAAO,EAAE,UAAU,EAAE,MAAM,kBAAkB,CAAC;AAC9C,OAAO,EAEL,iBAAiB,EAIlB,MAAM,eAAe,CAAC;AAIvB,OAAO,EACL,iBAAiB,EAQlB,MAAM,WAAW,CAAC;AACnB,OAAO,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAC;AAGhD,OAAO,KAAK,EACV,kBAAkB,EAClB,gBAAgB,EAGhB,WAAW,EACX,WAAW,EAEZ,MAAM,SAAS,CAAC;AAGjB;;;GAGG;AACH,MAAM,WAAW,WAAY,SAAQ,OAAO,CAAC,kBAAkB,EAAE,gBAAgB,CAAC;CAAG;AAErF;;;GAGG;AACH,qBAAa,kBACX,SAAQ,eAAe,CAAC,kBAAkB,EAAE,gBAAgB,CAC5D,YAAW,WAAW;IAGd,OAAO,CAAC,IAAI;IACJ,OAAO,CAAC,YAAY;IACf,OAAO,CAAC,EAAE;IACvB,OAAO,CAAC,IAAI;IACC,OAAO,CAAC,aAAa;IAC5B,OAAO,CAAC,MAAM;IACb,OAAO,CAAC,OAAO;gBANd,IAAI,EAAE,IAAI,EACF,YAAY,EAAE,YAAY,EACrB,EAAE,EAAE,iBAAiB,EAClC,IAAI,EAAE,IAAI,EACG,aAAa,EAAE,iBAAiB,EACvC,MAAM,EAAE,UAAU,EACjB,OAAO,EAAE,WAAW;IAkjB3C,KAAK,CACH,OAAO,GAAE,kBAAkB,CAAC,OAAO,IAAI,CAAC,OAAO,CAM9C;IAKH;;OAEG;IACH,gBAAgB,IAAI,IAAI;IAIxB,SAAS,CAAC,sBAAsB,IAAI,WAAW;IAQ/C,SAAS,CAAC,+BAA+B,CAAC,MAAM,EAAE,WAAW,GAAG,WAAW;IAuB3E,SAAS,CAAC,uBAAuB,CAAC,GAAG,EAAE,MAAM,EAAE,GAAG,KAAK,GAAG,iBAAiB;IAgB3E,SAAS,CAAC,YAAY;;;;;;;;;;;;;;;;;MAoBpB;IAEF,SAAS,CAAC,aAAa;;;MAGpB;CACJ;AAED;;;GAGG;AACH,eAAO,MAAM,WAAW,mEAA0E,CAAC;AAEnG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA6BG;AACH,wBAAgB,cAAc,IAAI,WAAW,CAE5C"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"login.d.ts","sourceRoot":"","sources":["../../../../src/routes/login/login.ts"],"names":[],"mappings":"AAEA,OAAO,EAAoB,iBAAiB,EAAkB,MAAM,kBAAkB,CAAC;AACvF,OAAO,EAAE,WAAW,EAAE,MAAM,qBAAqB,CAAC;AAElD,OAAO,EAAE,SAAS,EAAE,MAAM,SAAS,CAAC;AAIpC;;;;;;;;;;;;;GAaG;AACH,qBAKa,KAAM,SAAQ,SAAS;IACf,iBAAiB,EAAE,iBAAiB,CAAC;IAExD,iBAAiB;IAYjB,OAAO,CAAC,iBAAiB;IAezB,IACI,cAAc,WAMjB;IAED,UAAU;IAmBJ,aAAa;IAInB,KAAK,CAAC,MAAM,EAAE,WAAW;IAIzB,MAAM;IAIN,IAAI,cAAc,YAEjB;CACF"}
|
|
1
|
+
{"version":3,"file":"login.d.ts","sourceRoot":"","sources":["../../../../src/routes/login/login.ts"],"names":[],"mappings":"AAEA,OAAO,EAAoB,iBAAiB,EAAkB,MAAM,kBAAkB,CAAC;AACvF,OAAO,EAAE,WAAW,EAAE,MAAM,qBAAqB,CAAC;AAElD,OAAO,EAAE,SAAS,EAAE,MAAM,SAAS,CAAC;AAIpC;;;;;;;;;;;;;GAaG;AACH,qBAKa,KAAM,SAAQ,SAAS;IACf,iBAAiB,EAAE,iBAAiB,CAAC;IAExD,iBAAiB;IAYjB,OAAO,CAAC,iBAAiB;IAezB,IACI,cAAc,WAMjB;IAED,UAAU;IAmBJ,aAAa;IAInB,KAAK,CAAC,MAAM,EAAE,WAAW;IAIzB,MAAM;IAIN,IAAI,cAAc,YAEjB;IAED,IAAI,aAAa,YAMhB;CACF"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"login.template.d.ts","sourceRoot":"","sources":["../../../../src/routes/login/login.template.ts"],"names":[],"mappings":"AAWA,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AA8GrC;;;GAGG;AACH,eAAO,MAAM,aAAa,
|
|
1
|
+
{"version":3,"file":"login.template.d.ts","sourceRoot":"","sources":["../../../../src/routes/login/login.template.ts"],"names":[],"mappings":"AAWA,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AA8GrC;;;GAGG;AACH,eAAO,MAAM,aAAa,4DA6CzB,CAAC"}
|
|
@@ -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;
|
|
1
|
+
{"version":3,"file":"idp.d.ts","sourceRoot":"","sources":["../../../src/services/idp.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,uCAAuC,CAAC;AAIrE,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,WAAW,CAAC;AAGlD;;;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"}
|
package/dist/esm/index.js
CHANGED
|
@@ -2,12 +2,12 @@ import { __awaiter, __decorate, __param } from "tslib";
|
|
|
2
2
|
import { AbstractMachine, createErrorStateNode, FetchMachine, isDoneInvokeEvent, isErrorEvent, isEventWithParams, isUnauthorizedError, } from '@genesislcap/foundation-state-machine';
|
|
3
3
|
import { User } from '@genesislcap/foundation-user';
|
|
4
4
|
import { UUID } from '@genesislcap/foundation-utils';
|
|
5
|
+
import { LOGIN_DETAILS_URL, LOGIN_URL, LOGOUT_URL, FORGOT_PASSWORD_URL, CHANGE_PASSWORD_URL, RESET_PASSWORD_URL, } from '@genesislcap/foundation-utils';
|
|
5
6
|
import { DI } from '@microsoft/fast-foundation';
|
|
6
7
|
import { and, assign, createMachine, fromPromise, not, or, raise, sendTo } from 'xstate';
|
|
7
8
|
import { AuthConfig } from '../config/config';
|
|
8
9
|
import { CredentialManager, CredentialType, } from '../credential';
|
|
9
10
|
import { MESSAGE_TYPE } from '../dto';
|
|
10
|
-
import { LOGIN_DETAILS_URL, LOGIN_URL, LOGOUT_URL, FORGOT_PASSWORD_URL, CHANGE_PASSWORD_URL, RESET_PASSWORD_URL, } from '../env';
|
|
11
11
|
import { AuthMessageMapper, createHTTPHeadersFromDTO, isLoginAckEntity, isLoginDetailsAckEntity, isLoginNackEntity, isLogoutAckEntity, isLogoutNackEntity, isNackDTO, } from '../mapper';
|
|
12
12
|
import { AuthRouting } from '../routes/routing';
|
|
13
13
|
import { logger } from '../utils';
|
|
@@ -86,6 +86,11 @@ let Login = class Login extends BaseRoute {
|
|
|
86
86
|
get submitDisabled() {
|
|
87
87
|
return this.store.authMachine.hasTag('pending');
|
|
88
88
|
}
|
|
89
|
+
get showLoginForm() {
|
|
90
|
+
return !(this.store.authMachine.hasTag('loggedIn') ||
|
|
91
|
+
this.store.authMachine.hasTag('initializing') ||
|
|
92
|
+
this.store.authMachine.hasTag('silentLogin'));
|
|
93
|
+
}
|
|
89
94
|
};
|
|
90
95
|
__decorate([
|
|
91
96
|
CredentialManager
|
|
@@ -91,38 +91,42 @@ const ssoLogin = html `
|
|
|
91
91
|
* @public
|
|
92
92
|
*/
|
|
93
93
|
export const LoginTemplate = html `
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
94
|
+
${when((x) => x.showLoginForm, html `
|
|
95
|
+
<auth-background>
|
|
96
|
+
<div class="container">
|
|
97
|
+
<rapid-card class="card-pd">
|
|
98
|
+
<div class="column-content">
|
|
99
|
+
<auth-logo></auth-logo>
|
|
100
|
+
<div class="heading2" data-test-id="heading">
|
|
101
|
+
${(x) => x.toLocalisedText('LOGIN_TITLE')}
|
|
102
|
+
</div>
|
|
103
|
+
</div>
|
|
104
|
+
<form
|
|
105
|
+
id="auth-login"
|
|
106
|
+
method="post"
|
|
107
|
+
autocomplete="on"
|
|
108
|
+
@submit=${(x) => x.onLoginSubmit()}
|
|
109
|
+
?disabled=${(x) => x.submitDisabled}
|
|
110
|
+
data-test-id="form"
|
|
111
|
+
>
|
|
112
|
+
${regularLogin} ${ssoLogin}
|
|
113
|
+
${when((x) => x.config.sso, html `
|
|
114
|
+
<rapid-checkbox
|
|
115
|
+
?checked="${(x) => x.store.formEntry.ssoToggled}"
|
|
116
|
+
@change="${(x, c) => x.$emit('auth-ssoToggled-changed', targetChecked(c))}"
|
|
117
|
+
name="sso-toggle"
|
|
118
|
+
data-test-id="sso-toggle"
|
|
119
|
+
>
|
|
120
|
+
${(x) => x.ssoToggleLabel}
|
|
121
|
+
</rapid-checkbox>
|
|
122
|
+
`)}
|
|
123
|
+
<submitting-indicator
|
|
124
|
+
is-submitting="${(x) => x.store.isPending}"
|
|
125
|
+
></submitting-indicator>
|
|
126
|
+
<auth-message></auth-message>
|
|
127
|
+
</form>
|
|
128
|
+
</rapid-card>
|
|
102
129
|
</div>
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
method="post"
|
|
106
|
-
autocomplete="on"
|
|
107
|
-
@submit=${(x) => x.onLoginSubmit()}
|
|
108
|
-
?disabled=${(x) => x.submitDisabled}
|
|
109
|
-
data-test-id="form"
|
|
110
|
-
>
|
|
111
|
-
${regularLogin} ${ssoLogin}
|
|
112
|
-
${when((x) => x.config.sso, html `
|
|
113
|
-
<rapid-checkbox
|
|
114
|
-
?checked="${(x) => x.store.formEntry.ssoToggled}"
|
|
115
|
-
@change="${(x, c) => x.$emit('auth-ssoToggled-changed', targetChecked(c))}"
|
|
116
|
-
name="sso-toggle"
|
|
117
|
-
data-test-id="sso-toggle"
|
|
118
|
-
>
|
|
119
|
-
${(x) => x.ssoToggleLabel}
|
|
120
|
-
</rapid-checkbox>
|
|
121
|
-
`)}
|
|
122
|
-
<submitting-indicator is-submitting="${(x) => x.store.isPending}"></submitting-indicator>
|
|
123
|
-
<auth-message></auth-message>
|
|
124
|
-
</form>
|
|
125
|
-
</rapid-card>
|
|
126
|
-
</div>
|
|
127
|
-
</auth-background>
|
|
130
|
+
</auth-background>
|
|
131
|
+
`)}
|
|
128
132
|
`;
|
package/dist/esm/services/idp.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { __awaiter, __decorate } from "tslib";
|
|
2
2
|
import { FetchMachine } from '@genesislcap/foundation-state-machine';
|
|
3
|
+
import { SSO_LIST_URL, SSO_LOGIN_URL } from '@genesislcap/foundation-utils';
|
|
3
4
|
import { DI } from '@microsoft/fast-foundation';
|
|
4
|
-
import { SSO_LIST_URL, SSO_LOGIN_URL } from '../env';
|
|
5
5
|
import { fromIDPDTO } from '../mapper';
|
|
6
6
|
/**
|
|
7
7
|
* Default IDPService.
|
|
@@ -3082,29 +3082,6 @@
|
|
|
3082
3082
|
"endIndex": 6
|
|
3083
3083
|
}
|
|
3084
3084
|
},
|
|
3085
|
-
{
|
|
3086
|
-
"kind": "Variable",
|
|
3087
|
-
"canonicalReference": "@genesislcap/foundation-auth!CHANGE_PASSWORD_URL:var",
|
|
3088
|
-
"docComment": "/**\n * @public\n */\n",
|
|
3089
|
-
"excerptTokens": [
|
|
3090
|
-
{
|
|
3091
|
-
"kind": "Content",
|
|
3092
|
-
"text": "CHANGE_PASSWORD_URL: "
|
|
3093
|
-
},
|
|
3094
|
-
{
|
|
3095
|
-
"kind": "Content",
|
|
3096
|
-
"text": "string"
|
|
3097
|
-
}
|
|
3098
|
-
],
|
|
3099
|
-
"fileUrlPath": "src/env.ts",
|
|
3100
|
-
"isReadonly": false,
|
|
3101
|
-
"releaseTag": "Public",
|
|
3102
|
-
"name": "CHANGE_PASSWORD_URL",
|
|
3103
|
-
"variableTypeTokenRange": {
|
|
3104
|
-
"startIndex": 1,
|
|
3105
|
-
"endIndex": 2
|
|
3106
|
-
}
|
|
3107
|
-
},
|
|
3108
3085
|
{
|
|
3109
3086
|
"kind": "TypeAlias",
|
|
3110
3087
|
"canonicalReference": "@genesislcap/foundation-auth!ChangePasswordParams:type",
|
|
@@ -9347,29 +9324,6 @@
|
|
|
9347
9324
|
"endIndex": 10
|
|
9348
9325
|
}
|
|
9349
9326
|
},
|
|
9350
|
-
{
|
|
9351
|
-
"kind": "Variable",
|
|
9352
|
-
"canonicalReference": "@genesislcap/foundation-auth!FORGOT_PASSWORD_URL:var",
|
|
9353
|
-
"docComment": "/**\n * @public\n */\n",
|
|
9354
|
-
"excerptTokens": [
|
|
9355
|
-
{
|
|
9356
|
-
"kind": "Content",
|
|
9357
|
-
"text": "FORGOT_PASSWORD_URL: "
|
|
9358
|
-
},
|
|
9359
|
-
{
|
|
9360
|
-
"kind": "Content",
|
|
9361
|
-
"text": "string"
|
|
9362
|
-
}
|
|
9363
|
-
],
|
|
9364
|
-
"fileUrlPath": "src/env.ts",
|
|
9365
|
-
"isReadonly": false,
|
|
9366
|
-
"releaseTag": "Public",
|
|
9367
|
-
"name": "FORGOT_PASSWORD_URL",
|
|
9368
|
-
"variableTypeTokenRange": {
|
|
9369
|
-
"startIndex": 1,
|
|
9370
|
-
"endIndex": 2
|
|
9371
|
-
}
|
|
9372
|
-
},
|
|
9373
9327
|
{
|
|
9374
9328
|
"kind": "TypeAlias",
|
|
9375
9329
|
"canonicalReference": "@genesislcap/foundation-auth!ForgotPasswordParams:type",
|
|
@@ -11109,75 +11063,6 @@
|
|
|
11109
11063
|
"endIndex": 3
|
|
11110
11064
|
}
|
|
11111
11065
|
},
|
|
11112
|
-
{
|
|
11113
|
-
"kind": "Variable",
|
|
11114
|
-
"canonicalReference": "@genesislcap/foundation-auth!LOGIN_DETAILS_URL:var",
|
|
11115
|
-
"docComment": "/**\n * @public\n */\n",
|
|
11116
|
-
"excerptTokens": [
|
|
11117
|
-
{
|
|
11118
|
-
"kind": "Content",
|
|
11119
|
-
"text": "LOGIN_DETAILS_URL: "
|
|
11120
|
-
},
|
|
11121
|
-
{
|
|
11122
|
-
"kind": "Content",
|
|
11123
|
-
"text": "string"
|
|
11124
|
-
}
|
|
11125
|
-
],
|
|
11126
|
-
"fileUrlPath": "src/env.ts",
|
|
11127
|
-
"isReadonly": false,
|
|
11128
|
-
"releaseTag": "Public",
|
|
11129
|
-
"name": "LOGIN_DETAILS_URL",
|
|
11130
|
-
"variableTypeTokenRange": {
|
|
11131
|
-
"startIndex": 1,
|
|
11132
|
-
"endIndex": 2
|
|
11133
|
-
}
|
|
11134
|
-
},
|
|
11135
|
-
{
|
|
11136
|
-
"kind": "Variable",
|
|
11137
|
-
"canonicalReference": "@genesislcap/foundation-auth!LOGIN_REFRESH_URL:var",
|
|
11138
|
-
"docComment": "/**\n * @public\n */\n",
|
|
11139
|
-
"excerptTokens": [
|
|
11140
|
-
{
|
|
11141
|
-
"kind": "Content",
|
|
11142
|
-
"text": "LOGIN_REFRESH_URL: "
|
|
11143
|
-
},
|
|
11144
|
-
{
|
|
11145
|
-
"kind": "Content",
|
|
11146
|
-
"text": "string"
|
|
11147
|
-
}
|
|
11148
|
-
],
|
|
11149
|
-
"fileUrlPath": "src/env.ts",
|
|
11150
|
-
"isReadonly": false,
|
|
11151
|
-
"releaseTag": "Public",
|
|
11152
|
-
"name": "LOGIN_REFRESH_URL",
|
|
11153
|
-
"variableTypeTokenRange": {
|
|
11154
|
-
"startIndex": 1,
|
|
11155
|
-
"endIndex": 2
|
|
11156
|
-
}
|
|
11157
|
-
},
|
|
11158
|
-
{
|
|
11159
|
-
"kind": "Variable",
|
|
11160
|
-
"canonicalReference": "@genesislcap/foundation-auth!LOGIN_URL:var",
|
|
11161
|
-
"docComment": "/**\n * @public\n */\n",
|
|
11162
|
-
"excerptTokens": [
|
|
11163
|
-
{
|
|
11164
|
-
"kind": "Content",
|
|
11165
|
-
"text": "LOGIN_URL: "
|
|
11166
|
-
},
|
|
11167
|
-
{
|
|
11168
|
-
"kind": "Content",
|
|
11169
|
-
"text": "string"
|
|
11170
|
-
}
|
|
11171
|
-
],
|
|
11172
|
-
"fileUrlPath": "src/env.ts",
|
|
11173
|
-
"isReadonly": false,
|
|
11174
|
-
"releaseTag": "Public",
|
|
11175
|
-
"name": "LOGIN_URL",
|
|
11176
|
-
"variableTypeTokenRange": {
|
|
11177
|
-
"startIndex": 1,
|
|
11178
|
-
"endIndex": 2
|
|
11179
|
-
}
|
|
11180
|
-
},
|
|
11181
11066
|
{
|
|
11182
11067
|
"kind": "Interface",
|
|
11183
11068
|
"canonicalReference": "@genesislcap/foundation-auth!LoginAck:interface",
|
|
@@ -11703,29 +11588,6 @@
|
|
|
11703
11588
|
}
|
|
11704
11589
|
]
|
|
11705
11590
|
},
|
|
11706
|
-
{
|
|
11707
|
-
"kind": "Variable",
|
|
11708
|
-
"canonicalReference": "@genesislcap/foundation-auth!LOGOUT_URL:var",
|
|
11709
|
-
"docComment": "/**\n * @public\n */\n",
|
|
11710
|
-
"excerptTokens": [
|
|
11711
|
-
{
|
|
11712
|
-
"kind": "Content",
|
|
11713
|
-
"text": "LOGOUT_URL: "
|
|
11714
|
-
},
|
|
11715
|
-
{
|
|
11716
|
-
"kind": "Content",
|
|
11717
|
-
"text": "string"
|
|
11718
|
-
}
|
|
11719
|
-
],
|
|
11720
|
-
"fileUrlPath": "src/env.ts",
|
|
11721
|
-
"isReadonly": false,
|
|
11722
|
-
"releaseTag": "Public",
|
|
11723
|
-
"name": "LOGOUT_URL",
|
|
11724
|
-
"variableTypeTokenRange": {
|
|
11725
|
-
"startIndex": 1,
|
|
11726
|
-
"endIndex": 2
|
|
11727
|
-
}
|
|
11728
|
-
},
|
|
11729
11591
|
{
|
|
11730
11592
|
"kind": "Interface",
|
|
11731
11593
|
"canonicalReference": "@genesislcap/foundation-auth!LogoutAck:interface",
|
|
@@ -12648,29 +12510,6 @@
|
|
|
12648
12510
|
"endIndex": 6
|
|
12649
12511
|
}
|
|
12650
12512
|
},
|
|
12651
|
-
{
|
|
12652
|
-
"kind": "Variable",
|
|
12653
|
-
"canonicalReference": "@genesislcap/foundation-auth!RESET_PASSWORD_URL:var",
|
|
12654
|
-
"docComment": "/**\n * @public\n */\n",
|
|
12655
|
-
"excerptTokens": [
|
|
12656
|
-
{
|
|
12657
|
-
"kind": "Content",
|
|
12658
|
-
"text": "RESET_PASSWORD_URL: "
|
|
12659
|
-
},
|
|
12660
|
-
{
|
|
12661
|
-
"kind": "Content",
|
|
12662
|
-
"text": "string"
|
|
12663
|
-
}
|
|
12664
|
-
],
|
|
12665
|
-
"fileUrlPath": "src/env.ts",
|
|
12666
|
-
"isReadonly": false,
|
|
12667
|
-
"releaseTag": "Public",
|
|
12668
|
-
"name": "RESET_PASSWORD_URL",
|
|
12669
|
-
"variableTypeTokenRange": {
|
|
12670
|
-
"startIndex": 1,
|
|
12671
|
-
"endIndex": 2
|
|
12672
|
-
}
|
|
12673
|
-
},
|
|
12674
12513
|
{
|
|
12675
12514
|
"kind": "TypeAlias",
|
|
12676
12515
|
"canonicalReference": "@genesislcap/foundation-auth!ResetPasswordParams:type",
|
|
@@ -12899,52 +12738,6 @@
|
|
|
12899
12738
|
"endIndex": 2
|
|
12900
12739
|
}
|
|
12901
12740
|
},
|
|
12902
|
-
{
|
|
12903
|
-
"kind": "Variable",
|
|
12904
|
-
"canonicalReference": "@genesislcap/foundation-auth!SSO_LIST_URL:var",
|
|
12905
|
-
"docComment": "/**\n * @public\n */\n",
|
|
12906
|
-
"excerptTokens": [
|
|
12907
|
-
{
|
|
12908
|
-
"kind": "Content",
|
|
12909
|
-
"text": "SSO_LIST_URL: "
|
|
12910
|
-
},
|
|
12911
|
-
{
|
|
12912
|
-
"kind": "Content",
|
|
12913
|
-
"text": "string"
|
|
12914
|
-
}
|
|
12915
|
-
],
|
|
12916
|
-
"fileUrlPath": "src/env.ts",
|
|
12917
|
-
"isReadonly": false,
|
|
12918
|
-
"releaseTag": "Public",
|
|
12919
|
-
"name": "SSO_LIST_URL",
|
|
12920
|
-
"variableTypeTokenRange": {
|
|
12921
|
-
"startIndex": 1,
|
|
12922
|
-
"endIndex": 2
|
|
12923
|
-
}
|
|
12924
|
-
},
|
|
12925
|
-
{
|
|
12926
|
-
"kind": "Variable",
|
|
12927
|
-
"canonicalReference": "@genesislcap/foundation-auth!SSO_LOGIN_URL:var",
|
|
12928
|
-
"docComment": "/**\n * @public\n */\n",
|
|
12929
|
-
"excerptTokens": [
|
|
12930
|
-
{
|
|
12931
|
-
"kind": "Content",
|
|
12932
|
-
"text": "SSO_LOGIN_URL: "
|
|
12933
|
-
},
|
|
12934
|
-
{
|
|
12935
|
-
"kind": "Content",
|
|
12936
|
-
"text": "string"
|
|
12937
|
-
}
|
|
12938
|
-
],
|
|
12939
|
-
"fileUrlPath": "src/env.ts",
|
|
12940
|
-
"isReadonly": false,
|
|
12941
|
-
"releaseTag": "Public",
|
|
12942
|
-
"name": "SSO_LOGIN_URL",
|
|
12943
|
-
"variableTypeTokenRange": {
|
|
12944
|
-
"startIndex": 1,
|
|
12945
|
-
"endIndex": 2
|
|
12946
|
-
}
|
|
12947
|
-
},
|
|
12948
12741
|
{
|
|
12949
12742
|
"kind": "TypeAlias",
|
|
12950
12743
|
"canonicalReference": "@genesislcap/foundation-auth!SSOConfig:type",
|
|
@@ -596,11 +596,6 @@ export declare type BasicCredentials = {
|
|
|
596
596
|
password: string;
|
|
597
597
|
};
|
|
598
598
|
|
|
599
|
-
/**
|
|
600
|
-
* @public
|
|
601
|
-
*/
|
|
602
|
-
export declare let CHANGE_PASSWORD_URL: string;
|
|
603
|
-
|
|
604
599
|
/**
|
|
605
600
|
* @public
|
|
606
601
|
*/
|
|
@@ -1361,11 +1356,6 @@ export declare type FieldConfigMap = {
|
|
|
1361
1356
|
password: FieldConfig;
|
|
1362
1357
|
};
|
|
1363
1358
|
|
|
1364
|
-
/**
|
|
1365
|
-
* @public
|
|
1366
|
-
*/
|
|
1367
|
-
export declare let FORGOT_PASSWORD_URL: string;
|
|
1368
|
-
|
|
1369
1359
|
/**
|
|
1370
1360
|
* @public
|
|
1371
1361
|
*/
|
|
@@ -2099,21 +2089,6 @@ export declare type JWTCredentials = {
|
|
|
2099
2089
|
*/
|
|
2100
2090
|
export declare const logger: Logger;
|
|
2101
2091
|
|
|
2102
|
-
/**
|
|
2103
|
-
* @public
|
|
2104
|
-
*/
|
|
2105
|
-
export declare let LOGIN_DETAILS_URL: string;
|
|
2106
|
-
|
|
2107
|
-
/**
|
|
2108
|
-
* @public
|
|
2109
|
-
*/
|
|
2110
|
-
export declare let LOGIN_REFRESH_URL: string;
|
|
2111
|
-
|
|
2112
|
-
/**
|
|
2113
|
-
* @public
|
|
2114
|
-
*/
|
|
2115
|
-
export declare let LOGIN_URL: string;
|
|
2116
|
-
|
|
2117
2092
|
/**
|
|
2118
2093
|
* @public
|
|
2119
2094
|
*/
|
|
@@ -2202,11 +2177,6 @@ export declare interface LOGOUT_ACK extends ACK {
|
|
|
2202
2177
|
readonly OIDC_LOGOUT_URL: string;
|
|
2203
2178
|
}
|
|
2204
2179
|
|
|
2205
|
-
/**
|
|
2206
|
-
* @public
|
|
2207
|
-
*/
|
|
2208
|
-
export declare let LOGOUT_URL: string;
|
|
2209
|
-
|
|
2210
2180
|
/**
|
|
2211
2181
|
* @public
|
|
2212
2182
|
*/
|
|
@@ -2480,11 +2450,6 @@ export declare type RefreshCredentials = {
|
|
|
2480
2450
|
refreshToken: string;
|
|
2481
2451
|
};
|
|
2482
2452
|
|
|
2483
|
-
/**
|
|
2484
|
-
* @public
|
|
2485
|
-
*/
|
|
2486
|
-
export declare let RESET_PASSWORD_URL: string;
|
|
2487
|
-
|
|
2488
2453
|
/**
|
|
2489
2454
|
* @public
|
|
2490
2455
|
*/
|
|
@@ -2521,16 +2486,6 @@ export declare type Settings = {
|
|
|
2521
2486
|
public?: boolean;
|
|
2522
2487
|
};
|
|
2523
2488
|
|
|
2524
|
-
/**
|
|
2525
|
-
* @public
|
|
2526
|
-
*/
|
|
2527
|
-
export declare let SSO_LIST_URL: string;
|
|
2528
|
-
|
|
2529
|
-
/**
|
|
2530
|
-
* @public
|
|
2531
|
-
*/
|
|
2532
|
-
export declare let SSO_LOGIN_URL: string;
|
|
2533
|
-
|
|
2534
2489
|
/**
|
|
2535
2490
|
* @public
|
|
2536
2491
|
*/
|
|
@@ -97,14 +97,12 @@
|
|
|
97
97
|
| Variable | Description |
|
|
98
98
|
| --- | --- |
|
|
99
99
|
| [AuthRoutes](./foundation-auth.authroutes.md) | |
|
|
100
|
-
| [CHANGE\_PASSWORD\_URL](./foundation-auth.change_password_url.md) | |
|
|
101
100
|
| [createMessageMapper](./foundation-auth.createmessagemapper.md) | A factory to create a MessageMapper. |
|
|
102
101
|
| [credentialSeparator](./foundation-auth.credentialseparator.md) | The default separator used for splitting credential parts. |
|
|
103
102
|
| [defaultAuthConfig](./foundation-auth.defaultauthconfig.md) | Default AuthConfig DI implementation. |
|
|
104
103
|
| [defaultAuthMachineContext](./foundation-auth.defaultauthmachinecontext.md) | Default AuthMachineContext. |
|
|
105
104
|
| [defaultCredentialManagerConfig](./foundation-auth.defaultcredentialmanagerconfig.md) | The default configuration for the CredentialManager service. |
|
|
106
105
|
| [defaultCredentialRequestOptions](./foundation-auth.defaultcredentialrequestoptions.md) | The default request options for the CredentialManager service. |
|
|
107
|
-
| [FORGOT\_PASSWORD\_URL](./foundation-auth.forgot_password_url.md) | |
|
|
108
106
|
| [fromDTOAck](./foundation-auth.fromdtoack.md) | fromDTOAck |
|
|
109
107
|
| [fromDTONack](./foundation-auth.fromdtonack.md) | fromDTONack |
|
|
110
108
|
| [fromDTOStringArray](./foundation-auth.fromdtostringarray.md) | |
|
|
@@ -113,14 +111,7 @@
|
|
|
113
111
|
| [is200Nack](./foundation-auth.is200nack.md) | is200Nack. |
|
|
114
112
|
| [isMappingError](./foundation-auth.ismappingerror.md) | |
|
|
115
113
|
| [logger](./foundation-auth.logger.md) | |
|
|
116
|
-
| [LOGIN\_DETAILS\_URL](./foundation-auth.login_details_url.md) | |
|
|
117
|
-
| [LOGIN\_REFRESH\_URL](./foundation-auth.login_refresh_url.md) | |
|
|
118
|
-
| [LOGIN\_URL](./foundation-auth.login_url.md) | |
|
|
119
|
-
| [LOGOUT\_URL](./foundation-auth.logout_url.md) | |
|
|
120
|
-
| [RESET\_PASSWORD\_URL](./foundation-auth.reset_password_url.md) | |
|
|
121
114
|
| [setError](./foundation-auth.seterror.md) | Set error action. |
|
|
122
|
-
| [SSO\_LIST\_URL](./foundation-auth.sso_list_url.md) | |
|
|
123
|
-
| [SSO\_LOGIN\_URL](./foundation-auth.sso_login_url.md) | |
|
|
124
115
|
| [styles](./foundation-auth.styles.md) | |
|
|
125
116
|
| [template](./foundation-auth.template.md) | |
|
|
126
117
|
|
package/docs/api-report.md
CHANGED
|
@@ -321,9 +321,6 @@ export type BasicCredentials = {
|
|
|
321
321
|
password: string;
|
|
322
322
|
};
|
|
323
323
|
|
|
324
|
-
// @public (undocumented)
|
|
325
|
-
export let CHANGE_PASSWORD_URL: string;
|
|
326
|
-
|
|
327
324
|
// @public (undocumented)
|
|
328
325
|
export type ChangePasswordParams = {
|
|
329
326
|
username: string;
|
|
@@ -863,9 +860,6 @@ export type FieldConfigMap = {
|
|
|
863
860
|
password: FieldConfig;
|
|
864
861
|
};
|
|
865
862
|
|
|
866
|
-
// @public (undocumented)
|
|
867
|
-
export let FORGOT_PASSWORD_URL: string;
|
|
868
|
-
|
|
869
863
|
// @public (undocumented)
|
|
870
864
|
export type ForgotPasswordParams = {
|
|
871
865
|
username: string;
|
|
@@ -1047,15 +1041,6 @@ export type JWTCredentials = {
|
|
|
1047
1041
|
// @public (undocumented)
|
|
1048
1042
|
export const logger: Logger;
|
|
1049
1043
|
|
|
1050
|
-
// @public (undocumented)
|
|
1051
|
-
export let LOGIN_DETAILS_URL: string;
|
|
1052
|
-
|
|
1053
|
-
// @public (undocumented)
|
|
1054
|
-
export let LOGIN_REFRESH_URL: string;
|
|
1055
|
-
|
|
1056
|
-
// @public (undocumented)
|
|
1057
|
-
export let LOGIN_URL: string;
|
|
1058
|
-
|
|
1059
1044
|
// Warning: (ae-incompatible-release-tags) The symbol "LoginAck" is marked as @public, but its signature references "Ack" which is marked as @internal
|
|
1060
1045
|
//
|
|
1061
1046
|
// @public (undocumented)
|
|
@@ -1112,9 +1097,6 @@ export interface LOGOUT_ACK extends ACK {
|
|
|
1112
1097
|
readonly OIDC_LOGOUT_URL: string;
|
|
1113
1098
|
}
|
|
1114
1099
|
|
|
1115
|
-
// @public (undocumented)
|
|
1116
|
-
export let LOGOUT_URL: string;
|
|
1117
|
-
|
|
1118
1100
|
// Warning: (ae-incompatible-release-tags) The symbol "LogoutAck" is marked as @public, but its signature references "Ack" which is marked as @internal
|
|
1119
1101
|
//
|
|
1120
1102
|
// @public (undocumented)
|
|
@@ -1312,9 +1294,6 @@ export type RefreshCredentials = {
|
|
|
1312
1294
|
refreshToken: string;
|
|
1313
1295
|
};
|
|
1314
1296
|
|
|
1315
|
-
// @public (undocumented)
|
|
1316
|
-
export let RESET_PASSWORD_URL: string;
|
|
1317
|
-
|
|
1318
1297
|
// @public (undocumented)
|
|
1319
1298
|
export type ResetPasswordParams = {
|
|
1320
1299
|
username: string;
|
|
@@ -1338,12 +1317,6 @@ export type Settings = {
|
|
|
1338
1317
|
public?: boolean;
|
|
1339
1318
|
};
|
|
1340
1319
|
|
|
1341
|
-
// @public (undocumented)
|
|
1342
|
-
export let SSO_LIST_URL: string;
|
|
1343
|
-
|
|
1344
|
-
// @public (undocumented)
|
|
1345
|
-
export let SSO_LOGIN_URL: string;
|
|
1346
|
-
|
|
1347
1320
|
// @public (undocumented)
|
|
1348
1321
|
export type SSOConfig = {
|
|
1349
1322
|
toggled?: boolean;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@genesislcap/foundation-auth",
|
|
3
3
|
"description": "Genesis Foundation Auth",
|
|
4
|
-
"version": "14.238.
|
|
4
|
+
"version": "14.238.2",
|
|
5
5
|
"license": "SEE LICENSE IN license.txt",
|
|
6
6
|
"main": "dist/esm/index.js",
|
|
7
7
|
"types": "dist/foundation-auth.d.ts",
|
|
@@ -127,26 +127,26 @@
|
|
|
127
127
|
}
|
|
128
128
|
},
|
|
129
129
|
"devDependencies": {
|
|
130
|
-
"@genesislcap/foundation-testing": "14.238.
|
|
131
|
-
"@genesislcap/genx": "14.238.
|
|
132
|
-
"@genesislcap/rollup-builder": "14.238.
|
|
133
|
-
"@genesislcap/ts-builder": "14.238.
|
|
134
|
-
"@genesislcap/uvu-playwright-builder": "14.238.
|
|
135
|
-
"@genesislcap/vite-builder": "14.238.
|
|
136
|
-
"@genesislcap/webpack-builder": "14.238.
|
|
130
|
+
"@genesislcap/foundation-testing": "14.238.2",
|
|
131
|
+
"@genesislcap/genx": "14.238.2",
|
|
132
|
+
"@genesislcap/rollup-builder": "14.238.2",
|
|
133
|
+
"@genesislcap/ts-builder": "14.238.2",
|
|
134
|
+
"@genesislcap/uvu-playwright-builder": "14.238.2",
|
|
135
|
+
"@genesislcap/vite-builder": "14.238.2",
|
|
136
|
+
"@genesislcap/webpack-builder": "14.238.2",
|
|
137
137
|
"rimraf": "^5.0.0"
|
|
138
138
|
},
|
|
139
139
|
"dependencies": {
|
|
140
|
-
"@genesislcap/foundation-comms": "14.238.
|
|
141
|
-
"@genesislcap/foundation-events": "14.238.
|
|
142
|
-
"@genesislcap/foundation-i18n": "14.238.
|
|
143
|
-
"@genesislcap/foundation-logger": "14.238.
|
|
144
|
-
"@genesislcap/foundation-state-machine": "14.238.
|
|
145
|
-
"@genesislcap/foundation-store": "14.238.
|
|
146
|
-
"@genesislcap/foundation-ui": "14.238.
|
|
147
|
-
"@genesislcap/foundation-user": "14.238.
|
|
148
|
-
"@genesislcap/foundation-utils": "14.238.
|
|
149
|
-
"@genesislcap/foundation-zero": "14.238.
|
|
140
|
+
"@genesislcap/foundation-comms": "14.238.2",
|
|
141
|
+
"@genesislcap/foundation-events": "14.238.2",
|
|
142
|
+
"@genesislcap/foundation-i18n": "14.238.2",
|
|
143
|
+
"@genesislcap/foundation-logger": "14.238.2",
|
|
144
|
+
"@genesislcap/foundation-state-machine": "14.238.2",
|
|
145
|
+
"@genesislcap/foundation-store": "14.238.2",
|
|
146
|
+
"@genesislcap/foundation-ui": "14.238.2",
|
|
147
|
+
"@genesislcap/foundation-user": "14.238.2",
|
|
148
|
+
"@genesislcap/foundation-utils": "14.238.2",
|
|
149
|
+
"@genesislcap/foundation-zero": "14.238.2",
|
|
150
150
|
"@microsoft/fast-components": "2.30.6",
|
|
151
151
|
"@microsoft/fast-element": "1.14.0",
|
|
152
152
|
"@microsoft/fast-foundation": "2.49.6",
|
|
@@ -167,5 +167,5 @@
|
|
|
167
167
|
"publishConfig": {
|
|
168
168
|
"access": "public"
|
|
169
169
|
},
|
|
170
|
-
"gitHead": "
|
|
170
|
+
"gitHead": "44e2630e58af14a1db9f26950b01ca389031f7cf"
|
|
171
171
|
}
|
package/dist/dts/env.d.ts
DELETED
|
@@ -1,46 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @public
|
|
3
|
-
*/
|
|
4
|
-
declare let LOGIN_URL: string;
|
|
5
|
-
export { LOGIN_URL };
|
|
6
|
-
/**
|
|
7
|
-
* @public
|
|
8
|
-
*/
|
|
9
|
-
declare let LOGIN_REFRESH_URL: string;
|
|
10
|
-
export { LOGIN_REFRESH_URL };
|
|
11
|
-
/**
|
|
12
|
-
* @public
|
|
13
|
-
*/
|
|
14
|
-
declare let LOGIN_DETAILS_URL: string;
|
|
15
|
-
export { LOGIN_DETAILS_URL };
|
|
16
|
-
/**
|
|
17
|
-
* @public
|
|
18
|
-
*/
|
|
19
|
-
declare let LOGOUT_URL: string;
|
|
20
|
-
export { LOGOUT_URL };
|
|
21
|
-
/**
|
|
22
|
-
* @public
|
|
23
|
-
*/
|
|
24
|
-
declare let CHANGE_PASSWORD_URL: string;
|
|
25
|
-
export { CHANGE_PASSWORD_URL };
|
|
26
|
-
/**
|
|
27
|
-
* @public
|
|
28
|
-
*/
|
|
29
|
-
declare let FORGOT_PASSWORD_URL: string;
|
|
30
|
-
export { FORGOT_PASSWORD_URL };
|
|
31
|
-
/**
|
|
32
|
-
* @public
|
|
33
|
-
*/
|
|
34
|
-
declare let RESET_PASSWORD_URL: string;
|
|
35
|
-
export { RESET_PASSWORD_URL };
|
|
36
|
-
/**
|
|
37
|
-
* @public
|
|
38
|
-
*/
|
|
39
|
-
declare let SSO_LIST_URL: string;
|
|
40
|
-
export { SSO_LIST_URL };
|
|
41
|
-
/**
|
|
42
|
-
* @public
|
|
43
|
-
*/
|
|
44
|
-
declare let SSO_LOGIN_URL: string;
|
|
45
|
-
export { SSO_LOGIN_URL };
|
|
46
|
-
//# sourceMappingURL=env.d.ts.map
|
package/dist/dts/env.d.ts.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"env.d.ts","sourceRoot":"","sources":["../../src/env.ts"],"names":[],"mappings":"AAKA;;GAEG;AACH,QAAA,IAAI,SAAS,EAAE,MAA+B,CAAC;AAQ/C,OAAO,EAAE,SAAS,EAAE,CAAC;AAGrB;;GAEG;AACH,QAAA,IAAI,iBAAiB,EAAE,MAA+B,CAAC;AAQvD,OAAO,EAAE,iBAAiB,EAAE,CAAC;AAG7B;;GAEG;AACH,QAAA,IAAI,iBAAiB,EAAE,MAAkC,CAAC;AAQ1D,OAAO,EAAE,iBAAiB,EAAE,CAAC;AAG7B;;GAEG;AACH,QAAA,IAAI,UAAU,EAAE,MAA2B,CAAC;AAQ5C,OAAO,EAAE,UAAU,EAAE,CAAC;AAGtB;;GAEG;AACH,QAAA,IAAI,mBAAmB,EAAE,MAAyC,CAAC;AAQnE,OAAO,EAAE,mBAAmB,EAAE,CAAC;AAG/B;;GAEG;AACH,QAAA,IAAI,mBAAmB,EAAE,MAAgD,CAAC;AAQ1E,OAAO,EAAE,mBAAmB,EAAE,CAAC;AAG/B;;GAEG;AACH,QAAA,IAAI,kBAAkB,EAAE,MAA0C,CAAC;AAQnE,OAAO,EAAE,kBAAkB,EAAE,CAAC;AAG9B;;GAEG;AACH,QAAA,IAAI,YAAY,EAAE,MAAuB,CAAC;AAQ1C,OAAO,EAAE,YAAY,EAAE,CAAC;AAGxB;;GAEG;AACH,QAAA,IAAI,aAAa,EAAE,MAAoC,CAAC;AAQxD,OAAO,EAAE,aAAa,EAAE,CAAC"}
|
package/dist/esm/env.js
DELETED
|
@@ -1,101 +0,0 @@
|
|
|
1
|
-
/* eslint-disable import/no-mutable-exports */
|
|
2
|
-
import { logger } from './utils';
|
|
3
|
-
/**
|
|
4
|
-
* @public
|
|
5
|
-
*/
|
|
6
|
-
let LOGIN_URL = '/sm/event-login-auth';
|
|
7
|
-
if (typeof GENX_LOGIN_URL !== 'undefined') {
|
|
8
|
-
LOGIN_URL = GENX_LOGIN_URL;
|
|
9
|
-
}
|
|
10
|
-
else {
|
|
11
|
-
logger.debug(`GENX_LOGIN_URL unset, defaulting to ${LOGIN_URL}`);
|
|
12
|
-
}
|
|
13
|
-
export { LOGIN_URL };
|
|
14
|
-
/**
|
|
15
|
-
* @public
|
|
16
|
-
*/
|
|
17
|
-
let LOGIN_REFRESH_URL = '/sm/event-login-auth';
|
|
18
|
-
if (typeof GENX_LOGIN_REFRESH_URL !== 'undefined') {
|
|
19
|
-
LOGIN_REFRESH_URL = GENX_LOGIN_REFRESH_URL;
|
|
20
|
-
}
|
|
21
|
-
else {
|
|
22
|
-
logger.debug(`GENX_LOGIN_REFRESH_URL unset, defaulting to ${LOGIN_REFRESH_URL}`);
|
|
23
|
-
}
|
|
24
|
-
export { LOGIN_REFRESH_URL };
|
|
25
|
-
/**
|
|
26
|
-
* @public
|
|
27
|
-
*/
|
|
28
|
-
let LOGIN_DETAILS_URL = '/sm/event-login-details';
|
|
29
|
-
if (typeof GENX_LOGIN_DETAILS_URL !== 'undefined') {
|
|
30
|
-
LOGIN_DETAILS_URL = GENX_LOGIN_DETAILS_URL;
|
|
31
|
-
}
|
|
32
|
-
else {
|
|
33
|
-
logger.debug(`GENX_LOGIN_DETAILS_URL unset, defaulting to ${LOGIN_DETAILS_URL}`);
|
|
34
|
-
}
|
|
35
|
-
export { LOGIN_DETAILS_URL };
|
|
36
|
-
/**
|
|
37
|
-
* @public
|
|
38
|
-
*/
|
|
39
|
-
let LOGOUT_URL = '/sm/event-logout';
|
|
40
|
-
if (typeof GENX_LOGOUT_URL !== 'undefined') {
|
|
41
|
-
LOGOUT_URL = GENX_LOGOUT_URL;
|
|
42
|
-
}
|
|
43
|
-
else {
|
|
44
|
-
logger.debug(`GENX_LOGOUT_URL unset, defaulting to ${LOGOUT_URL}`);
|
|
45
|
-
}
|
|
46
|
-
export { LOGOUT_URL };
|
|
47
|
-
/**
|
|
48
|
-
* @public
|
|
49
|
-
*/
|
|
50
|
-
let CHANGE_PASSWORD_URL = '/sm/event-change-user-password';
|
|
51
|
-
if (typeof GENX_CHANGE_PASSWORD_URL !== 'undefined') {
|
|
52
|
-
CHANGE_PASSWORD_URL = GENX_CHANGE_PASSWORD_URL;
|
|
53
|
-
}
|
|
54
|
-
else {
|
|
55
|
-
logger.debug(`GENX_CHANGE_PASSWORD_URL unset, defaulting to ${CHANGE_PASSWORD_URL}`);
|
|
56
|
-
}
|
|
57
|
-
export { CHANGE_PASSWORD_URL };
|
|
58
|
-
/**
|
|
59
|
-
* @public
|
|
60
|
-
*/
|
|
61
|
-
let FORGOT_PASSWORD_URL = '/sm/event-self-service-password-reset';
|
|
62
|
-
if (typeof GENX_FORGOT_PASSWORD_URL !== 'undefined') {
|
|
63
|
-
FORGOT_PASSWORD_URL = GENX_FORGOT_PASSWORD_URL;
|
|
64
|
-
}
|
|
65
|
-
else {
|
|
66
|
-
logger.debug(`GENX_FORGOT_PASSWORD_URL unset, defaulting to ${FORGOT_PASSWORD_URL}`);
|
|
67
|
-
}
|
|
68
|
-
export { FORGOT_PASSWORD_URL };
|
|
69
|
-
/**
|
|
70
|
-
* @public
|
|
71
|
-
*/
|
|
72
|
-
let RESET_PASSWORD_URL = '/sm/event-password-reset-action';
|
|
73
|
-
if (typeof GENX_RESET_PASSWORD_URL !== 'undefined') {
|
|
74
|
-
RESET_PASSWORD_URL = GENX_RESET_PASSWORD_URL;
|
|
75
|
-
}
|
|
76
|
-
else {
|
|
77
|
-
logger.debug(`GENX_RESET_PASSWORD_URL unset, defaulting to ${RESET_PASSWORD_URL}`);
|
|
78
|
-
}
|
|
79
|
-
export { RESET_PASSWORD_URL };
|
|
80
|
-
/**
|
|
81
|
-
* @public
|
|
82
|
-
*/
|
|
83
|
-
let SSO_LIST_URL = '/sm/sso/list';
|
|
84
|
-
if (typeof GENX_SSO_LIST_URL !== 'undefined') {
|
|
85
|
-
SSO_LIST_URL = GENX_SSO_LIST_URL;
|
|
86
|
-
}
|
|
87
|
-
else {
|
|
88
|
-
logger.debug(`GENX_SSO_LIST_URL unset, defaulting to ${SSO_LIST_URL}`);
|
|
89
|
-
}
|
|
90
|
-
export { SSO_LIST_URL };
|
|
91
|
-
/**
|
|
92
|
-
* @public
|
|
93
|
-
*/
|
|
94
|
-
let SSO_LOGIN_URL = '/sm/{type}/login?idp={id}';
|
|
95
|
-
if (typeof GENX_SSO_LOGIN_URL !== 'undefined') {
|
|
96
|
-
SSO_LOGIN_URL = GENX_SSO_LOGIN_URL;
|
|
97
|
-
}
|
|
98
|
-
else {
|
|
99
|
-
logger.debug(`GENX_SSO_LOGIN_URL unset, defaulting to ${SSO_LOGIN_URL}`);
|
|
100
|
-
}
|
|
101
|
-
export { SSO_LOGIN_URL };
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
2
|
-
|
|
3
|
-
[Home](./index.md) > [@genesislcap/foundation-auth](./foundation-auth.md) > [CHANGE\_PASSWORD\_URL](./foundation-auth.change_password_url.md)
|
|
4
|
-
|
|
5
|
-
## CHANGE\_PASSWORD\_URL variable
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
**Signature:**
|
|
9
|
-
|
|
10
|
-
```typescript
|
|
11
|
-
CHANGE_PASSWORD_URL: string
|
|
12
|
-
```
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
2
|
-
|
|
3
|
-
[Home](./index.md) > [@genesislcap/foundation-auth](./foundation-auth.md) > [FORGOT\_PASSWORD\_URL](./foundation-auth.forgot_password_url.md)
|
|
4
|
-
|
|
5
|
-
## FORGOT\_PASSWORD\_URL variable
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
**Signature:**
|
|
9
|
-
|
|
10
|
-
```typescript
|
|
11
|
-
FORGOT_PASSWORD_URL: string
|
|
12
|
-
```
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
2
|
-
|
|
3
|
-
[Home](./index.md) > [@genesislcap/foundation-auth](./foundation-auth.md) > [LOGIN\_DETAILS\_URL](./foundation-auth.login_details_url.md)
|
|
4
|
-
|
|
5
|
-
## LOGIN\_DETAILS\_URL variable
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
**Signature:**
|
|
9
|
-
|
|
10
|
-
```typescript
|
|
11
|
-
LOGIN_DETAILS_URL: string
|
|
12
|
-
```
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
2
|
-
|
|
3
|
-
[Home](./index.md) > [@genesislcap/foundation-auth](./foundation-auth.md) > [LOGIN\_REFRESH\_URL](./foundation-auth.login_refresh_url.md)
|
|
4
|
-
|
|
5
|
-
## LOGIN\_REFRESH\_URL variable
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
**Signature:**
|
|
9
|
-
|
|
10
|
-
```typescript
|
|
11
|
-
LOGIN_REFRESH_URL: string
|
|
12
|
-
```
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
2
|
-
|
|
3
|
-
[Home](./index.md) > [@genesislcap/foundation-auth](./foundation-auth.md) > [LOGIN\_URL](./foundation-auth.login_url.md)
|
|
4
|
-
|
|
5
|
-
## LOGIN\_URL variable
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
**Signature:**
|
|
9
|
-
|
|
10
|
-
```typescript
|
|
11
|
-
LOGIN_URL: string
|
|
12
|
-
```
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
2
|
-
|
|
3
|
-
[Home](./index.md) > [@genesislcap/foundation-auth](./foundation-auth.md) > [LOGOUT\_URL](./foundation-auth.logout_url.md)
|
|
4
|
-
|
|
5
|
-
## LOGOUT\_URL variable
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
**Signature:**
|
|
9
|
-
|
|
10
|
-
```typescript
|
|
11
|
-
LOGOUT_URL: string
|
|
12
|
-
```
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
2
|
-
|
|
3
|
-
[Home](./index.md) > [@genesislcap/foundation-auth](./foundation-auth.md) > [RESET\_PASSWORD\_URL](./foundation-auth.reset_password_url.md)
|
|
4
|
-
|
|
5
|
-
## RESET\_PASSWORD\_URL variable
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
**Signature:**
|
|
9
|
-
|
|
10
|
-
```typescript
|
|
11
|
-
RESET_PASSWORD_URL: string
|
|
12
|
-
```
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
2
|
-
|
|
3
|
-
[Home](./index.md) > [@genesislcap/foundation-auth](./foundation-auth.md) > [SSO\_LIST\_URL](./foundation-auth.sso_list_url.md)
|
|
4
|
-
|
|
5
|
-
## SSO\_LIST\_URL variable
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
**Signature:**
|
|
9
|
-
|
|
10
|
-
```typescript
|
|
11
|
-
SSO_LIST_URL: string
|
|
12
|
-
```
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
2
|
-
|
|
3
|
-
[Home](./index.md) > [@genesislcap/foundation-auth](./foundation-auth.md) > [SSO\_LOGIN\_URL](./foundation-auth.sso_login_url.md)
|
|
4
|
-
|
|
5
|
-
## SSO\_LOGIN\_URL variable
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
**Signature:**
|
|
9
|
-
|
|
10
|
-
```typescript
|
|
11
|
-
SSO_LOGIN_URL: string
|
|
12
|
-
```
|