oauth_signature: Generate oauth signature.

View source: R/oauth-signature.r

oauth_signatureR Documentation

Generate oauth signature.

Description

For advanced use only. Occassionally needed for sites that use some components of the OAuth spec, but not all of them (e.g. 2-legged oauth)

Usage

oauth_signature(
  url,
  method = "GET",
  app,
  token = NULL,
  token_secret = NULL,
  private_key = NULL,
  other_params = NULL
)

oauth_header(info)

Arguments

url, method

Url and http method of request.

app

oauth_app() object representing application.

token, token_secret

OAuth token and secret.

other_params

Named argument providing additional parameters (e.g. oauth_callback or oauth_body_hash).

Value

A list of oauth parameters.


r-lib/httr documentation built on Nov. 5, 2023, 7:26 a.m.