setup_global_oauth_vars: Sets up global OAuth variables

Description Usage Arguments

View source: R/mod_synapse_oauth.R

Description

Sets up the global OAuth variables needed for all users. These must be initiated in the global environment for this to function correctly.

Usage

1
2
3
4
5
6
7
8
9
setup_global_oauth_vars(
  app_url,
  client_name,
  client_id,
  client_secret,
  claims = list(family_name = NULL, given_name = NULL, userid = NULL, is_certified =
    NULL),
  scope = "openid view download modify"
)

Arguments

app_url

Application URL to redirect back to after OAuth process.

client_name

Synapse OAuth client name.

client_id

Synapse OAuth client ID.

client_secret

Synapse OAuth client secret.

claims

List of items to request access to. Defaults to 'family_name', 'given_name', 'userid', and 'is_certified'. See ##TODO

scope

Space-seperated access scope. Defaults to 'openid view download modify'. See ##TODO


Sage-Bionetworks/mhealthannotator documentation built on Jan. 28, 2022, 6:08 a.m.