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.


httr documentation built on Aug. 15, 2023, 9:08 a.m.