earthengine-api/python/ee/oauthinfo.py
Igor Nazarenko f89e198b16 v0.1.38
2014-09-25 14:58:39 -07:00

15 lines
415 B
Python

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