@genesislcap/foundation-auth 14.136.0 → 14.137.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +6 -33
- package/dist/dts/config/config.d.ts.map +1 -1
- package/dist/dts/entity/loginAck.d.ts +20 -25
- package/dist/dts/entity/loginAck.d.ts.map +1 -1
- package/dist/dts/machine/machine.d.ts +2 -2
- package/dist/dts/machine/machine.d.ts.map +1 -1
- package/dist/dts/machine/types.d.ts +1 -1
- package/dist/dts/machine/types.d.ts.map +1 -1
- package/dist/dts/routes/base.d.ts +13 -7
- 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/protected/protected.d.ts +2 -0
- package/dist/dts/routes/protected/protected.d.ts.map +1 -1
- package/dist/dts/routes/protected/protected.template.d.ts.map +1 -1
- package/dist/dts/user/index.d.ts +5 -2
- package/dist/dts/user/index.d.ts.map +1 -1
- package/dist/esm/config/config.js +1 -1
- package/dist/esm/machine/machine.js +2 -2
- package/dist/esm/routes/base.js +1 -1
- package/dist/esm/routes/config.js +1 -1
- package/dist/esm/routes/protected/protected.js +11 -1
- package/dist/esm/routes/protected/protected.template.js +8 -0
- package/dist/esm/user/index.js +5 -2
- package/dist/foundation-auth.api.json +2704 -5197
- package/dist/foundation-auth.d.ts +42 -287
- package/docs/api/foundation-auth.authmachinecontext.md +1 -1
- package/docs/api/foundation-auth.defaultauthmachine._constructor_.md +1 -1
- package/docs/api/foundation-auth.details.md +6 -13
- package/docs/api/foundation-auth.getauthmachine.md +1 -1
- package/docs/api/foundation-auth.loginack.md +2 -16
- package/docs/api/foundation-auth.md +0 -9
- package/docs/api/foundation-auth.product.md +6 -8
- package/docs/api/foundation-auth.system.md +6 -7
- package/docs/api-report.md +29 -218
- package/package.json +13 -12
- package/dist/dts/user/config.d.ts +0 -29
- package/dist/dts/user/config.d.ts.map +0 -1
- package/dist/dts/user/user.d.ts +0 -233
- package/dist/dts/user/user.d.ts.map +0 -1
- package/dist/esm/user/config.js +0 -17
- package/dist/esm/user/user.js +0 -200
- package/docs/api/foundation-auth.defaultuser.actionhistory.md +0 -13
- package/docs/api/foundation-auth.defaultuser.addauthenticationchangelistener.md +0 -22
- package/docs/api/foundation-auth.defaultuser.clearactions.md +0 -17
- package/docs/api/foundation-auth.defaultuser.clearpaths.md +0 -17
- package/docs/api/foundation-auth.defaultuser.cleartrackinghistory.md +0 -16
- package/docs/api/foundation-auth.defaultuser.details.md +0 -12
- package/docs/api/foundation-auth.defaultuser.haspermission.md +0 -22
- package/docs/api/foundation-auth.defaultuser.hasprofile.md +0 -22
- package/docs/api/foundation-auth.defaultuser.isadmin.md +0 -16
- package/docs/api/foundation-auth.defaultuser.isanonymous.md +0 -12
- package/docs/api/foundation-auth.defaultuser.isauthenticated.md +0 -12
- package/docs/api/foundation-auth.defaultuser.isbanned.md +0 -16
- package/docs/api/foundation-auth.defaultuser.lastaction.md +0 -17
- package/docs/api/foundation-auth.defaultuser.lastpath.md +0 -19
- package/docs/api/foundation-auth.defaultuser.md +0 -50
- package/docs/api/foundation-auth.defaultuser.pathhistory.md +0 -13
- package/docs/api/foundation-auth.defaultuser.permission.md +0 -12
- package/docs/api/foundation-auth.defaultuser.profile.md +0 -12
- package/docs/api/foundation-auth.defaultuser.set.md +0 -22
- package/docs/api/foundation-auth.defaultuser.sourceref.md +0 -12
- package/docs/api/foundation-auth.defaultuser.trackaction.md +0 -24
- package/docs/api/foundation-auth.defaultuser.trackpath.md +0 -17
- package/docs/api/foundation-auth.defaultuser.unset.md +0 -16
- package/docs/api/foundation-auth.defaultuser.userkvs.md +0 -14
- package/docs/api/foundation-auth.defaultuser.username.md +0 -12
- package/docs/api/foundation-auth.defaultuserconfig.md +0 -13
- package/docs/api/foundation-auth.details.daystopasswordexpiry.md +0 -11
- package/docs/api/foundation-auth.details.failedloginattempts.md +0 -11
- package/docs/api/foundation-auth.details.heartbeatintervalsecs.md +0 -11
- package/docs/api/foundation-auth.details.lastlogindatetime.md +0 -11
- package/docs/api/foundation-auth.details.product.md +0 -11
- package/docs/api/foundation-auth.details.rejectedloginattempts.md +0 -11
- package/docs/api/foundation-auth.details.system.md +0 -11
- package/docs/api/foundation-auth.getuser.md +0 -30
- package/docs/api/foundation-auth.loginack.details.md +0 -11
- package/docs/api/foundation-auth.loginack.permission.md +0 -11
- package/docs/api/foundation-auth.loginack.profile.md +0 -11
- package/docs/api/foundation-auth.loginack.updatequeue.md +0 -11
- package/docs/api/foundation-auth.loginack.userkvs.md +0 -13
- package/docs/api/foundation-auth.loginack.username.md +0 -11
- package/docs/api/foundation-auth.loginack.zeromqproxyinboundport.md +0 -11
- package/docs/api/foundation-auth.loginack.zeromqproxymodeenabled.md +0 -11
- package/docs/api/foundation-auth.loginack.zeromqproxyoutboundport.md +0 -11
- package/docs/api/foundation-auth.product.name.md +0 -11
- package/docs/api/foundation-auth.product.version.md +0 -11
- package/docs/api/foundation-auth.system.date.md +0 -11
- package/docs/api/foundation-auth.user.addauthenticationchangelistener.md +0 -33
- package/docs/api/foundation-auth.user.cleartrackinghistory.md +0 -15
- package/docs/api/foundation-auth.user.details.md +0 -11
- package/docs/api/foundation-auth.user.haspermission.md +0 -22
- package/docs/api/foundation-auth.user.hasprofile.md +0 -22
- package/docs/api/foundation-auth.user.isadmin.md +0 -15
- package/docs/api/foundation-auth.user.isanonymous.md +0 -11
- package/docs/api/foundation-auth.user.isauthenticated.md +0 -11
- package/docs/api/foundation-auth.user.isbanned.md +0 -15
- package/docs/api/foundation-auth.user.md +0 -55
- package/docs/api/foundation-auth.user.permission.md +0 -11
- package/docs/api/foundation-auth.user.profile.md +0 -11
- package/docs/api/foundation-auth.user.set.md +0 -22
- package/docs/api/foundation-auth.user.sourceref.md +0 -11
- package/docs/api/foundation-auth.user.unset.md +0 -15
- package/docs/api/foundation-auth.user.userkvs.md +0 -13
- package/docs/api/foundation-auth.user.username.md +0 -11
- package/docs/api/foundation-auth.useractionhistory.actionhistory.md +0 -13
- package/docs/api/foundation-auth.useractionhistory.clearactions.md +0 -17
- package/docs/api/foundation-auth.useractionhistory.lastaction.md +0 -17
- package/docs/api/foundation-auth.useractionhistory.md +0 -32
- package/docs/api/foundation-auth.useractionhistory.trackaction.md +0 -24
- package/docs/api/foundation-auth.userauthenticationchangeevent.md +0 -18
- package/docs/api/foundation-auth.userauthenticationchangetype.md +0 -13
- package/docs/api/foundation-auth.userconfig.md +0 -21
- package/docs/api/foundation-auth.userconfig.trackactionexclusions.md +0 -13
- package/docs/api/foundation-auth.userconfig.trackpathexclusions.md +0 -13
- package/docs/api/foundation-auth.userpathhistory.clearpaths.md +0 -17
- package/docs/api/foundation-auth.userpathhistory.lastpath.md +0 -19
- package/docs/api/foundation-auth.userpathhistory.md +0 -32
- package/docs/api/foundation-auth.userpathhistory.pathhistory.md +0 -13
- package/docs/api/foundation-auth.userpathhistory.trackpath.md +0 -17
|
@@ -1,17 +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) > [UserActionHistory](./foundation-auth.useractionhistory.md) > [lastAction](./foundation-auth.useractionhistory.lastaction.md)
|
|
4
|
-
|
|
5
|
-
## UserActionHistory.lastAction() method
|
|
6
|
-
|
|
7
|
-
**Signature:**
|
|
8
|
-
|
|
9
|
-
```typescript
|
|
10
|
-
lastAction(): unknown;
|
|
11
|
-
```
|
|
12
|
-
**Returns:**
|
|
13
|
-
|
|
14
|
-
unknown
|
|
15
|
-
|
|
16
|
-
The last stored action.
|
|
17
|
-
|
|
@@ -1,32 +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) > [UserActionHistory](./foundation-auth.useractionhistory.md)
|
|
4
|
-
|
|
5
|
-
## UserActionHistory interface
|
|
6
|
-
|
|
7
|
-
UserActionHistory.
|
|
8
|
-
|
|
9
|
-
**Signature:**
|
|
10
|
-
|
|
11
|
-
```typescript
|
|
12
|
-
export interface UserActionHistory
|
|
13
|
-
```
|
|
14
|
-
|
|
15
|
-
## Remarks
|
|
16
|
-
|
|
17
|
-
APIs to track a user's action history.
|
|
18
|
-
|
|
19
|
-
## Properties
|
|
20
|
-
|
|
21
|
-
| Property | Modifiers | Type | Description |
|
|
22
|
-
| --- | --- | --- | --- |
|
|
23
|
-
| [actionHistory](./foundation-auth.useractionhistory.actionhistory.md) | <code>readonly</code> | unknown\[\] | Array of actions that have been tracked. |
|
|
24
|
-
|
|
25
|
-
## Methods
|
|
26
|
-
|
|
27
|
-
| Method | Description |
|
|
28
|
-
| --- | --- |
|
|
29
|
-
| [clearActions()](./foundation-auth.useractionhistory.clearactions.md) | Clears action history. |
|
|
30
|
-
| [lastAction()](./foundation-auth.useractionhistory.lastaction.md) | |
|
|
31
|
-
| [trackAction(details)](./foundation-auth.useractionhistory.trackaction.md) | Track an action. |
|
|
32
|
-
|
|
@@ -1,24 +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) > [UserActionHistory](./foundation-auth.useractionhistory.md) > [trackAction](./foundation-auth.useractionhistory.trackaction.md)
|
|
4
|
-
|
|
5
|
-
## UserActionHistory.trackAction() method
|
|
6
|
-
|
|
7
|
-
Track an action.
|
|
8
|
-
|
|
9
|
-
**Signature:**
|
|
10
|
-
|
|
11
|
-
```typescript
|
|
12
|
-
trackAction<TDetails = unknown>(details: TDetails): void;
|
|
13
|
-
```
|
|
14
|
-
|
|
15
|
-
## Parameters
|
|
16
|
-
|
|
17
|
-
| Parameter | Type | Description |
|
|
18
|
-
| --- | --- | --- |
|
|
19
|
-
| details | TDetails | |
|
|
20
|
-
|
|
21
|
-
**Returns:**
|
|
22
|
-
|
|
23
|
-
void
|
|
24
|
-
|
|
@@ -1,18 +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) > [UserAuthenticationChangeEvent](./foundation-auth.userauthenticationchangeevent.md)
|
|
4
|
-
|
|
5
|
-
## UserAuthenticationChangeEvent type
|
|
6
|
-
|
|
7
|
-
UserAuthenticationChangeEvent.
|
|
8
|
-
|
|
9
|
-
**Signature:**
|
|
10
|
-
|
|
11
|
-
```typescript
|
|
12
|
-
export type UserAuthenticationChangeEvent = CustomEvent<boolean>;
|
|
13
|
-
```
|
|
14
|
-
|
|
15
|
-
## Remarks
|
|
16
|
-
|
|
17
|
-
Detail will either be `true` or `false` to indicate authentication status.
|
|
18
|
-
|
|
@@ -1,13 +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) > [UserAuthenticationChangeType](./foundation-auth.userauthenticationchangetype.md)
|
|
4
|
-
|
|
5
|
-
## UserAuthenticationChangeType variable
|
|
6
|
-
|
|
7
|
-
UserAuthenticationChangeType.
|
|
8
|
-
|
|
9
|
-
**Signature:**
|
|
10
|
-
|
|
11
|
-
```typescript
|
|
12
|
-
UserAuthenticationChangeType = "user-authentication-change"
|
|
13
|
-
```
|
|
@@ -1,21 +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) > [UserConfig](./foundation-auth.userconfig.md)
|
|
4
|
-
|
|
5
|
-
## UserConfig interface
|
|
6
|
-
|
|
7
|
-
UserConfig DI interface.
|
|
8
|
-
|
|
9
|
-
**Signature:**
|
|
10
|
-
|
|
11
|
-
```typescript
|
|
12
|
-
export interface UserConfig
|
|
13
|
-
```
|
|
14
|
-
|
|
15
|
-
## Properties
|
|
16
|
-
|
|
17
|
-
| Property | Modifiers | Type | Description |
|
|
18
|
-
| --- | --- | --- | --- |
|
|
19
|
-
| [trackActionExclusions](./foundation-auth.userconfig.trackactionexclusions.md) | | unknown\[\] | Exclude certain actions from tracking. |
|
|
20
|
-
| [trackPathExclusions](./foundation-auth.userconfig.trackpathexclusions.md) | | string\[\] | Exclude certain paths from tracking. |
|
|
21
|
-
|
|
@@ -1,13 +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) > [UserConfig](./foundation-auth.userconfig.md) > [trackActionExclusions](./foundation-auth.userconfig.trackactionexclusions.md)
|
|
4
|
-
|
|
5
|
-
## UserConfig.trackActionExclusions property
|
|
6
|
-
|
|
7
|
-
Exclude certain actions from tracking.
|
|
8
|
-
|
|
9
|
-
**Signature:**
|
|
10
|
-
|
|
11
|
-
```typescript
|
|
12
|
-
trackActionExclusions: unknown[];
|
|
13
|
-
```
|
|
@@ -1,13 +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) > [UserConfig](./foundation-auth.userconfig.md) > [trackPathExclusions](./foundation-auth.userconfig.trackpathexclusions.md)
|
|
4
|
-
|
|
5
|
-
## UserConfig.trackPathExclusions property
|
|
6
|
-
|
|
7
|
-
Exclude certain paths from tracking.
|
|
8
|
-
|
|
9
|
-
**Signature:**
|
|
10
|
-
|
|
11
|
-
```typescript
|
|
12
|
-
trackPathExclusions: string[];
|
|
13
|
-
```
|
|
@@ -1,17 +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) > [UserPathHistory](./foundation-auth.userpathhistory.md) > [clearPaths](./foundation-auth.userpathhistory.clearpaths.md)
|
|
4
|
-
|
|
5
|
-
## UserPathHistory.clearPaths() method
|
|
6
|
-
|
|
7
|
-
Clears path history.
|
|
8
|
-
|
|
9
|
-
**Signature:**
|
|
10
|
-
|
|
11
|
-
```typescript
|
|
12
|
-
clearPaths(): void;
|
|
13
|
-
```
|
|
14
|
-
**Returns:**
|
|
15
|
-
|
|
16
|
-
void
|
|
17
|
-
|
|
@@ -1,19 +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) > [UserPathHistory](./foundation-auth.userpathhistory.md) > [lastPath](./foundation-auth.userpathhistory.lastpath.md)
|
|
4
|
-
|
|
5
|
-
## UserPathHistory.lastPath() method
|
|
6
|
-
|
|
7
|
-
May be used to return to a target path after authentication.
|
|
8
|
-
|
|
9
|
-
**Signature:**
|
|
10
|
-
|
|
11
|
-
```typescript
|
|
12
|
-
lastPath(): string | undefined;
|
|
13
|
-
```
|
|
14
|
-
**Returns:**
|
|
15
|
-
|
|
16
|
-
string \| undefined
|
|
17
|
-
|
|
18
|
-
The last stored path.
|
|
19
|
-
|
|
@@ -1,32 +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) > [UserPathHistory](./foundation-auth.userpathhistory.md)
|
|
4
|
-
|
|
5
|
-
## UserPathHistory interface
|
|
6
|
-
|
|
7
|
-
UserPathHistory.
|
|
8
|
-
|
|
9
|
-
**Signature:**
|
|
10
|
-
|
|
11
|
-
```typescript
|
|
12
|
-
export interface UserPathHistory
|
|
13
|
-
```
|
|
14
|
-
|
|
15
|
-
## Remarks
|
|
16
|
-
|
|
17
|
-
APIs to track a user's path history. Includes the pathname, search and hash only. This is not intended proxy or replace the History API.
|
|
18
|
-
|
|
19
|
-
## Properties
|
|
20
|
-
|
|
21
|
-
| Property | Modifiers | Type | Description |
|
|
22
|
-
| --- | --- | --- | --- |
|
|
23
|
-
| [pathHistory](./foundation-auth.userpathhistory.pathhistory.md) | <code>readonly</code> | string\[\] | Array of paths that have been tracked. |
|
|
24
|
-
|
|
25
|
-
## Methods
|
|
26
|
-
|
|
27
|
-
| Method | Description |
|
|
28
|
-
| --- | --- |
|
|
29
|
-
| [clearPaths()](./foundation-auth.userpathhistory.clearpaths.md) | Clears path history. |
|
|
30
|
-
| [lastPath()](./foundation-auth.userpathhistory.lastpath.md) | May be used to return to a target path after authentication. |
|
|
31
|
-
| [trackPath()](./foundation-auth.userpathhistory.trackpath.md) | Track current path. |
|
|
32
|
-
|
|
@@ -1,13 +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) > [UserPathHistory](./foundation-auth.userpathhistory.md) > [pathHistory](./foundation-auth.userpathhistory.pathhistory.md)
|
|
4
|
-
|
|
5
|
-
## UserPathHistory.pathHistory property
|
|
6
|
-
|
|
7
|
-
Array of paths that have been tracked.
|
|
8
|
-
|
|
9
|
-
**Signature:**
|
|
10
|
-
|
|
11
|
-
```typescript
|
|
12
|
-
readonly pathHistory: string[];
|
|
13
|
-
```
|
|
@@ -1,17 +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) > [UserPathHistory](./foundation-auth.userpathhistory.md) > [trackPath](./foundation-auth.userpathhistory.trackpath.md)
|
|
4
|
-
|
|
5
|
-
## UserPathHistory.trackPath() method
|
|
6
|
-
|
|
7
|
-
Track current path.
|
|
8
|
-
|
|
9
|
-
**Signature:**
|
|
10
|
-
|
|
11
|
-
```typescript
|
|
12
|
-
trackPath(): string;
|
|
13
|
-
```
|
|
14
|
-
**Returns:**
|
|
15
|
-
|
|
16
|
-
string
|
|
17
|
-
|