Learn R Programming

solvebio (version 2.15.0)

protectedServer: 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

Run this code
if (FALSE) {
protectedServer(
                server=server,
                client_id="abcd1234"
                )
}

Run the code above in your browser using DataLab