The data below describes how the user record is saved in session after the user is logged in.
| Field Name | Type | Description |
---|
_id | Mongo ID | Mongo Record ID |
username | String | The UserName |
firstName | String | The User First Name |
lastName | String | The User Last Name |
email | String | The User Email |
status | String | The User Status. |
profile | Object | Additional User Info. |
socialLogin | Object | Information pertaining to login integration with social platforms. Only available in case the user logged in with passport; and will contain only one object, which will be the current logged in social account. |
| %strategy%strategy | ObjectString | The social platform name. facebook, google, twitter, etc |
| id | String | The id of the user at the social platform |
| accessToken | String | An access token that can be used to validate if the social user account is still valid |
config | Object |
|
|
| Field Name | Type | Mandatory | Unique | Indexed | Description |
---|
keys | Object | YES | NO | NO | Overridden ACL Keys | packages | Object | NO | NO | NO | Overridden ACL Packages |
|
tenant | Object |
|
|
| Field Name | Type | Mandatory | Unique | Indexed | Description |
---|
id | String | YES | NO | NO | Tenant ID | code | String | YES | NO | NO | Tenant Code |
|
groups | Array | Array Of Group Codes |
ts | Time stamp | record created timestamp |
...