Home | History | Annotate | Download | only in webapp

Lines Matching defs:expiration

158  * @param {number} expiration Expiration time in milliseconds since epoch.
162 remoting.OAuth2.prototype.setAccessToken_ = function(token, expiration) {
163 // Offset expiration by 120 seconds so that we can guarantee that the token
172 'expiration': (expiration - (120 + 30)) * 1000 + Date.now()
183 * @return {{token: string, expiration: number}} The current access token, or
194 if (result && 'token' in result && 'expiration' in result) {
195 return /** @type {{token: string, expiration: number}} */ result;
199 return {'token': '', 'expiration': 0};
218 if (Date.now() > access_token['expiration']) {
237 * @param {number} expiresIn Expiration time for the access token.
253 * @param {number} expiresIn Expiration time for the access token.