test_auth: Make an auth object like the one that would be present after...

Description Usage Arguments

View source: R/test_auth.R

Description

Make an auth object like the one that would be present after a sucessful login, To this end the funciton can create an auth object of either no-login or the login of a given user. However, the defult behavoir of the function is create auth for the 'first_user' given in the config file

Usage

1
test_auth(config_path, user_id = NULL, no_user = FALSE)

Arguments

config_path

Path to config.yaml used by shinyauth

user_id

The user id to create a loged in auth object for, if null defults to first_user

no_user

Will override user_id and create an auth object for no user loged in


Tim113/shinyauth documentation built on May 24, 2019, 8:46 p.m.