uber_oauth: Authenticate with the Uber API

Description Usage Arguments Details See Also Examples

View source: R/authorise.R

Description

This function wraps the process of OAuth2.0 authentication with the Uber API. This must be done before further interactions can take place.

Usage

1
uber_oauth(client_key, client_secret, cache = TRUE)

Arguments

client_key

The client key provided by Uber.

client_secret

The client secreat provided by Uber.

cache

Whether or not to cache authentication token.

Details

If cache = TRUE then the authentication token will be stored in a .httr-oauth file.

See Also

oauth_app.

Examples

1
2
3
4
5
6
## Not run: 
# The key/secret combination below is not valid.
uber_oauth("ReTZRlEGNnzkitsn-A23MiXbnMNzdQf8",
           "NpWYGY8W7cv63tfM2neciVpjZOAF_wx1GHRG94A2")

## End(Not run)

ubeR documentation built on May 30, 2017, 1:41 a.m.