protectedServer: protectedServer

Description Usage Arguments References Examples

View source: R/shiny.R

Description

Wraps an existing Shiny server in an OAuth2 flow.

Usage

1
2
protectedServer(server, client_id, client_secret,
  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

1
2
3
4
5
6
7
## Not run: 
protectedServer(
                server=server,
                client_id="abcd1234"
                )

## End(Not run)

solvebio documentation built on July 12, 2018, 9:04 a.m.