consumer: OAuth Consumer

Description Usage Arguments Value Examples

Description

Create a CHPP product (a consumer in OAuth terminology).

Usage

1
2
consumer(key, secret, callback = "oob", challenge = FALSE, order = FALSE,
  youth = FALSE, training = FALSE, bid = FALSE)

Arguments

key

Consumer key.

secret

Consumer secret.

callback

Callback URL ("oob" by default).

challenge

Manage challenges?

order

Set match orders?

youth

Manage youth players?

training

Set training?

bid

Place bid?

Value

An object of class "consumer".

Examples

1
2
3
4
5
6
7
# Consumer key and secret below are for illustrative purposes only
cns <- consumer("3qxJ4m36ONdmkQxVES9xW5",
                "nOhqxax1vDLElZPXgSzYOWIGWbDTQD1BpegtGPz4sCu")
# Ask for permission to manage challenges
cns <- consumer("3qxJ4m36ONdmkQxVES9xW5",
                "nOhqxax1vDLElZPXgSzYOWIGWbDTQD1BpegtGPz4sCu",
                challenge = TRUE)

arcvetkovic/chppr documentation built on May 14, 2019, 9:22 p.m.