shinyauth: Server side component. You supply this with your api...

Description Usage Arguments Examples

Description

Server side component. You supply this with your api credentials.

Usage

1
shinyauth(input, output, session, api_info, response_type = "code")

Arguments

input

you can ignore this as it is taken care of by shiny

output

you can ignore this as it is taken care of by shiny

session

you can ignore this as it is taken care of by shiny

api_info

A named list of the various api values you need to authenticate. "key", "id", "secret", "url", "token_url" 'https://www.fitbit.com/oauth2/authorize'

api_key

your apps personal api key.

scope

a vector of what you're requesting access to in the API. See the given api docs for examples.

Examples

1
2
3
4
5
6
 drawChart <- callModule(shinydrawr,
    "outbreak_stats",
    random_data,
    draw_start = 15,
    x_key = "time",
    y_key = "metric")

jhudsl/shinyauth documentation built on May 6, 2019, 11:46 a.m.