Prompts the user to authorize access to Earth Engine via OAuth2.
ee_Authenticate(
user = NULL,
earthengine = TRUE,
drive = FALSE,
gcs = FALSE,
authorization_code = NULL,
code_verifier = NULL,
auth_mode = "notebook",
scopes = NULL,
quiet = FALSE,
verbose = TRUE
)
Arguments
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.
Logical (optional). If TRUE, the EarthEngine credential is cached in the path ~/.config/earthengine/
.
Logical (optional). If TRUE, the drive credential is cached in the path ~/.config/earthengine/
.
Logical (optional). If TRUE, the Google Cloud Storage credential is cached in the path ~/.config/earthengine/
.
An optional authorization code.
PKCE verifier to prevent auth code stealing.
The authentication mode. One of:
paste - send user to accounts.google.com to get a pastable token
notebook - send user to notebook authenticator page
gcloud - use gcloud to obtain credentials (will set appdefault)
appdefault - read from existing $GOOGLE_APPLICATION_CREDENTIALS file
None - a default mode is chosen based on your environment.
List of scopes to use for authentication. Defaults to 'https://www.googleapis.com/auth/earthengine' or 'https://www.googleapis.com/auth/devstorage.full_control'
If TRUE, do not require interactive prompts and force –no-browser mode for gcloud.
Logical. Suppress info messages.
if (FALSE) { # \dontrun{
library(rgee)
# Simple init - Load just the Earth Engine credential
ee_Authenticate()
# At Server side
ee_Authenticate(quiet=TRUE)
} # }
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4