request_app_username: Whitelist your app and receive a username

Description Usage Arguments Value

View source: R/auth.R

Description

Whitelist your app and receive a username

Usage

1
2
request_app_username(token = Sys.getenv("PHILIPS_HUE_ACCESS_TOKEN"),
  app_id = Sys.getenv("PHILIPS_HUE_APP_ID"))

Arguments

token

token returned from request_token()

app_id

your app's ID (the name you registered your app under)

Value

Adds your app ID to the list of whitelisted apps on the user's bridge and returns a username that can be used to authenticate future requests.


fascinatingfingers/PhilipsHue documentation built on Nov. 25, 2019, 2:22 a.m.