@genesislcap/foundation-auth 14.218.0 → 14.218.1
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/config/config.d.ts +42 -3
- package/dist/dts/config/config.d.ts.map +1 -1
- package/dist/dts/dto/MESSAGE_TYPE.d.ts +2 -1
- package/dist/dts/dto/MESSAGE_TYPE.d.ts.map +1 -1
- package/dist/dts/entity/loginAck.d.ts +3 -3
- package/dist/dts/machine/actions.d.ts +1 -1
- package/dist/dts/machine/machine.d.ts.map +1 -1
- package/dist/dts/mapper/loginMapper.d.ts +2 -1
- package/dist/dts/mapper/loginMapper.d.ts.map +1 -1
- package/dist/dts/mapper/logoutMapper.d.ts +2 -1
- package/dist/dts/mapper/logoutMapper.d.ts.map +1 -1
- package/dist/dts/mapper/messageMapper.d.ts.map +1 -1
- package/dist/dts/mapper/types.d.ts +1 -0
- package/dist/dts/mapper/types.d.ts.map +1 -1
- package/dist/esm/dto/MESSAGE_TYPE.js +1 -0
- package/dist/esm/machine/actions.js +1 -1
- package/dist/esm/machine/machine.js +1 -5
- package/dist/esm/mapper/loginMapper.js +1 -1
- package/dist/esm/mapper/logoutMapper.js +1 -1
- package/dist/esm/mapper/messageMapper.js +5 -0
- package/dist/foundation-auth.api.json +45 -9
- package/dist/foundation-auth.d.ts +51 -10
- package/docs/api/foundation-auth.authconfig.postloginredirect.md +15 -1
- package/docs/api/foundation-auth.authconfig.postlogoutredirect.md +17 -1
- package/docs/api/foundation-auth.authmessagemapperlookup.md +1 -0
- package/docs/api/foundation-auth.details.md +1 -1
- package/docs/api/foundation-auth.logindto.md +1 -1
- package/docs/api/foundation-auth.logoutdto.md +1 -1
- package/docs/api/foundation-auth.product.md +1 -1
- package/docs/api/foundation-auth.seterror.md +1 -1
- package/docs/api/foundation-auth.system.md +1 -1
- package/docs/api-report.md +10 -2
- package/package.json +19 -19
|
@@ -156,13 +156,52 @@ export interface AuthConfig extends PartialFASTElementDefinition {
|
|
|
156
156
|
omitRedirectUrls: string[];
|
|
157
157
|
/**
|
|
158
158
|
* @remarks
|
|
159
|
-
* Called after a successful login and
|
|
160
|
-
* values when required.
|
|
159
|
+
* Called after a successful login and can be overridden by host. User.lastPath() can be used to trump static
|
|
160
|
+
* values when required. Routes to the user's last attempted navigation path or '/protected' by default.
|
|
161
|
+
*
|
|
162
|
+
* @defaultValue
|
|
163
|
+
* ```ts
|
|
164
|
+
* navigateTo(getUser().lastPath() ?? 'protected')`
|
|
165
|
+
* ```
|
|
166
|
+
*
|
|
167
|
+
* @example
|
|
168
|
+
* ```ts
|
|
169
|
+
* const { configure, defaultAuthConfig } = await import('@genesislcap/foundation-auth/config');
|
|
170
|
+
* return configure({
|
|
171
|
+
* postLoginRedirect: async () => {
|
|
172
|
+
* await this.connect.connect(GENESIS_SOCKET_URL);
|
|
173
|
+
* defaultAuthConfig.postLoginRedirect();
|
|
174
|
+
* }
|
|
175
|
+
* ...
|
|
176
|
+
* });
|
|
177
|
+
* ```
|
|
161
178
|
*/
|
|
162
179
|
postLoginRedirect: () => void;
|
|
163
180
|
/**
|
|
164
181
|
* @remarks
|
|
165
|
-
* Called after a successful logout. Routes to
|
|
182
|
+
* Called after a successful logout and can be overridden by host. Routes to the login form by default.
|
|
183
|
+
*
|
|
184
|
+
* @defaultValue
|
|
185
|
+
* ```ts
|
|
186
|
+
* const currentRoute = Route.path.current;
|
|
187
|
+
* if (currentRoute && currentRoute.includes('logout')) {
|
|
188
|
+
* navigateTo('/');
|
|
189
|
+
* }
|
|
190
|
+
* ```
|
|
191
|
+
*
|
|
192
|
+
* @example
|
|
193
|
+
* ```ts
|
|
194
|
+
* const { configure, defaultAuthConfig } = await import('@genesislcap/foundation-auth/config');
|
|
195
|
+
* return configure({
|
|
196
|
+
* postLogoutRedirect: () => {
|
|
197
|
+
* if (this.connect.isConnected) {
|
|
198
|
+
* this.connect.disconnect();
|
|
199
|
+
* }
|
|
200
|
+
* defaultAuthConfig.postLogoutRedirect();
|
|
201
|
+
* }
|
|
202
|
+
* ...
|
|
203
|
+
* });
|
|
204
|
+
* ```
|
|
166
205
|
*/
|
|
167
206
|
postLogoutRedirect: () => void;
|
|
168
207
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"config.d.ts","sourceRoot":"","sources":["../../../src/config/config.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,8BAA8B,CAAC;AAE7D,OAAO,EAAO,gBAAgB,EAAE,4BAA4B,EAAE,MAAM,yBAAyB,CAAC;AAK9F,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAC;AAGlD,OAAO,EAA0B,eAAe,EAAE,MAAM,aAAa,CAAC;AAEtE;;GAEG;AAEH;;;GAGG;AACH,MAAM,MAAM,WAAW,GAAG;IACxB,KAAK,EAAE,MAAM,CAAC;IACd;;;OAGG;IACH,KAAK,CAAC,EAAE,GAAG,CAAC;IACZ;;;OAGG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB;;;OAGG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB;;;OAGG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB,CAAC;AAEF;;;;GAIG;AACH,MAAM,MAAM,cAAc,GAAG;IAC3B,YAAY,EAAE,WAAW,GAAG,IAAI,CAAC;IACjC,QAAQ,EAAE,WAAW,CAAC;IACtB,KAAK,EAAE,WAAW,CAAC;IACnB,QAAQ,EAAE,WAAW,CAAC;CACvB,CAAC;AAEF;;GAEG;AACH,MAAM,MAAM,SAAS,GAAG;IACtB;;OAEG;IACH,OAAO,CAAC,EAAE,OAAO,CAAC;CACnB,CAAC;AAEF;;;;GAIG;AACH,MAAM,WAAW,UAAW,SAAQ,4BAA4B;IAC9D;;;;;OAKG;IACH,eAAe,EAAE,eAAe,CAAC;IACjC;;;;;;;;;;;;;;;;;;;;;OAqBG;IACH,IAAI,EAAE,gBAAgB,GAAG,gBAAgB,EAAE,G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ACH,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB;;;;;;;;;;;;;;;;;;;;;;;;OAwBG;IACH,qBAAqB,CAAC,EAAE,aAAa,CAAC,WAAW,CAAC,CAAC;CACpD;AAED;;;GAGG;AACH,eAAO,MAAM,iBAAiB,EAAE,UA0C/B,CAAC;AAEF;;;;;;GAMG;AACH,eAAO,MAAM,UAAU,kEAAuE,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"MESSAGE_TYPE.d.ts","sourceRoot":"","sources":["../../../src/dto/MESSAGE_TYPE.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,oBAAY,YAAY;IACtB;;OAEG;IACH,KAAK,qBAAqB;IAC1B,SAAS,yBAAyB;IAClC,UAAU,0BAA0B;IACpC,iBAAiB,4BAA4B;IAC7C,kBAAkB,6BAA6B;IAC/C;;OAEG;IACH,UAAU,eAAe;IACzB,WAAW,sBAAsB;IACjC;;OAEG;IACH,eAAe,sCAAsC;IACrD,eAAe,+BAA+B;IAC9C,cAAc,gCAAgC;IAC9C;;OAEG;IACH,UAAU,eAAe;
|
|
1
|
+
{"version":3,"file":"MESSAGE_TYPE.d.ts","sourceRoot":"","sources":["../../../src/dto/MESSAGE_TYPE.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,oBAAY,YAAY;IACtB;;OAEG;IACH,KAAK,qBAAqB;IAC1B,SAAS,yBAAyB;IAClC,UAAU,0BAA0B;IACpC,iBAAiB,4BAA4B;IAC7C,kBAAkB,6BAA6B;IAC/C;;OAEG;IACH,UAAU,eAAe;IACzB,WAAW,sBAAsB;IACjC;;OAEG;IACH,eAAe,sCAAsC;IACrD,eAAe,+BAA+B;IAC9C,cAAc,gCAAgC;IAC9C;;OAEG;IACH,UAAU,eAAe;IACzB,QAAQ,aAAa;CACtB"}
|
|
@@ -4,7 +4,7 @@ import type { Ack } from './ack';
|
|
|
4
4
|
* @privateRemarks
|
|
5
5
|
* Export retained for backwards compatibility.
|
|
6
6
|
*
|
|
7
|
-
* @deprecated - Use
|
|
7
|
+
* @deprecated - Use \@genesislcap/foundation-user#UserDetailsProperty instead.
|
|
8
8
|
*
|
|
9
9
|
* @public
|
|
10
10
|
*/
|
|
@@ -14,7 +14,7 @@ export interface Details extends UserDetailsProperty {
|
|
|
14
14
|
* @privateRemarks
|
|
15
15
|
* Export retained for backwards compatibility.
|
|
16
16
|
*
|
|
17
|
-
* @deprecated - Use
|
|
17
|
+
* @deprecated - Use \@genesislcap/foundation-user#UserDetailsSystemProperty instead.
|
|
18
18
|
*
|
|
19
19
|
* @public
|
|
20
20
|
*/
|
|
@@ -24,7 +24,7 @@ export interface System extends UserDetailsSystemProperty {
|
|
|
24
24
|
* @privateRemarks
|
|
25
25
|
* Export retained for backwards compatibility.
|
|
26
26
|
*
|
|
27
|
-
* @deprecated - Use
|
|
27
|
+
* @deprecated - Use \@genesislcap/foundation-user#UserDetailsProductProperty instead.
|
|
28
28
|
*
|
|
29
29
|
* @public
|
|
30
30
|
*/
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Set error action.
|
|
3
3
|
* @remarks
|
|
4
|
-
* Used to set a top level error on the machine. This may equal to
|
|
4
|
+
* Used to set a top level error on the machine. This may equal to \@genesislcap/foundation-utils#ErrorMap `lastError` in the `errors` property.
|
|
5
5
|
* @public
|
|
6
6
|
*/
|
|
7
7
|
export declare const setError: {
|
|
@@ -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;AAGrD,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,QAAQ,CAAC;AACjD,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;;;GA6BG;AACH,wBAAgB,cAAc,IAAI,WAAW,CAE5C"}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { UUID } from '@genesislcap/foundation-utils';
|
|
2
2
|
import type { Credentials } from '../credential';
|
|
3
3
|
import type { EVENT_LOGIN_AUTH, EVENT_LOGIN_AUTH_ACK, EVENT_LOGIN_AUTH_NACK, EVENT_LOGIN_DETAILS_ACK } from '../dto';
|
|
4
|
+
import { MESSAGE } from '../dto';
|
|
4
5
|
import type { Product as DTOProduct, System as DTOSystem } from '../dto/EVENT_LOGIN_AUTH_ACK';
|
|
5
6
|
import type { LoginAck, LoginDetailsAck, LoginNack } from '../entity';
|
|
6
7
|
import type { Product as EntityProduct, System as EntitySystem } from '../entity/loginAck';
|
|
@@ -9,7 +10,7 @@ import { Mapper } from './types';
|
|
|
9
10
|
* LoginDTO type.
|
|
10
11
|
* @public
|
|
11
12
|
*/
|
|
12
|
-
export type LoginDTO = EVENT_LOGIN_AUTH | EVENT_LOGIN_AUTH_ACK | EVENT_LOGIN_AUTH_NACK | EVENT_LOGIN_DETAILS_ACK;
|
|
13
|
+
export type LoginDTO = EVENT_LOGIN_AUTH | EVENT_LOGIN_AUTH_ACK | EVENT_LOGIN_AUTH_NACK | EVENT_LOGIN_DETAILS_ACK | MESSAGE;
|
|
13
14
|
/**
|
|
14
15
|
* LoginEntity type.
|
|
15
16
|
* @public
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"loginMapper.d.ts","sourceRoot":"","sources":["../../../src/mapper/loginMapper.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,+BAA+B,CAAC;AAErD,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAEjD,OAAO,KAAK,EACV,gBAAgB,EAChB,oBAAoB,EACpB,qBAAqB,EACrB,uBAAuB,EACxB,MAAM,QAAQ,CAAC;
|
|
1
|
+
{"version":3,"file":"loginMapper.d.ts","sourceRoot":"","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AAC,MAAM,EAAE,WAAW,GAAG,MAAM,IAAI,eAAe,CAEtF;AAED;;;;GAIG;AACH,wBAAgB,iBAAiB,CAAC,MAAM,EAAE,WAAW,GAAG,MAAM,IAAI,SAAS,CAE1E;AAED;;;;;;;;;;;;;;;;;;;;;;;;;;GA0BG;AACH,MAAM,WAAW,WAAY,SAAQ,MAAM,CAAC,QAAQ,EAAE,WAAW,CAAC;CAAG;AAErE;;;GAGG;AACH,qBAAa,kBAAmB,YAAW,WAAW;IAC9C,SAAS,CAAC,IAAI,EAAE,IAAI,CAAC;IAE3B;;OAEG;IACH,QAAQ,QAAS,QAAQ,KAAG,WAAW,CA+CrC;IAEF;;OAEG;IACH,KAAK,WAAY,WAAW,KAAG,QAAQ,CAgDrC;IAEF,SAAS,CAAC,aAAa,WAAY,SAAS,KAAG,YAAY,CACnB;IAExC,SAAS,CAAC,cAAc,aAAc,UAAU,EAAE,KAAG,aAAa,EAAE,CAM3D;CACV;AAED;;;;;;;GAOG;AACH,eAAO,MAAM,WAAW,mEAA0E,CAAC"}
|
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
import type { EVENT_LOGOUT_NACK, LOGOUT_ACK } from '../dto';
|
|
2
|
+
import { MESSAGE } from '../dto';
|
|
2
3
|
import type { LogoutAck, LogoutNack } from '../entity';
|
|
3
4
|
import { Mapper } from './types';
|
|
4
5
|
/**
|
|
5
6
|
* LogoutDTO type.
|
|
6
7
|
* @public
|
|
7
8
|
*/
|
|
8
|
-
export type LogoutDTO = LOGOUT_ACK | EVENT_LOGOUT_NACK;
|
|
9
|
+
export type LogoutDTO = LOGOUT_ACK | EVENT_LOGOUT_NACK | MESSAGE;
|
|
9
10
|
/**
|
|
10
11
|
* LogoutEntity type.
|
|
11
12
|
* @public
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"logoutMapper.d.ts","sourceRoot":"","sources":["../../../src/mapper/logoutMapper.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,iBAAiB,EAAE,UAAU,EAAE,MAAM,QAAQ,CAAC;
|
|
1
|
+
{"version":3,"file":"logoutMapper.d.ts","sourceRoot":"","sources":["../../../src/mapper/logoutMapper.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,iBAAiB,EAAE,UAAU,EAAE,MAAM,QAAQ,CAAC;AAC5D,OAAO,EAAE,OAAO,EAAgB,MAAM,QAAQ,CAAC;AAC/C,OAAO,KAAK,EAAE,SAAS,EAAE,UAAU,EAAE,MAAM,WAAW,CAAC;AAGvD,OAAO,EAAE,MAAM,EAAE,MAAM,SAAS,CAAC;AAGjC;;;GAGG;AACH,MAAM,MAAM,SAAS,GAAG,UAAU,GAAG,iBAAiB,GAAG,OAAO,CAAC;AAEjE;;;GAGG;AACH,MAAM,MAAM,YAAY,GAAG,SAAS,GAAG,UAAU,CAAC;AAElD;;;;GAIG;AACH,wBAAgB,cAAc,CAAC,GAAG,EAAE,SAAS,GAAG,GAAG,IAAI,UAAU,CAEhE;AAED;;;;GAIG;AACH,wBAAgB,eAAe,CAAC,GAAG,EAAE,SAAS,GAAG,GAAG,IAAI,iBAAiB,CAExE;AAED;;;;GAIG;AACH,wBAAgB,iBAAiB,CAAC,MAAM,EAAE,YAAY,GAAG,MAAM,IAAI,SAAS,CAE3E;AAED;;;;GAIG;AACH,wBAAgB,kBAAkB,CAAC,MAAM,EAAE,YAAY,GAAG,MAAM,IAAI,UAAU,CAE7E;AAED;;;;;;;;GAQG;AACH,MAAM,WAAW,YAAa,SAAQ,MAAM,CAAC,SAAS,EAAE,YAAY,CAAC;CAAG;AAExE;;;GAGG;AACH,qBAAa,mBAAoB,YAAW,YAAY;IACtD;;OAEG;IACH,QAAQ,QAAS,SAAS,KAAG,YAAY,CAmBvC;CACH;AAED;;;;;;;GAOG;AACH,eAAO,MAAM,YAAY,oEAExB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"messageMapper.d.ts","sourceRoot":"","sources":["../../../src/mapper/messageMap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AW,GAAG,YAAY,GAAG,wBAAwB,CAAC;AAE/E;;GAEG;AACH,MAAM,MAAM,uBAAuB,GAAG;IACpC;;OAEG;IACH,CAAC,YAAY,CAAC,KAAK,CAAC,EAAE,WAAW,CAAC;IAClC,CAAC,YAAY,CAAC,SAAS,CAAC,EAAE,WAAW,CAAC;IACtC,CAAC,YAAY,CAAC,UAAU,CAAC,EAAE,WAAW,CAAC;IACvC,CAAC,YAAY,CAAC,iBAAiB,CAAC,EAAE,WAAW,CAAC;IAC9C,CAAC,YAAY,CAAC,kBAAkB,CAAC,EAAE,WAAW,CAAC;IAC/C;;OAEG;IACH,CAAC,YAAY,CAAC,UAAU,CAAC,EAAE,YAAY,CAAC;IACxC,CAAC,YAAY,CAAC,WAAW,CAAC,EAAE,YAAY,CAAC;IACzC;;OAEG;IACH,CAAC,YAAY,CAAC,eAAe,CAAC,EAAE,wBAAwB,CAAC;IACzD,CAAC,YAAY,CAAC,eAAe,CAAC,EAAE,wBAAwB,CAAC;IACzD,CAAC,YAAY,CAAC,cAAc,CAAC,EAAE,wBAAwB,CAAC;IACxD;;;OAGG;IACH,CAAC,YAAY,CAAC,UAAU,CAAC,EAAE,YAAY,CAAC;IACxC,CAAC,YAAY,CAAC,QAAQ,CAAC,EAAE,YAAY,CAAC;CACvC,CAAC"}
|
|
@@ -6,7 +6,7 @@ import { is200Nack } from './guards';
|
|
|
6
6
|
/**
|
|
7
7
|
* Set error action.
|
|
8
8
|
* @remarks
|
|
9
|
-
* Used to set a top level error on the machine. This may equal to
|
|
9
|
+
* Used to set a top level error on the machine. This may equal to \@genesislcap/foundation-utils#ErrorMap `lastError` in the `errors` property.
|
|
10
10
|
* @public
|
|
11
11
|
*/
|
|
12
12
|
export const setError = assign(({ event }) => {
|
|
@@ -130,11 +130,7 @@ let DefaultAuthMachine = class DefaultAuthMachine extends AbstractMachine {
|
|
|
130
130
|
},
|
|
131
131
|
],
|
|
132
132
|
},
|
|
133
|
-
entry: [
|
|
134
|
-
sendTo('loginDetailsFetcher', this.createFetchMachineEvent(LOGIN_DETAILS_URL, {
|
|
135
|
-
DETAILS: {},
|
|
136
|
-
})),
|
|
137
|
-
],
|
|
133
|
+
entry: [sendTo('loginDetailsFetcher', this.createFetchMachineEvent(LOGIN_DETAILS_URL))],
|
|
138
134
|
},
|
|
139
135
|
/**
|
|
140
136
|
* Login with user credentials or tokens
|
|
@@ -85,7 +85,7 @@ export class DefaultLoginMapper {
|
|
|
85
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
|
-
throw new Error(
|
|
88
|
+
throw new Error(`No Entity mapping implementation for '${dto === null || dto === void 0 ? void 0 : dto.MESSAGE_TYPE}' DTO`);
|
|
89
89
|
}
|
|
90
90
|
catch (e) {
|
|
91
91
|
logger.error(e);
|
|
@@ -53,7 +53,7 @@ export class DefaultLogoutMapper {
|
|
|
53
53
|
const ack = Object.assign(Object.assign({}, fromDTOAck(dto)), { oidcLogoutUrl: dto.OIDC_LOGOUT_URL });
|
|
54
54
|
return ack;
|
|
55
55
|
}
|
|
56
|
-
throw new Error(
|
|
56
|
+
throw new Error(`No Entity mapping implementation for '${dto === null || dto === void 0 ? void 0 : dto.MESSAGE_TYPE}' DTO`);
|
|
57
57
|
}
|
|
58
58
|
catch (e) {
|
|
59
59
|
logger.error(e);
|
|
@@ -34,6 +34,11 @@ let DefaultAuthMessageMapper = class DefaultAuthMessageMapper extends DefaultMes
|
|
|
34
34
|
this.set(MESSAGE_TYPE.FORGOT_PASSWORD, passwordMapper);
|
|
35
35
|
this.set(MESSAGE_TYPE.CHANGE_PASSWORD, passwordMapper);
|
|
36
36
|
this.set(MESSAGE_TYPE.RESET_PASSWORD, passwordMapper);
|
|
37
|
+
/**
|
|
38
|
+
* Generic
|
|
39
|
+
*/
|
|
40
|
+
this.set(MESSAGE_TYPE.EVENT_NACK, logoutMapper);
|
|
41
|
+
this.set(MESSAGE_TYPE.MSG_NACK, logoutMapper);
|
|
37
42
|
}
|
|
38
43
|
};
|
|
39
44
|
DefaultAuthMessageMapper = __decorate([
|
|
@@ -529,7 +529,7 @@
|
|
|
529
529
|
{
|
|
530
530
|
"kind": "PropertySignature",
|
|
531
531
|
"canonicalReference": "@genesislcap/foundation-auth!AuthConfig#postLoginRedirect:member",
|
|
532
|
-
"docComment": "/**\n * @remarks\n *\n * Called after a successful login and
|
|
532
|
+
"docComment": "/**\n * @remarks\n *\n * Called after a successful login and can be overridden by host. User.lastPath() can be used to trump static values when required. Routes to the user's last attempted navigation path or '/protected' by default.\n *\n * @defaultValue\n * ```ts\n * navigateTo(getUser().lastPath() ?? 'protected')`\n * ```\n *\n * @example\n * ```ts\n * const { configure, defaultAuthConfig } = await import('@genesislcap/foundation-auth/config');\n * return configure({\n * postLoginRedirect: async () => {\n * await this.connect.connect(GENESIS_SOCKET_URL);\n * defaultAuthConfig.postLoginRedirect();\n * }\n * ...\n * });\n * ```\n *\n */\n",
|
|
533
533
|
"excerptTokens": [
|
|
534
534
|
{
|
|
535
535
|
"kind": "Content",
|
|
@@ -556,7 +556,7 @@
|
|
|
556
556
|
{
|
|
557
557
|
"kind": "PropertySignature",
|
|
558
558
|
"canonicalReference": "@genesislcap/foundation-auth!AuthConfig#postLogoutRedirect:member",
|
|
559
|
-
"docComment": "/**\n * @remarks\n *\n * Called after a successful logout. Routes to
|
|
559
|
+
"docComment": "/**\n * @remarks\n *\n * Called after a successful logout and can be overridden by host. Routes to the login form by default.\n *\n * @defaultValue\n * ```ts\n * const currentRoute = Route.path.current;\n * if (currentRoute && currentRoute.includes('logout')) {\n * navigateTo('/');\n * }\n * ```\n *\n * @example\n * ```ts\n * const { configure, defaultAuthConfig } = await import('@genesislcap/foundation-auth/config');\n * return configure({\n * postLogoutRedirect: () => {\n * if (this.connect.isConnected) {\n * this.connect.disconnect();\n * }\n * defaultAuthConfig.postLogoutRedirect();\n * }\n * ...\n * });\n * ```\n *\n */\n",
|
|
560
560
|
"excerptTokens": [
|
|
561
561
|
{
|
|
562
562
|
"kind": "Content",
|
|
@@ -2413,6 +2413,24 @@
|
|
|
2413
2413
|
"text": "LogoutMapper",
|
|
2414
2414
|
"canonicalReference": "@genesislcap/foundation-auth!LogoutMapper:interface"
|
|
2415
2415
|
},
|
|
2416
|
+
{
|
|
2417
|
+
"kind": "Content",
|
|
2418
|
+
"text": ";\n ["
|
|
2419
|
+
},
|
|
2420
|
+
{
|
|
2421
|
+
"kind": "Reference",
|
|
2422
|
+
"text": "MESSAGE_TYPE.MSG_NACK",
|
|
2423
|
+
"canonicalReference": "@genesislcap/foundation-auth!MESSAGE_TYPE.MSG_NACK:member"
|
|
2424
|
+
},
|
|
2425
|
+
{
|
|
2426
|
+
"kind": "Content",
|
|
2427
|
+
"text": "]: "
|
|
2428
|
+
},
|
|
2429
|
+
{
|
|
2430
|
+
"kind": "Reference",
|
|
2431
|
+
"text": "LogoutMapper",
|
|
2432
|
+
"canonicalReference": "@genesislcap/foundation-auth!LogoutMapper:interface"
|
|
2433
|
+
},
|
|
2416
2434
|
{
|
|
2417
2435
|
"kind": "Content",
|
|
2418
2436
|
"text": ";\n}"
|
|
@@ -2427,7 +2445,7 @@
|
|
|
2427
2445
|
"name": "AuthMessageMapperLookup",
|
|
2428
2446
|
"typeTokenRange": {
|
|
2429
2447
|
"startIndex": 1,
|
|
2430
|
-
"endIndex":
|
|
2448
|
+
"endIndex": 50
|
|
2431
2449
|
}
|
|
2432
2450
|
},
|
|
2433
2451
|
{
|
|
@@ -8289,7 +8307,7 @@
|
|
|
8289
8307
|
{
|
|
8290
8308
|
"kind": "Interface",
|
|
8291
8309
|
"canonicalReference": "@genesislcap/foundation-auth!Details:interface",
|
|
8292
|
-
"docComment": "/**\n * @deprecated\n *\n * - Use
|
|
8310
|
+
"docComment": "/**\n * @deprecated\n *\n * - Use \\@genesislcap/foundation-user#UserDetailsProperty instead.\n *\n * @public\n */\n",
|
|
8293
8311
|
"excerptTokens": [
|
|
8294
8312
|
{
|
|
8295
8313
|
"kind": "Content",
|
|
@@ -11174,6 +11192,15 @@
|
|
|
11174
11192
|
"text": "EVENT_LOGIN_DETAILS_ACK",
|
|
11175
11193
|
"canonicalReference": "@genesislcap/foundation-auth!EVENT_LOGIN_DETAILS_ACK:interface"
|
|
11176
11194
|
},
|
|
11195
|
+
{
|
|
11196
|
+
"kind": "Content",
|
|
11197
|
+
"text": " | "
|
|
11198
|
+
},
|
|
11199
|
+
{
|
|
11200
|
+
"kind": "Reference",
|
|
11201
|
+
"text": "MESSAGE",
|
|
11202
|
+
"canonicalReference": "@genesislcap/foundation-auth!MESSAGE:interface"
|
|
11203
|
+
},
|
|
11177
11204
|
{
|
|
11178
11205
|
"kind": "Content",
|
|
11179
11206
|
"text": ";"
|
|
@@ -11184,7 +11211,7 @@
|
|
|
11184
11211
|
"name": "LoginDTO",
|
|
11185
11212
|
"typeTokenRange": {
|
|
11186
11213
|
"startIndex": 1,
|
|
11187
|
-
"endIndex":
|
|
11214
|
+
"endIndex": 10
|
|
11188
11215
|
}
|
|
11189
11216
|
},
|
|
11190
11217
|
{
|
|
@@ -11679,6 +11706,15 @@
|
|
|
11679
11706
|
"text": "EVENT_LOGOUT_NACK",
|
|
11680
11707
|
"canonicalReference": "@genesislcap/foundation-auth!EVENT_LOGOUT_NACK:interface"
|
|
11681
11708
|
},
|
|
11709
|
+
{
|
|
11710
|
+
"kind": "Content",
|
|
11711
|
+
"text": " | "
|
|
11712
|
+
},
|
|
11713
|
+
{
|
|
11714
|
+
"kind": "Reference",
|
|
11715
|
+
"text": "MESSAGE",
|
|
11716
|
+
"canonicalReference": "@genesislcap/foundation-auth!MESSAGE:interface"
|
|
11717
|
+
},
|
|
11682
11718
|
{
|
|
11683
11719
|
"kind": "Content",
|
|
11684
11720
|
"text": ";"
|
|
@@ -11689,7 +11725,7 @@
|
|
|
11689
11725
|
"name": "LogoutDTO",
|
|
11690
11726
|
"typeTokenRange": {
|
|
11691
11727
|
"startIndex": 1,
|
|
11692
|
-
"endIndex":
|
|
11728
|
+
"endIndex": 6
|
|
11693
11729
|
}
|
|
11694
11730
|
},
|
|
11695
11731
|
{
|
|
@@ -12412,7 +12448,7 @@
|
|
|
12412
12448
|
{
|
|
12413
12449
|
"kind": "Interface",
|
|
12414
12450
|
"canonicalReference": "@genesislcap/foundation-auth!Product:interface",
|
|
12415
|
-
"docComment": "/**\n * @deprecated\n *\n * - Use
|
|
12451
|
+
"docComment": "/**\n * @deprecated\n *\n * - Use \\@genesislcap/foundation-user#UserDetailsProductProperty instead.\n *\n * @public\n */\n",
|
|
12416
12452
|
"excerptTokens": [
|
|
12417
12453
|
{
|
|
12418
12454
|
"kind": "Content",
|
|
@@ -12562,7 +12598,7 @@
|
|
|
12562
12598
|
{
|
|
12563
12599
|
"kind": "Variable",
|
|
12564
12600
|
"canonicalReference": "@genesislcap/foundation-auth!setError:var",
|
|
12565
|
-
"docComment": "/**\n * Set error action.\n *\n * @remarks\n *\n * Used to set a top level error on the machine. This may equal to
|
|
12601
|
+
"docComment": "/**\n * Set error action.\n *\n * @remarks\n *\n * Used to set a top level error on the machine. This may equal to \\@genesislcap/foundation-utils#ErrorMap `lastError` in the `errors` property.\n *\n * @public\n */\n",
|
|
12566
12602
|
"excerptTokens": [
|
|
12567
12603
|
{
|
|
12568
12604
|
"kind": "Content",
|
|
@@ -12908,7 +12944,7 @@
|
|
|
12908
12944
|
{
|
|
12909
12945
|
"kind": "Interface",
|
|
12910
12946
|
"canonicalReference": "@genesislcap/foundation-auth!System:interface",
|
|
12911
|
-
"docComment": "/**\n * @deprecated\n *\n * - Use
|
|
12947
|
+
"docComment": "/**\n * @deprecated\n *\n * - Use \\@genesislcap/foundation-user#UserDetailsSystemProperty instead.\n *\n * @public\n */\n",
|
|
12912
12948
|
"excerptTokens": [
|
|
12913
12949
|
{
|
|
12914
12950
|
"kind": "Content",
|
|
@@ -168,13 +168,52 @@ export declare interface AuthConfig extends PartialFASTElementDefinition {
|
|
|
168
168
|
omitRedirectUrls: string[];
|
|
169
169
|
/**
|
|
170
170
|
* @remarks
|
|
171
|
-
* Called after a successful login and
|
|
172
|
-
* values when required.
|
|
171
|
+
* Called after a successful login and can be overridden by host. User.lastPath() can be used to trump static
|
|
172
|
+
* values when required. Routes to the user's last attempted navigation path or '/protected' by default.
|
|
173
|
+
*
|
|
174
|
+
* @defaultValue
|
|
175
|
+
* ```ts
|
|
176
|
+
* navigateTo(getUser().lastPath() ?? 'protected')`
|
|
177
|
+
* ```
|
|
178
|
+
*
|
|
179
|
+
* @example
|
|
180
|
+
* ```ts
|
|
181
|
+
* const { configure, defaultAuthConfig } = await import('@genesislcap/foundation-auth/config');
|
|
182
|
+
* return configure({
|
|
183
|
+
* postLoginRedirect: async () => {
|
|
184
|
+
* await this.connect.connect(GENESIS_SOCKET_URL);
|
|
185
|
+
* defaultAuthConfig.postLoginRedirect();
|
|
186
|
+
* }
|
|
187
|
+
* ...
|
|
188
|
+
* });
|
|
189
|
+
* ```
|
|
173
190
|
*/
|
|
174
191
|
postLoginRedirect: () => void;
|
|
175
192
|
/**
|
|
176
193
|
* @remarks
|
|
177
|
-
* Called after a successful logout. Routes to
|
|
194
|
+
* Called after a successful logout and can be overridden by host. Routes to the login form by default.
|
|
195
|
+
*
|
|
196
|
+
* @defaultValue
|
|
197
|
+
* ```ts
|
|
198
|
+
* const currentRoute = Route.path.current;
|
|
199
|
+
* if (currentRoute && currentRoute.includes('logout')) {
|
|
200
|
+
* navigateTo('/');
|
|
201
|
+
* }
|
|
202
|
+
* ```
|
|
203
|
+
*
|
|
204
|
+
* @example
|
|
205
|
+
* ```ts
|
|
206
|
+
* const { configure, defaultAuthConfig } = await import('@genesislcap/foundation-auth/config');
|
|
207
|
+
* return configure({
|
|
208
|
+
* postLogoutRedirect: () => {
|
|
209
|
+
* if (this.connect.isConnected) {
|
|
210
|
+
* this.connect.disconnect();
|
|
211
|
+
* }
|
|
212
|
+
* defaultAuthConfig.postLogoutRedirect();
|
|
213
|
+
* }
|
|
214
|
+
* ...
|
|
215
|
+
* });
|
|
216
|
+
* ```
|
|
178
217
|
*/
|
|
179
218
|
postLogoutRedirect: () => void;
|
|
180
219
|
/**
|
|
@@ -439,6 +478,7 @@ export declare type AuthMessageMapperLookup = {
|
|
|
439
478
|
* TODO: Update to use a generic mapper, for now let logout mapper surface error
|
|
440
479
|
*/
|
|
441
480
|
[MESSAGE_TYPE.EVENT_NACK]: LogoutMapper;
|
|
481
|
+
[MESSAGE_TYPE.MSG_NACK]: LogoutMapper;
|
|
442
482
|
};
|
|
443
483
|
|
|
444
484
|
/**
|
|
@@ -1133,7 +1173,7 @@ export { defaultUserConfig }
|
|
|
1133
1173
|
* @privateRemarks
|
|
1134
1174
|
* Export retained for backwards compatibility.
|
|
1135
1175
|
*
|
|
1136
|
-
* @deprecated - Use
|
|
1176
|
+
* @deprecated - Use \@genesislcap/foundation-user#UserDetailsProperty instead.
|
|
1137
1177
|
*
|
|
1138
1178
|
* @public
|
|
1139
1179
|
*/
|
|
@@ -2084,7 +2124,7 @@ export declare interface LoginDetailsAck extends LoginAck {
|
|
|
2084
2124
|
* LoginDTO type.
|
|
2085
2125
|
* @public
|
|
2086
2126
|
*/
|
|
2087
|
-
export declare type LoginDTO = EVENT_LOGIN_AUTH | EVENT_LOGIN_AUTH_ACK | EVENT_LOGIN_AUTH_NACK | EVENT_LOGIN_DETAILS_ACK;
|
|
2127
|
+
export declare type LoginDTO = EVENT_LOGIN_AUTH | EVENT_LOGIN_AUTH_ACK | EVENT_LOGIN_AUTH_NACK | EVENT_LOGIN_DETAILS_ACK | MESSAGE;
|
|
2088
2128
|
|
|
2089
2129
|
/**
|
|
2090
2130
|
* LoginEntity type.
|
|
@@ -2172,7 +2212,7 @@ export declare interface LogoutAck extends Ack {
|
|
|
2172
2212
|
* LogoutDTO type.
|
|
2173
2213
|
* @public
|
|
2174
2214
|
*/
|
|
2175
|
-
export declare type LogoutDTO = LOGOUT_ACK | EVENT_LOGOUT_NACK;
|
|
2215
|
+
export declare type LogoutDTO = LOGOUT_ACK | EVENT_LOGOUT_NACK | MESSAGE;
|
|
2176
2216
|
|
|
2177
2217
|
/**
|
|
2178
2218
|
* LogoutEntity type.
|
|
@@ -2282,7 +2322,8 @@ export declare enum MESSAGE_TYPE {
|
|
|
2282
2322
|
/**
|
|
2283
2323
|
* Generic
|
|
2284
2324
|
*/
|
|
2285
|
-
EVENT_NACK = "EVENT_NACK"
|
|
2325
|
+
EVENT_NACK = "EVENT_NACK",
|
|
2326
|
+
MSG_NACK = "MSG_NACK"
|
|
2286
2327
|
}
|
|
2287
2328
|
|
|
2288
2329
|
/**
|
|
@@ -2401,7 +2442,7 @@ export declare const PasswordManagementMapper: InterfaceSymbol<PasswordManagemen
|
|
|
2401
2442
|
* @privateRemarks
|
|
2402
2443
|
* Export retained for backwards compatibility.
|
|
2403
2444
|
*
|
|
2404
|
-
* @deprecated - Use
|
|
2445
|
+
* @deprecated - Use \@genesislcap/foundation-user#UserDetailsProductProperty instead.
|
|
2405
2446
|
*
|
|
2406
2447
|
* @public
|
|
2407
2448
|
*/
|
|
@@ -2451,7 +2492,7 @@ export declare type ResetPasswordParams = {
|
|
|
2451
2492
|
/**
|
|
2452
2493
|
* Set error action.
|
|
2453
2494
|
* @remarks
|
|
2454
|
-
* Used to set a top level error on the machine. This may equal to
|
|
2495
|
+
* Used to set a top level error on the machine. This may equal to \@genesislcap/foundation-utils#ErrorMap `lastError` in the `errors` property.
|
|
2455
2496
|
* @public
|
|
2456
2497
|
*/
|
|
2457
2498
|
export declare const setError: {
|
|
@@ -2511,7 +2552,7 @@ export declare const styles: ElementStyles;
|
|
|
2511
2552
|
* @privateRemarks
|
|
2512
2553
|
* Export retained for backwards compatibility.
|
|
2513
2554
|
*
|
|
2514
|
-
* @deprecated - Use
|
|
2555
|
+
* @deprecated - Use \@genesislcap/foundation-user#UserDetailsSystemProperty instead.
|
|
2515
2556
|
*
|
|
2516
2557
|
* @public
|
|
2517
2558
|
*/
|
|
@@ -12,5 +12,19 @@ postLoginRedirect: () => void;
|
|
|
12
12
|
|
|
13
13
|
## Remarks
|
|
14
14
|
|
|
15
|
-
Called after a successful login and
|
|
15
|
+
Called after a successful login and can be overridden by host. User.lastPath() can be used to trump static values when required. Routes to the user's last attempted navigation path or '/protected' by default.
|
|
16
|
+
|
|
17
|
+
## Example
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
```ts
|
|
21
|
+
const { configure, defaultAuthConfig } = await import('@genesislcap/foundation-auth/config');
|
|
22
|
+
return configure({
|
|
23
|
+
postLoginRedirect: async () => {
|
|
24
|
+
await this.connect.connect(GENESIS_SOCKET_URL);
|
|
25
|
+
defaultAuthConfig.postLoginRedirect();
|
|
26
|
+
}
|
|
27
|
+
...
|
|
28
|
+
});
|
|
29
|
+
```
|
|
16
30
|
|
|
@@ -12,5 +12,21 @@ postLogoutRedirect: () => void;
|
|
|
12
12
|
|
|
13
13
|
## Remarks
|
|
14
14
|
|
|
15
|
-
Called after a successful logout. Routes to
|
|
15
|
+
Called after a successful logout and can be overridden by host. Routes to the login form by default.
|
|
16
|
+
|
|
17
|
+
## Example
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
```ts
|
|
21
|
+
const { configure, defaultAuthConfig } = await import('@genesislcap/foundation-auth/config');
|
|
22
|
+
return configure({
|
|
23
|
+
postLogoutRedirect: () => {
|
|
24
|
+
if (this.connect.isConnected) {
|
|
25
|
+
this.connect.disconnect();
|
|
26
|
+
}
|
|
27
|
+
defaultAuthConfig.postLogoutRedirect();
|
|
28
|
+
}
|
|
29
|
+
...
|
|
30
|
+
});
|
|
31
|
+
```
|
|
16
32
|
|
|
@@ -20,6 +20,7 @@ export type AuthMessageMapperLookup = {
|
|
|
20
20
|
[MESSAGE_TYPE.CHANGE_PASSWORD]: PasswordManagementMapper;
|
|
21
21
|
[MESSAGE_TYPE.RESET_PASSWORD]: PasswordManagementMapper;
|
|
22
22
|
[MESSAGE_TYPE.EVENT_NACK]: LogoutMapper;
|
|
23
|
+
[MESSAGE_TYPE.MSG_NACK]: LogoutMapper;
|
|
23
24
|
};
|
|
24
25
|
```
|
|
25
26
|
**References:** [LoginMapper](./foundation-auth.loginmapper.md)<!-- -->, [LogoutMapper](./foundation-auth.logoutmapper.md)<!-- -->, [PasswordManagementMapper](./foundation-auth.passwordmanagementmapper.md)
|
|
@@ -9,7 +9,7 @@ LoginDTO type.
|
|
|
9
9
|
**Signature:**
|
|
10
10
|
|
|
11
11
|
```typescript
|
|
12
|
-
export type LoginDTO = EVENT_LOGIN_AUTH | EVENT_LOGIN_AUTH_ACK | EVENT_LOGIN_AUTH_NACK | EVENT_LOGIN_DETAILS_ACK;
|
|
12
|
+
export type LoginDTO = EVENT_LOGIN_AUTH | EVENT_LOGIN_AUTH_ACK | EVENT_LOGIN_AUTH_NACK | EVENT_LOGIN_DETAILS_ACK | MESSAGE;
|
|
13
13
|
```
|
|
14
14
|
**References:** [EVENT\_LOGIN\_AUTH](./foundation-auth.event_login_auth.md)<!-- -->, [EVENT\_LOGIN\_AUTH\_ACK](./foundation-auth.event_login_auth_ack.md)<!-- -->, [EVENT\_LOGIN\_AUTH\_NACK](./foundation-auth.event_login_auth_nack.md)<!-- -->, [EVENT\_LOGIN\_DETAILS\_ACK](./foundation-auth.event_login_details_ack.md)
|
|
15
15
|
|
|
@@ -9,7 +9,7 @@ LogoutDTO type.
|
|
|
9
9
|
**Signature:**
|
|
10
10
|
|
|
11
11
|
```typescript
|
|
12
|
-
export type LogoutDTO = LOGOUT_ACK | EVENT_LOGOUT_NACK;
|
|
12
|
+
export type LogoutDTO = LOGOUT_ACK | EVENT_LOGOUT_NACK | MESSAGE;
|
|
13
13
|
```
|
|
14
14
|
**References:** [LOGOUT\_ACK](./foundation-auth.logout_ack.md)<!-- -->, [EVENT\_LOGOUT\_NACK](./foundation-auth.event_logout_nack.md)
|
|
15
15
|
|
|
@@ -21,5 +21,5 @@ setError: {
|
|
|
21
21
|
|
|
22
22
|
## Remarks
|
|
23
23
|
|
|
24
|
-
Used to set a top level error on the machine. This may equal to
|
|
24
|
+
Used to set a top level error on the machine. This may equal to @<!-- -->genesislcap/foundation-utils\#ErrorMap `lastError` in the `errors` property.
|
|
25
25
|
|
package/docs/api-report.md
CHANGED
|
@@ -251,6 +251,7 @@ export type AuthMessageMapperLookup = {
|
|
|
251
251
|
[MESSAGE_TYPE.CHANGE_PASSWORD]: PasswordManagementMapper;
|
|
252
252
|
[MESSAGE_TYPE.RESET_PASSWORD]: PasswordManagementMapper;
|
|
253
253
|
[MESSAGE_TYPE.EVENT_NACK]: LogoutMapper;
|
|
254
|
+
[MESSAGE_TYPE.MSG_NACK]: LogoutMapper;
|
|
254
255
|
};
|
|
255
256
|
|
|
256
257
|
// Warning: (ae-internal-missing-underscore) The name "AuthRouterConfig" should be prefixed with an underscore because the declaration is marked as @internal
|
|
@@ -1056,8 +1057,10 @@ export interface LoginAck extends SetUserProperties, Ack {
|
|
|
1056
1057
|
export interface LoginDetailsAck extends LoginAck {
|
|
1057
1058
|
}
|
|
1058
1059
|
|
|
1060
|
+
// Warning: (ae-incompatible-release-tags) The symbol "LoginDTO" is marked as @public, but its signature references "MESSAGE" which is marked as @internal
|
|
1061
|
+
//
|
|
1059
1062
|
// @public
|
|
1060
|
-
export type LoginDTO = EVENT_LOGIN_AUTH | EVENT_LOGIN_AUTH_ACK | EVENT_LOGIN_AUTH_NACK | EVENT_LOGIN_DETAILS_ACK;
|
|
1063
|
+
export type LoginDTO = EVENT_LOGIN_AUTH | EVENT_LOGIN_AUTH_ACK | EVENT_LOGIN_AUTH_NACK | EVENT_LOGIN_DETAILS_ACK | MESSAGE;
|
|
1061
1064
|
|
|
1062
1065
|
// @public
|
|
1063
1066
|
export type LoginEntity = Credentials | LoginAck | LoginDetailsAck | LoginNack;
|
|
@@ -1111,8 +1114,10 @@ export interface LogoutAck extends Ack {
|
|
|
1111
1114
|
readonly oidcLogoutUrl: string;
|
|
1112
1115
|
}
|
|
1113
1116
|
|
|
1117
|
+
// Warning: (ae-incompatible-release-tags) The symbol "LogoutDTO" is marked as @public, but its signature references "MESSAGE" which is marked as @internal
|
|
1118
|
+
//
|
|
1114
1119
|
// @public
|
|
1115
|
-
export type LogoutDTO = LOGOUT_ACK | EVENT_LOGOUT_NACK;
|
|
1120
|
+
export type LogoutDTO = LOGOUT_ACK | EVENT_LOGOUT_NACK | MESSAGE;
|
|
1116
1121
|
|
|
1117
1122
|
// @public
|
|
1118
1123
|
export type LogoutEntity = LogoutAck | LogoutNack;
|
|
@@ -1186,6 +1191,8 @@ export enum MESSAGE_TYPE {
|
|
|
1186
1191
|
// (undocumented)
|
|
1187
1192
|
LOGOUT_NACK = "EVENT_LOGOUT_NACK",
|
|
1188
1193
|
// (undocumented)
|
|
1194
|
+
MSG_NACK = "MSG_NACK",
|
|
1195
|
+
// (undocumented)
|
|
1189
1196
|
RESET_PASSWORD = "EVENT_PASSWORD_RESET_ACTION"
|
|
1190
1197
|
}
|
|
1191
1198
|
|
|
@@ -1386,6 +1393,7 @@ export class ZeroAuth extends FoundationAuth {
|
|
|
1386
1393
|
// src/mapper/types.ts:64:3 - (ae-incompatible-release-tags) The symbol "EVENT_CHANGE_USER_PASSWORD" is marked as @public, but its signature references "MESSAGE_TYPE" which is marked as @internal
|
|
1387
1394
|
// src/mapper/types.ts:65:3 - (ae-incompatible-release-tags) The symbol "EVENT_PASSWORD_RESET_ACTION" is marked as @public, but its signature references "MESSAGE_TYPE" which is marked as @internal
|
|
1388
1395
|
// src/mapper/types.ts:70:3 - (ae-incompatible-release-tags) The symbol "EVENT_NACK" is marked as @public, but its signature references "MESSAGE_TYPE" which is marked as @internal
|
|
1396
|
+
// src/mapper/types.ts:71:3 - (ae-incompatible-release-tags) The symbol "MSG_NACK" is marked as @public, but its signature references "MESSAGE_TYPE" which is marked as @internal
|
|
1389
1397
|
|
|
1390
1398
|
// (No @packageDocumentation comment for this package)
|
|
1391
1399
|
|
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.218.
|
|
4
|
+
"version": "14.218.1",
|
|
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.218.
|
|
131
|
-
"@genesislcap/genx": "14.218.
|
|
132
|
-
"@genesislcap/rollup-builder": "14.218.
|
|
133
|
-
"@genesislcap/ts-builder": "14.218.
|
|
134
|
-
"@genesislcap/uvu-playwright-builder": "14.218.
|
|
135
|
-
"@genesislcap/vite-builder": "14.218.
|
|
136
|
-
"@genesislcap/webpack-builder": "14.218.
|
|
130
|
+
"@genesislcap/foundation-testing": "14.218.1",
|
|
131
|
+
"@genesislcap/genx": "14.218.1",
|
|
132
|
+
"@genesislcap/rollup-builder": "14.218.1",
|
|
133
|
+
"@genesislcap/ts-builder": "14.218.1",
|
|
134
|
+
"@genesislcap/uvu-playwright-builder": "14.218.1",
|
|
135
|
+
"@genesislcap/vite-builder": "14.218.1",
|
|
136
|
+
"@genesislcap/webpack-builder": "14.218.1",
|
|
137
137
|
"rimraf": "^5.0.0"
|
|
138
138
|
},
|
|
139
139
|
"dependencies": {
|
|
140
|
-
"@genesislcap/foundation-comms": "14.218.
|
|
141
|
-
"@genesislcap/foundation-events": "14.218.
|
|
142
|
-
"@genesislcap/foundation-i18n": "14.218.
|
|
143
|
-
"@genesislcap/foundation-logger": "14.218.
|
|
144
|
-
"@genesislcap/foundation-state-machine": "14.218.
|
|
145
|
-
"@genesislcap/foundation-store": "14.218.
|
|
146
|
-
"@genesislcap/foundation-ui": "14.218.
|
|
147
|
-
"@genesislcap/foundation-user": "14.218.
|
|
148
|
-
"@genesislcap/foundation-utils": "14.218.
|
|
149
|
-
"@genesislcap/foundation-zero": "14.218.
|
|
140
|
+
"@genesislcap/foundation-comms": "14.218.1",
|
|
141
|
+
"@genesislcap/foundation-events": "14.218.1",
|
|
142
|
+
"@genesislcap/foundation-i18n": "14.218.1",
|
|
143
|
+
"@genesislcap/foundation-logger": "14.218.1",
|
|
144
|
+
"@genesislcap/foundation-state-machine": "14.218.1",
|
|
145
|
+
"@genesislcap/foundation-store": "14.218.1",
|
|
146
|
+
"@genesislcap/foundation-ui": "14.218.1",
|
|
147
|
+
"@genesislcap/foundation-user": "14.218.1",
|
|
148
|
+
"@genesislcap/foundation-utils": "14.218.1",
|
|
149
|
+
"@genesislcap/foundation-zero": "14.218.1",
|
|
150
150
|
"@microsoft/fast-components": "^2.30.6",
|
|
151
151
|
"@microsoft/fast-element": "^1.12.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": "3f2914c46bf26912a59d05c82097542cef8d899e"
|
|
171
171
|
}
|