protectedServer: protectedServer

View source: R/shiny.R

protectedServerR Documentation

protectedServer

Description

Wraps an existing Shiny server in an OAuth2 flow.

Usage

protectedServer(
  server,
  client_id,
  client_secret = NULL,
  base_url = "https://my.solvebio.com"
)

Arguments

server

Your original Shiny server function.

client_id

Your application's client ID.

client_secret

(optional) Your application's client secret.

base_url

(optional) Override the default login host (default: https://my.solvebio.com).

References

https://docs.solvebio.com/

Examples

## Not run: 
protectedServer(
                server=server,
                client_id="abcd1234"
                )

## End(Not run)


solvebio documentation built on May 17, 2022, 5:06 p.m.