- user
Character (optional). If is a character, the credentials are saved in
the dirpath: ~/.config/earthengine/$user. If is NULL, the credentials are stored
in ~/.config/earthengine.
- earthengine
Logical (optional). If TRUE, the EarthEngine credential
is cached in the path ~/.config/earthengine/
.
- drive
Logical (optional). If TRUE, the drive credential
is cached in the path ~/.config/earthengine/
.
- gcs
Logical (optional). If TRUE, the Google Cloud Storage
credential is cached in the path ~/.config/earthengine/
.
- authorization_code
An optional authorization code.
- code_verifier
PKCE verifier to prevent auth code stealing.
- auth_mode
The authentication mode. One of:
- 1.
paste - send user to accounts.google.com to get a pastable token
- 2.
notebook - send user to notebook authenticator page
- 3.
gcloud - use gcloud to obtain credentials (will set appdefault)
- 4.
appdefault - read from existing $GOOGLE_APPLICATION_CREDENTIALS file
- 5.
None - a default mode is chosen based on your environment.