setup_global_oauth_vars: Sets up global OAuth variables

View source: R/mod-synapse-oauth.R

setup_global_oauth_varsR Documentation

Sets up global OAuth variables

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

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/dccvalidator documentation built on May 7, 2022, 10:32 a.m.