Home | History | Annotate | Download | only in webapp

Lines Matching defs:expiration

131  * @param {number} expiration Expiration time in milliseconds since epoch.
135 remoting.OAuth2.prototype.setAccessToken_ = function(token, expiration) {
136 // Offset expiration by 120 seconds so that we can guarantee that the token
145 'expiration': (expiration - (120 + 30)) * 1000 + Date.now()
156 * @return {{token: string, expiration: number}} The current access token, or
167 if (result && 'token' in result && 'expiration' in result) {
168 return /** @type {{token: string, expiration: number}} */ result;
172 return {'token': '', 'expiration': 0};
191 if (Date.now() > access_token['expiration']) {
210 * @param {number} expiresIn Expiration time for the access token.
226 * @param {number} expiresIn Expiration time for the access token.