GetOAuthClient {CDSE} | R Documentation |
Get OAuth client
Description
Gets an OAuth authentication client (httr2
OAuth client object)
Usage
GetOAuthClient(id, secret, url = getOption("CDSE.auth_url"))
Arguments
id |
character, user OAuth client id |
secret |
character, user OAuth client secret |
url |
character, endpoint for requesting tokens. Default: Copernicus Data Space Ecosystem OAuth endpoint |
Details
The client can be used in queries requiring the authentication.
Value
httr2
OAuth client object
Source
https://documentation.dataspace.copernicus.eu/APIs/SentinelHub/Overview/Authentication.html
See Also
Examples
## Not run:
id <- "..."
secret <- "..."
OAuthClient <- GetOAuthClient(id = id, secret = secret)
## End(Not run)
[Package CDSE version 0.2.0 Index]