From ae8b8fe5412afc0a67cc2c88c7df9e248805a319 Mon Sep 17 00:00:00 2001 From: Logan Hanks Date: Fri, 12 Oct 2012 11:07:10 -0700 Subject: [PATCH] Extend the oauth2 access token TTL to an hour. --- r2/r2/models/token.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/r2/r2/models/token.py b/r2/r2/models/token.py index 4263c8716..478a6249b 100644 --- a/r2/r2/models/token.py +++ b/r2/r2/models/token.py @@ -387,7 +387,7 @@ class OAuth2AuthorizationCode(ConsumableToken): class OAuth2AccessToken(Token): """An OAuth2 access token for accessing protected resources""" token_size = 20 - _ttl = 10 * 60 + _ttl = 60 * 60 _defaults = dict(scope="", token_type="bearer", refresh_token=None,