init_oauth2.0

0th

Percentile

Retrieve OAuth 2.0 access token.

See demos for use.

Keywords
internal
Usage
init_oauth2.0(endpoint, app, scope = NULL, type = NULL,
  use_oob = getOption("httr_oob_default"), is_interactive = interactive())
Arguments
endpoint
An OAuth endpoint, created by oauth_endpoint
app
An OAuth consumer application, created by oauth_app
scope
a character vector of scopes to request.
type
content type used to override incorrect server response
use_oob
if FALSE, use a local webserver for the OAuth dance. Otherwise, provide a URL to the user and prompt for a validation code. Defaults to the of the "httr_oob_default" default, or TRUE if httpuv is not installed.
is_interactive
Is the current environment interactive?
Aliases
  • init_oauth2.0
Documentation reproduced from package httr, version 0.6.1, License: MIT + file LICENSE

Community examples

Looks like there are no examples yet.