Token - V3
Database Information
Database Name | Database Type | Collection Name |
---|---|---|
%tenant_code%_urac | MongoDB | tokens |
Record Explanation
Field Name | Type | Mandatory | Unique | Indexed | Description | |
---|---|---|---|---|---|---|
_id | Mongo ID | YES | YES | YES | Mongo Record ID | |
userId | String | YES | YES | NO | The User ID | |
token | String | YES | YES | NO | The Token | |
expires | ISODate | YES | NO | NO | The token expiration time | |
status | String | YES | NO | NO | The Token Status | |
ts | Time stamp | YES | NO | NO | Record created timestamp | |
service | String | YES | NO | NO | Service Name | |
username | String | YES | YES | NO | The username of the user |
Sample
Record Sample
var data = { _id: ObjectId("5d382063eb1410d854af54fb"), userId: "5d35772718cb112936852a0b", token: "f65e8358-ce1d-47cb-b478-82e10c93f70e", expires: "2019-07-24T08:43:19.051Z", status: "active", ts: Double(1563784999051.0), service: "addUser", username: "fadinasr" };