OAuth: OAuth

Description Details Value Examples

Description

OAuth

Details

Methods

url()

get the url

as_string()

get the url

is_valid()

check if it's valid

signed_attributes()

get the signed attributes

Value

an OAuth object

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
## Not run: 
(x <- OAuth$new("get", "https://api.twitter.com/1/statuses/friends.json", list()))
x
x$url()
x$as_string()
x$signed_attributes()
x$is_valid()

(x <- OAuth$new("get", "https://api.twitter.com/1/statuses/friends.json?stuff=4", 
  list(), list(consumer_secret = "hello", token_secret = "world")))
x$options
x$.__enclos_env__$private$attributes()
x$.__enclos_env__$private$normalized_attributes()
x$.__enclos_env__$private$signature()
x$.__enclos_env__$private$hmac_sha1_signature()
x$.__enclos_env__$private$secret()
x$.__enclos_env__$private$signature_base()
x$.__enclos_env__$private$normalized_params()
x$.__enclos_env__$private$signature_params()
x$.__enclos_env__$private$url_params()
x$.__enclos_env__$private$rsa_sha1_signature()
x$.__enclos_env__$private$private_key()

## End(Not run)

ropenscilabs/oauthlib documentation built on Sept. 6, 2020, 12:15 a.m.