earthengine-api/python/ee/oauthinfo.py
Max Heinritz 4c48793e81 v0.1.66
2015-09-30 14:01:26 -07:00

17 lines
498 B
Python

#!/usr/bin/env python
"""Earth Engine OAuth2 client information."""
import os
class OAuthInfo(object):
SCOPE = ('https://www.googleapis.com/auth/earthengine'
' https://www.googleapis.com/auth/devstorage.read_write')
CLIENT_ID = ('517222506229-vsmmajv00ul0bs7p89v5m89qs8eb9359.'
'apps.googleusercontent.com')
CLIENT_SECRET = 'RUP0RZ6e0pPhDzsqIJ7KlNd1'
@classmethod
def credentials_path(cls):
return os.path.expanduser('~/.config/earthengine/credentials')