Unlimited learning, half price | 50% off

Last chance! 50% off unlimited learning

Sale ends in


httr (version 0.3)

init_oauth2.0: Retrieve OAuth 2.0 access token.

Description

See demos for use.

Usage

init_oauth2.0(endpoint, app, scope = NULL, type = NULL,
  use_oob = getOption("httr_oob_default"))

Arguments

type
content type used to override incorrect server response
scope
a character vector of scopes to request.
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.
endpoint
An OAuth endpoint, created by oauth_endpoint
app
An OAuth consumer application, created by oauth_app