@genesislcap/foundation-user 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 +43 -0
- package/dist/dts/config.d.ts +53 -0
- package/dist/dts/config.d.ts.map +1 -0
- package/dist/dts/index.d.ts +5 -0
- package/dist/dts/index.d.ts.map +1 -0
- package/dist/dts/index.federated.d.ts +1 -0
- package/dist/dts/index.federated.d.ts.map +1 -0
- package/dist/dts/logger.d.ts +5 -0
- package/dist/dts/logger.d.ts.map +1 -0
- package/dist/dts/tsdoc-metadata.json +11 -0
- package/dist/dts/types.d.ts +134 -0
- package/dist/dts/types.d.ts.map +1 -0
- package/dist/dts/user.d.ts +167 -0
- package/dist/dts/user.d.ts.map +1 -0
- package/dist/esm/config.js +57 -0
- package/dist/esm/index.federated.js +1 -0
- package/dist/esm/index.js +4 -0
- package/dist/esm/logger.js +5 -0
- package/dist/esm/types.js +5 -0
- package/dist/esm/user.js +182 -0
- package/dist/foundation-user.api.json +3350 -0
- package/dist/foundation-user.d.ts +374 -0
- package/docs/.gitattributes +2 -0
- package/docs/api/foundation-user.defaultuser.actionhistory.md +13 -0
- package/docs/api/foundation-user.defaultuser.addauthenticationchangelistener.md +22 -0
- package/docs/api/foundation-user.defaultuser.clearactions.md +17 -0
- package/docs/api/foundation-user.defaultuser.clearpaths.md +17 -0
- package/docs/api/foundation-user.defaultuser.cleartrackinghistory.md +16 -0
- package/docs/api/foundation-user.defaultuser.details.md +12 -0
- package/docs/api/foundation-user.defaultuser.haspermission.md +22 -0
- package/docs/api/foundation-user.defaultuser.hasprofile.md +22 -0
- package/docs/api/foundation-user.defaultuser.isadmin.md +16 -0
- package/docs/api/foundation-user.defaultuser.isanonymous.md +12 -0
- package/docs/api/foundation-user.defaultuser.isauthenticated.md +12 -0
- package/docs/api/foundation-user.defaultuser.isbanned.md +16 -0
- package/docs/api/foundation-user.defaultuser.lastaction.md +17 -0
- package/docs/api/foundation-user.defaultuser.lastpath.md +19 -0
- package/docs/api/foundation-user.defaultuser.md +51 -0
- package/docs/api/foundation-user.defaultuser.pathhistory.md +13 -0
- package/docs/api/foundation-user.defaultuser.permission.md +12 -0
- package/docs/api/foundation-user.defaultuser.profile.md +12 -0
- package/docs/api/foundation-user.defaultuser.rawproperties.md +18 -0
- package/docs/api/foundation-user.defaultuser.set.md +22 -0
- package/docs/api/foundation-user.defaultuser.sourceref.md +12 -0
- package/docs/api/foundation-user.defaultuser.trackaction.md +24 -0
- package/docs/api/foundation-user.defaultuser.trackpath.md +17 -0
- package/docs/api/foundation-user.defaultuser.unset.md +16 -0
- package/docs/api/foundation-user.defaultuser.userkvs.md +14 -0
- package/docs/api/foundation-user.defaultuser.username.md +12 -0
- package/docs/api/foundation-user.defaultuserconfig.md +13 -0
- package/docs/api/foundation-user.getuser.md +30 -0
- package/docs/api/foundation-user.logger.md +12 -0
- package/docs/api/foundation-user.md +47 -0
- package/docs/api/foundation-user.setuserproperties.details.md +11 -0
- package/docs/api/foundation-user.setuserproperties.md +26 -0
- package/docs/api/foundation-user.setuserproperties.permission.md +11 -0
- package/docs/api/foundation-user.setuserproperties.profile.md +11 -0
- package/docs/api/foundation-user.setuserproperties.sourceref.md +11 -0
- package/docs/api/foundation-user.setuserproperties.userkvs.md +11 -0
- package/docs/api/foundation-user.setuserproperties.username.md +11 -0
- package/docs/api/foundation-user.user.addauthenticationchangelistener.md +33 -0
- package/docs/api/foundation-user.user.cleartrackinghistory.md +15 -0
- package/docs/api/foundation-user.user.details.md +11 -0
- package/docs/api/foundation-user.user.haspermission.md +22 -0
- package/docs/api/foundation-user.user.hasprofile.md +22 -0
- package/docs/api/foundation-user.user.isadmin.md +15 -0
- package/docs/api/foundation-user.user.isanonymous.md +11 -0
- package/docs/api/foundation-user.user.isauthenticated.md +11 -0
- package/docs/api/foundation-user.user.isbanned.md +15 -0
- package/docs/api/foundation-user.user.md +56 -0
- package/docs/api/foundation-user.user.permission.md +11 -0
- package/docs/api/foundation-user.user.profile.md +11 -0
- package/docs/api/foundation-user.user.rawproperties.md +18 -0
- package/docs/api/foundation-user.user.set.md +22 -0
- package/docs/api/foundation-user.user.sourceref.md +11 -0
- package/docs/api/foundation-user.user.unset.md +15 -0
- package/docs/api/foundation-user.user.userkvs.md +13 -0
- package/docs/api/foundation-user.user.username.md +11 -0
- package/docs/api/foundation-user.useractionhistory.actionhistory.md +13 -0
- package/docs/api/foundation-user.useractionhistory.clearactions.md +17 -0
- package/docs/api/foundation-user.useractionhistory.lastaction.md +17 -0
- package/docs/api/foundation-user.useractionhistory.md +32 -0
- package/docs/api/foundation-user.useractionhistory.trackaction.md +24 -0
- package/docs/api/foundation-user.userauthenticationchangeevent.md +18 -0
- package/docs/api/foundation-user.userauthenticationchangetype.md +13 -0
- package/docs/api/foundation-user.userconfig.md +28 -0
- package/docs/api/foundation-user.userconfig.setuser.md +29 -0
- package/docs/api/foundation-user.userconfig.trackactionexclusions.md +15 -0
- package/docs/api/foundation-user.userconfig.trackpathexclusions.md +15 -0
- package/docs/api/foundation-user.userconfig.unsetuser.md +24 -0
- package/docs/api/foundation-user.userdetailsproductproperty.md +20 -0
- package/docs/api/foundation-user.userdetailsproductproperty.name.md +11 -0
- package/docs/api/foundation-user.userdetailsproductproperty.version.md +11 -0
- package/docs/api/foundation-user.userdetailsproperty.daystopasswordexpiry.md +11 -0
- package/docs/api/foundation-user.userdetailsproperty.failedloginattempts.md +11 -0
- package/docs/api/foundation-user.userdetailsproperty.heartbeatintervalsecs.md +11 -0
- package/docs/api/foundation-user.userdetailsproperty.lastlogindatetime.md +11 -0
- package/docs/api/foundation-user.userdetailsproperty.md +25 -0
- package/docs/api/foundation-user.userdetailsproperty.product.md +11 -0
- package/docs/api/foundation-user.userdetailsproperty.rejectedloginattempts.md +11 -0
- package/docs/api/foundation-user.userdetailsproperty.system.md +11 -0
- package/docs/api/foundation-user.userdetailssystemproperty.date.md +11 -0
- package/docs/api/foundation-user.userdetailssystemproperty.md +19 -0
- package/docs/api/foundation-user.userkvsproperty.md +12 -0
- package/docs/api/foundation-user.userpathhistory.clearpaths.md +17 -0
- package/docs/api/foundation-user.userpathhistory.lastpath.md +19 -0
- package/docs/api/foundation-user.userpathhistory.md +32 -0
- package/docs/api/foundation-user.userpathhistory.pathhistory.md +13 -0
- package/docs/api/foundation-user.userpathhistory.trackpath.md +17 -0
- package/docs/api/foundation-user.userqueueproperties.md +22 -0
- package/docs/api/foundation-user.userqueueproperties.updatequeue.md +11 -0
- package/docs/api/foundation-user.userqueueproperties.zeromqproxyinboundport.md +11 -0
- package/docs/api/foundation-user.userqueueproperties.zeromqproxymodeenabled.md +11 -0
- package/docs/api/foundation-user.userqueueproperties.zeromqproxyoutboundport.md +11 -0
- package/docs/api/index.md +12 -0
- package/docs/api-report.md +277 -0
- package/license.txt +46 -0
- package/package.json +48 -0
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
2
|
+
|
|
3
|
+
[Home](./index.md) > [@genesislcap/foundation-user](./foundation-user.md) > [User](./foundation-user.user.md) > [rawProperties](./foundation-user.user.rawproperties.md)
|
|
4
|
+
|
|
5
|
+
## User.rawProperties property
|
|
6
|
+
|
|
7
|
+
A structuredClone of the raw unmanaged properties used to set the user.
|
|
8
|
+
|
|
9
|
+
**Signature:**
|
|
10
|
+
|
|
11
|
+
```typescript
|
|
12
|
+
readonly rawProperties: Partial<SetUserProperties>;
|
|
13
|
+
```
|
|
14
|
+
|
|
15
|
+
## Remarks
|
|
16
|
+
|
|
17
|
+
This offers developers an escape hatch to the raw properties. If you feel there's a gap in the User interface based on your application requirements, please raise a request for such properties to be moved onto the interface.
|
|
18
|
+
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
2
|
+
|
|
3
|
+
[Home](./index.md) > [@genesislcap/foundation-user](./foundation-user.md) > [User](./foundation-user.user.md) > [set](./foundation-user.user.set.md)
|
|
4
|
+
|
|
5
|
+
## User.set() method
|
|
6
|
+
|
|
7
|
+
**Signature:**
|
|
8
|
+
|
|
9
|
+
```typescript
|
|
10
|
+
set(properties: Partial<SetUserProperties>): User;
|
|
11
|
+
```
|
|
12
|
+
|
|
13
|
+
## Parameters
|
|
14
|
+
|
|
15
|
+
| Parameter | Type | Description |
|
|
16
|
+
| --- | --- | --- |
|
|
17
|
+
| properties | Partial<[SetUserProperties](./foundation-user.setuserproperties.md)<!-- -->> | The UserProperties used to populate the User. |
|
|
18
|
+
|
|
19
|
+
**Returns:**
|
|
20
|
+
|
|
21
|
+
[User](./foundation-user.user.md)
|
|
22
|
+
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
2
|
+
|
|
3
|
+
[Home](./index.md) > [@genesislcap/foundation-user](./foundation-user.md) > [User](./foundation-user.user.md) > [sourceRef](./foundation-user.user.sourceref.md)
|
|
4
|
+
|
|
5
|
+
## User.sourceRef property
|
|
6
|
+
|
|
7
|
+
**Signature:**
|
|
8
|
+
|
|
9
|
+
```typescript
|
|
10
|
+
readonly sourceRef: string;
|
|
11
|
+
```
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
2
|
+
|
|
3
|
+
[Home](./index.md) > [@genesislcap/foundation-user](./foundation-user.md) > [User](./foundation-user.user.md) > [unset](./foundation-user.user.unset.md)
|
|
4
|
+
|
|
5
|
+
## User.unset() method
|
|
6
|
+
|
|
7
|
+
**Signature:**
|
|
8
|
+
|
|
9
|
+
```typescript
|
|
10
|
+
unset(): User;
|
|
11
|
+
```
|
|
12
|
+
**Returns:**
|
|
13
|
+
|
|
14
|
+
[User](./foundation-user.user.md)
|
|
15
|
+
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
2
|
+
|
|
3
|
+
[Home](./index.md) > [@genesislcap/foundation-user](./foundation-user.md) > [User](./foundation-user.user.md) > [userKVs](./foundation-user.user.userkvs.md)
|
|
4
|
+
|
|
5
|
+
## User.userKVs property
|
|
6
|
+
|
|
7
|
+
**Signature:**
|
|
8
|
+
|
|
9
|
+
```typescript
|
|
10
|
+
readonly userKVs: {
|
|
11
|
+
[key: string]: any;
|
|
12
|
+
};
|
|
13
|
+
```
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
2
|
+
|
|
3
|
+
[Home](./index.md) > [@genesislcap/foundation-user](./foundation-user.md) > [User](./foundation-user.user.md) > [userName](./foundation-user.user.username.md)
|
|
4
|
+
|
|
5
|
+
## User.userName property
|
|
6
|
+
|
|
7
|
+
**Signature:**
|
|
8
|
+
|
|
9
|
+
```typescript
|
|
10
|
+
readonly userName: string;
|
|
11
|
+
```
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
2
|
+
|
|
3
|
+
[Home](./index.md) > [@genesislcap/foundation-user](./foundation-user.md) > [UserActionHistory](./foundation-user.useractionhistory.md) > [actionHistory](./foundation-user.useractionhistory.actionhistory.md)
|
|
4
|
+
|
|
5
|
+
## UserActionHistory.actionHistory property
|
|
6
|
+
|
|
7
|
+
Array of actions that have been tracked.
|
|
8
|
+
|
|
9
|
+
**Signature:**
|
|
10
|
+
|
|
11
|
+
```typescript
|
|
12
|
+
readonly actionHistory: unknown[];
|
|
13
|
+
```
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
2
|
+
|
|
3
|
+
[Home](./index.md) > [@genesislcap/foundation-user](./foundation-user.md) > [UserActionHistory](./foundation-user.useractionhistory.md) > [clearActions](./foundation-user.useractionhistory.clearactions.md)
|
|
4
|
+
|
|
5
|
+
## UserActionHistory.clearActions() method
|
|
6
|
+
|
|
7
|
+
Clears action history.
|
|
8
|
+
|
|
9
|
+
**Signature:**
|
|
10
|
+
|
|
11
|
+
```typescript
|
|
12
|
+
clearActions(): void;
|
|
13
|
+
```
|
|
14
|
+
**Returns:**
|
|
15
|
+
|
|
16
|
+
void
|
|
17
|
+
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
2
|
+
|
|
3
|
+
[Home](./index.md) > [@genesislcap/foundation-user](./foundation-user.md) > [UserActionHistory](./foundation-user.useractionhistory.md) > [lastAction](./foundation-user.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
|
+
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
2
|
+
|
|
3
|
+
[Home](./index.md) > [@genesislcap/foundation-user](./foundation-user.md) > [UserActionHistory](./foundation-user.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-user.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-user.useractionhistory.clearactions.md) | Clears action history. |
|
|
30
|
+
| [lastAction()](./foundation-user.useractionhistory.lastaction.md) | |
|
|
31
|
+
| [trackAction(details)](./foundation-user.useractionhistory.trackaction.md) | Track an action. |
|
|
32
|
+
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
2
|
+
|
|
3
|
+
[Home](./index.md) > [@genesislcap/foundation-user](./foundation-user.md) > [UserActionHistory](./foundation-user.useractionhistory.md) > [trackAction](./foundation-user.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
|
+
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
2
|
+
|
|
3
|
+
[Home](./index.md) > [@genesislcap/foundation-user](./foundation-user.md) > [UserAuthenticationChangeEvent](./foundation-user.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
|
+
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
2
|
+
|
|
3
|
+
[Home](./index.md) > [@genesislcap/foundation-user](./foundation-user.md) > [UserAuthenticationChangeType](./foundation-user.userauthenticationchangetype.md)
|
|
4
|
+
|
|
5
|
+
## UserAuthenticationChangeType variable
|
|
6
|
+
|
|
7
|
+
UserAuthenticationChangeType.
|
|
8
|
+
|
|
9
|
+
**Signature:**
|
|
10
|
+
|
|
11
|
+
```typescript
|
|
12
|
+
UserAuthenticationChangeType = "user-authentication-change"
|
|
13
|
+
```
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
2
|
+
|
|
3
|
+
[Home](./index.md) > [@genesislcap/foundation-user](./foundation-user.md) > [UserConfig](./foundation-user.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-user.userconfig.trackactionexclusions.md) | | unknown\[\] | <p>Exclude certain actions from tracking.</p><p>See [UserPathHistory](./foundation-user.userpathhistory.md)</p> |
|
|
20
|
+
| [trackPathExclusions](./foundation-user.userconfig.trackpathexclusions.md) | | string\[\] | <p>Exclude certain paths from tracking.</p><p>See [UserActionHistory](./foundation-user.useractionhistory.md)</p> |
|
|
21
|
+
|
|
22
|
+
## Methods
|
|
23
|
+
|
|
24
|
+
| Method | Description |
|
|
25
|
+
| --- | --- |
|
|
26
|
+
| [setUser(user, properties)](./foundation-user.userconfig.setuser.md) | User property setter. |
|
|
27
|
+
| [unsetUser(user)](./foundation-user.userconfig.unsetuser.md) | User property un-setter. |
|
|
28
|
+
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
2
|
+
|
|
3
|
+
[Home](./index.md) > [@genesislcap/foundation-user](./foundation-user.md) > [UserConfig](./foundation-user.userconfig.md) > [setUser](./foundation-user.userconfig.setuser.md)
|
|
4
|
+
|
|
5
|
+
## UserConfig.setUser() method
|
|
6
|
+
|
|
7
|
+
User property setter.
|
|
8
|
+
|
|
9
|
+
**Signature:**
|
|
10
|
+
|
|
11
|
+
```typescript
|
|
12
|
+
setUser(user: WriteableUser, properties: Partial<SetUserProperties>): User;
|
|
13
|
+
```
|
|
14
|
+
|
|
15
|
+
## Parameters
|
|
16
|
+
|
|
17
|
+
| Parameter | Type | Description |
|
|
18
|
+
| --- | --- | --- |
|
|
19
|
+
| user | WriteableUser | |
|
|
20
|
+
| properties | Partial<[SetUserProperties](./foundation-user.setuserproperties.md)<!-- -->> | |
|
|
21
|
+
|
|
22
|
+
**Returns:**
|
|
23
|
+
|
|
24
|
+
[User](./foundation-user.user.md)
|
|
25
|
+
|
|
26
|
+
## Remarks
|
|
27
|
+
|
|
28
|
+
The user is typically set from the result of a LoginAck.
|
|
29
|
+
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
2
|
+
|
|
3
|
+
[Home](./index.md) > [@genesislcap/foundation-user](./foundation-user.md) > [UserConfig](./foundation-user.userconfig.md) > [trackActionExclusions](./foundation-user.userconfig.trackactionexclusions.md)
|
|
4
|
+
|
|
5
|
+
## UserConfig.trackActionExclusions property
|
|
6
|
+
|
|
7
|
+
Exclude certain actions from tracking.
|
|
8
|
+
|
|
9
|
+
See [UserPathHistory](./foundation-user.userpathhistory.md)
|
|
10
|
+
|
|
11
|
+
**Signature:**
|
|
12
|
+
|
|
13
|
+
```typescript
|
|
14
|
+
trackActionExclusions: unknown[];
|
|
15
|
+
```
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
2
|
+
|
|
3
|
+
[Home](./index.md) > [@genesislcap/foundation-user](./foundation-user.md) > [UserConfig](./foundation-user.userconfig.md) > [trackPathExclusions](./foundation-user.userconfig.trackpathexclusions.md)
|
|
4
|
+
|
|
5
|
+
## UserConfig.trackPathExclusions property
|
|
6
|
+
|
|
7
|
+
Exclude certain paths from tracking.
|
|
8
|
+
|
|
9
|
+
See [UserActionHistory](./foundation-user.useractionhistory.md)
|
|
10
|
+
|
|
11
|
+
**Signature:**
|
|
12
|
+
|
|
13
|
+
```typescript
|
|
14
|
+
trackPathExclusions: string[];
|
|
15
|
+
```
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
2
|
+
|
|
3
|
+
[Home](./index.md) > [@genesislcap/foundation-user](./foundation-user.md) > [UserConfig](./foundation-user.userconfig.md) > [unsetUser](./foundation-user.userconfig.unsetuser.md)
|
|
4
|
+
|
|
5
|
+
## UserConfig.unsetUser() method
|
|
6
|
+
|
|
7
|
+
User property un-setter.
|
|
8
|
+
|
|
9
|
+
**Signature:**
|
|
10
|
+
|
|
11
|
+
```typescript
|
|
12
|
+
unsetUser(user: WriteableUser): User;
|
|
13
|
+
```
|
|
14
|
+
|
|
15
|
+
## Parameters
|
|
16
|
+
|
|
17
|
+
| Parameter | Type | Description |
|
|
18
|
+
| --- | --- | --- |
|
|
19
|
+
| user | WriteableUser | |
|
|
20
|
+
|
|
21
|
+
**Returns:**
|
|
22
|
+
|
|
23
|
+
[User](./foundation-user.user.md)
|
|
24
|
+
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
2
|
+
|
|
3
|
+
[Home](./index.md) > [@genesislcap/foundation-user](./foundation-user.md) > [UserDetailsProductProperty](./foundation-user.userdetailsproductproperty.md)
|
|
4
|
+
|
|
5
|
+
## UserDetailsProductProperty interface
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
**Signature:**
|
|
9
|
+
|
|
10
|
+
```typescript
|
|
11
|
+
export interface UserDetailsProductProperty
|
|
12
|
+
```
|
|
13
|
+
|
|
14
|
+
## Properties
|
|
15
|
+
|
|
16
|
+
| Property | Modifiers | Type | Description |
|
|
17
|
+
| --- | --- | --- | --- |
|
|
18
|
+
| [name](./foundation-user.userdetailsproductproperty.name.md) | <code>readonly</code> | string | |
|
|
19
|
+
| [version](./foundation-user.userdetailsproductproperty.version.md) | <code>readonly</code> | string | |
|
|
20
|
+
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
2
|
+
|
|
3
|
+
[Home](./index.md) > [@genesislcap/foundation-user](./foundation-user.md) > [UserDetailsProductProperty](./foundation-user.userdetailsproductproperty.md) > [name](./foundation-user.userdetailsproductproperty.name.md)
|
|
4
|
+
|
|
5
|
+
## UserDetailsProductProperty.name property
|
|
6
|
+
|
|
7
|
+
**Signature:**
|
|
8
|
+
|
|
9
|
+
```typescript
|
|
10
|
+
readonly name: string;
|
|
11
|
+
```
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
2
|
+
|
|
3
|
+
[Home](./index.md) > [@genesislcap/foundation-user](./foundation-user.md) > [UserDetailsProductProperty](./foundation-user.userdetailsproductproperty.md) > [version](./foundation-user.userdetailsproductproperty.version.md)
|
|
4
|
+
|
|
5
|
+
## UserDetailsProductProperty.version property
|
|
6
|
+
|
|
7
|
+
**Signature:**
|
|
8
|
+
|
|
9
|
+
```typescript
|
|
10
|
+
readonly version: string;
|
|
11
|
+
```
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
2
|
+
|
|
3
|
+
[Home](./index.md) > [@genesislcap/foundation-user](./foundation-user.md) > [UserDetailsProperty](./foundation-user.userdetailsproperty.md) > [daysToPasswordExpiry](./foundation-user.userdetailsproperty.daystopasswordexpiry.md)
|
|
4
|
+
|
|
5
|
+
## UserDetailsProperty.daysToPasswordExpiry property
|
|
6
|
+
|
|
7
|
+
**Signature:**
|
|
8
|
+
|
|
9
|
+
```typescript
|
|
10
|
+
readonly daysToPasswordExpiry: number;
|
|
11
|
+
```
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
2
|
+
|
|
3
|
+
[Home](./index.md) > [@genesislcap/foundation-user](./foundation-user.md) > [UserDetailsProperty](./foundation-user.userdetailsproperty.md) > [failedLoginAttempts](./foundation-user.userdetailsproperty.failedloginattempts.md)
|
|
4
|
+
|
|
5
|
+
## UserDetailsProperty.failedLoginAttempts property
|
|
6
|
+
|
|
7
|
+
**Signature:**
|
|
8
|
+
|
|
9
|
+
```typescript
|
|
10
|
+
readonly failedLoginAttempts: number;
|
|
11
|
+
```
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
2
|
+
|
|
3
|
+
[Home](./index.md) > [@genesislcap/foundation-user](./foundation-user.md) > [UserDetailsProperty](./foundation-user.userdetailsproperty.md) > [heartbeatIntervalSecs](./foundation-user.userdetailsproperty.heartbeatintervalsecs.md)
|
|
4
|
+
|
|
5
|
+
## UserDetailsProperty.heartbeatIntervalSecs property
|
|
6
|
+
|
|
7
|
+
**Signature:**
|
|
8
|
+
|
|
9
|
+
```typescript
|
|
10
|
+
readonly heartbeatIntervalSecs: number;
|
|
11
|
+
```
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
2
|
+
|
|
3
|
+
[Home](./index.md) > [@genesislcap/foundation-user](./foundation-user.md) > [UserDetailsProperty](./foundation-user.userdetailsproperty.md) > [lastLoginDatetime](./foundation-user.userdetailsproperty.lastlogindatetime.md)
|
|
4
|
+
|
|
5
|
+
## UserDetailsProperty.lastLoginDatetime property
|
|
6
|
+
|
|
7
|
+
**Signature:**
|
|
8
|
+
|
|
9
|
+
```typescript
|
|
10
|
+
readonly lastLoginDatetime: number;
|
|
11
|
+
```
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
2
|
+
|
|
3
|
+
[Home](./index.md) > [@genesislcap/foundation-user](./foundation-user.md) > [UserDetailsProperty](./foundation-user.userdetailsproperty.md)
|
|
4
|
+
|
|
5
|
+
## UserDetailsProperty interface
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
**Signature:**
|
|
9
|
+
|
|
10
|
+
```typescript
|
|
11
|
+
export interface UserDetailsProperty
|
|
12
|
+
```
|
|
13
|
+
|
|
14
|
+
## Properties
|
|
15
|
+
|
|
16
|
+
| Property | Modifiers | Type | Description |
|
|
17
|
+
| --- | --- | --- | --- |
|
|
18
|
+
| [daysToPasswordExpiry](./foundation-user.userdetailsproperty.daystopasswordexpiry.md) | <code>readonly</code> | number | |
|
|
19
|
+
| [failedLoginAttempts](./foundation-user.userdetailsproperty.failedloginattempts.md) | <code>readonly</code> | number | |
|
|
20
|
+
| [heartbeatIntervalSecs](./foundation-user.userdetailsproperty.heartbeatintervalsecs.md) | <code>readonly</code> | number | |
|
|
21
|
+
| [lastLoginDatetime](./foundation-user.userdetailsproperty.lastlogindatetime.md) | <code>readonly</code> | number | |
|
|
22
|
+
| [product](./foundation-user.userdetailsproperty.product.md) | <code>readonly</code> | [UserDetailsProductProperty](./foundation-user.userdetailsproductproperty.md)<!-- -->\[\] | |
|
|
23
|
+
| [rejectedLoginAttempts](./foundation-user.userdetailsproperty.rejectedloginattempts.md) | <code>readonly</code> | number | |
|
|
24
|
+
| [system](./foundation-user.userdetailsproperty.system.md) | <code>readonly</code> | [UserDetailsSystemProperty](./foundation-user.userdetailssystemproperty.md) | |
|
|
25
|
+
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
2
|
+
|
|
3
|
+
[Home](./index.md) > [@genesislcap/foundation-user](./foundation-user.md) > [UserDetailsProperty](./foundation-user.userdetailsproperty.md) > [product](./foundation-user.userdetailsproperty.product.md)
|
|
4
|
+
|
|
5
|
+
## UserDetailsProperty.product property
|
|
6
|
+
|
|
7
|
+
**Signature:**
|
|
8
|
+
|
|
9
|
+
```typescript
|
|
10
|
+
readonly product: UserDetailsProductProperty[];
|
|
11
|
+
```
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
2
|
+
|
|
3
|
+
[Home](./index.md) > [@genesislcap/foundation-user](./foundation-user.md) > [UserDetailsProperty](./foundation-user.userdetailsproperty.md) > [rejectedLoginAttempts](./foundation-user.userdetailsproperty.rejectedloginattempts.md)
|
|
4
|
+
|
|
5
|
+
## UserDetailsProperty.rejectedLoginAttempts property
|
|
6
|
+
|
|
7
|
+
**Signature:**
|
|
8
|
+
|
|
9
|
+
```typescript
|
|
10
|
+
readonly rejectedLoginAttempts: number;
|
|
11
|
+
```
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
2
|
+
|
|
3
|
+
[Home](./index.md) > [@genesislcap/foundation-user](./foundation-user.md) > [UserDetailsProperty](./foundation-user.userdetailsproperty.md) > [system](./foundation-user.userdetailsproperty.system.md)
|
|
4
|
+
|
|
5
|
+
## UserDetailsProperty.system property
|
|
6
|
+
|
|
7
|
+
**Signature:**
|
|
8
|
+
|
|
9
|
+
```typescript
|
|
10
|
+
readonly system: UserDetailsSystemProperty;
|
|
11
|
+
```
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
2
|
+
|
|
3
|
+
[Home](./index.md) > [@genesislcap/foundation-user](./foundation-user.md) > [UserDetailsSystemProperty](./foundation-user.userdetailssystemproperty.md) > [date](./foundation-user.userdetailssystemproperty.date.md)
|
|
4
|
+
|
|
5
|
+
## UserDetailsSystemProperty.date property
|
|
6
|
+
|
|
7
|
+
**Signature:**
|
|
8
|
+
|
|
9
|
+
```typescript
|
|
10
|
+
readonly date: string;
|
|
11
|
+
```
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
2
|
+
|
|
3
|
+
[Home](./index.md) > [@genesislcap/foundation-user](./foundation-user.md) > [UserDetailsSystemProperty](./foundation-user.userdetailssystemproperty.md)
|
|
4
|
+
|
|
5
|
+
## UserDetailsSystemProperty interface
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
**Signature:**
|
|
9
|
+
|
|
10
|
+
```typescript
|
|
11
|
+
export interface UserDetailsSystemProperty
|
|
12
|
+
```
|
|
13
|
+
|
|
14
|
+
## Properties
|
|
15
|
+
|
|
16
|
+
| Property | Modifiers | Type | Description |
|
|
17
|
+
| --- | --- | --- | --- |
|
|
18
|
+
| [date](./foundation-user.userdetailssystemproperty.date.md) | <code>readonly</code> | string | |
|
|
19
|
+
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
2
|
+
|
|
3
|
+
[Home](./index.md) > [@genesislcap/foundation-user](./foundation-user.md) > [UserKVsProperty](./foundation-user.userkvsproperty.md)
|
|
4
|
+
|
|
5
|
+
## UserKVsProperty interface
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
**Signature:**
|
|
9
|
+
|
|
10
|
+
```typescript
|
|
11
|
+
export interface UserKVsProperty
|
|
12
|
+
```
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
2
|
+
|
|
3
|
+
[Home](./index.md) > [@genesislcap/foundation-user](./foundation-user.md) > [UserPathHistory](./foundation-user.userpathhistory.md) > [clearPaths](./foundation-user.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
|
+
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
2
|
+
|
|
3
|
+
[Home](./index.md) > [@genesislcap/foundation-user](./foundation-user.md) > [UserPathHistory](./foundation-user.userpathhistory.md) > [lastPath](./foundation-user.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
|
+
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
2
|
+
|
|
3
|
+
[Home](./index.md) > [@genesislcap/foundation-user](./foundation-user.md) > [UserPathHistory](./foundation-user.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-user.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-user.userpathhistory.clearpaths.md) | Clears path history. |
|
|
30
|
+
| [lastPath()](./foundation-user.userpathhistory.lastpath.md) | May be used to return to a target path after authentication. |
|
|
31
|
+
| [trackPath()](./foundation-user.userpathhistory.trackpath.md) | Track current path. |
|
|
32
|
+
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
2
|
+
|
|
3
|
+
[Home](./index.md) > [@genesislcap/foundation-user](./foundation-user.md) > [UserPathHistory](./foundation-user.userpathhistory.md) > [pathHistory](./foundation-user.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
|
+
```
|