Tokens
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 | NO | NO | The username of the user |
Sample
Record Sample
var data = { "_id": ObjectId('565095ba90a682f24386ecf0'), "userId": "565095ba90a682f24386ecef", "token": "fe69cffa-aa3f-4daf-b8f4-4d843ca93548", "expires": ISODate('2015-11-23T16:03:06.803Z'), "status": "active", "ts": 1448121786803, "service": "addUser" };