/
Tokens

Tokens

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
usernameStringYESNONOThe 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"
};

Related content

Users
Users
More like this
Groups
Groups
More like this
Tenants
More like this
Products
More like this
List Users
List Users
More like this
GET - /tenants/product/keys/ext
GET - /tenants/product/keys/ext
More like this