powered by
Gets an OAuth authentication token (long character string)
GetOAuthToken(id, secret, url = getOption("CDSE.auth_url"))
Long character string containing the authentication token.
character, user OAuth client id
character, user OAuth client secret
character, endpoint for requesting tokens. Default: Copernicus Data Space Ecosystem OAuth endpoint
The token can be used in queries requiring the authentication.
GetOAuthClient
if (FALSE) { id <- "..." secret <- "..." token <- GetOAuthToken(id = id, secret = secret) }
Run the code above in your browser using DataLab