Extend the oauth2 access token TTL to an hour.

This commit is contained in:
Logan Hanks
2012-10-12 11:07:10 -07:00
parent e73cc90077
commit ae8b8fe541

View File

@@ -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,