mirror of
https://github.com/google/earthengine-api.git
synced 2025-12-08 19:26:12 +00:00
15 lines
415 B
Python
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')
|