tokens: add lastUsedTime

This commit is contained in:
Girish Ramakrishnan
2021-03-15 12:47:57 -07:00
parent 750f313c6a
commit 176388111c
15 changed files with 222 additions and 81 deletions

View File

@@ -22,7 +22,8 @@ describe('janitor', function () {
clientId: 'clientid-0',
expires: Date.now() + 60 * 60 * 1000,
scope: 'settings',
name: 'clientid0'
name: 'clientid0',
lastUsedTime: null
};
var TOKEN_1 = {
id: 'tid-1',
@@ -31,7 +32,8 @@ describe('janitor', function () {
clientId: 'clientid-1',
expires: Date.now() - 1000,
scope: 'apps',
name: 'clientid1'
name: 'clientid1',
lastUsedTime: null
};
before(function (done) {