httr (version 0.2)

oauth2.0_token: Retrieve OAuth 2.0 access token.

Description

See demos for use.

Usage

oauth2.0_token(endpoint, app, scope = NULL, type = NULL)

Arguments

type
content type used to override incorrect server response
scope
a character string of scopes to apply for.
endpoint
An OAuth endpoint, created by oauth_endpoint
app
An OAuth consumer application, created by oauth_app

See Also

Other OAuth: oauth1.0_token, oauth_app, oauth_endpoint, sign_oauth1.0, sign_oauth2.0