Sign in
apache
/
usergrid-nodejs
/
e3e2c57d04c576bcd2fc4cf5b6c9f180d2c3f0e5
/
.
/
helpers
/
time.js
blob: 06e8d84be99da2c74eb92589d01a0b0ed1e31dcf [
file
] [
log
] [
blame
]
'use strict'
module
.
exports
=
{
expiry
:
function
(
expires_in
)
{
return
Date
.
now
()
+
((
expires_in
?
expires_in
-
5
:
0
)
*
1000
)
}
}