Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Next »

Database Information


Database NameDatabase TypeCollection Name
%tenant_code%_uracMongoDBtokens

 

Record Explanation


 Field NameTypeMandatoryUniqueIndexedDescription
_idMongo IDYESYESYESMongo Record ID
userIdStringYESYESNOThe User ID
tokenStringYESYESNOThe Token
expiresISODateYESNONOThe token expiration time
statusStringYESNONOThe Token Status
tsTime stampYESNONOrecord created timestamp
serviceStringYESNONOService Name

 

Sample


User 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"
};
  • No labels