class for account management
Methods for creating a user accounts dataset for creating basic "password protected" Shiny application. These methods aren't designed for any rebust applications and should be used for offering very basic authentication. It is not recommended to use these methods for use in applications that store any senstitive information.
config()
config
accounts$config(name, version)
name
name of the accounts database
version
db version
add_user()
add_user
accounts$add_user(username, password, type = "standard")
username
account name
password
account password
type
account type; developer defined
remove_user()
remove_user
accounts$remove_user(username)
username
name for the account
reset_password()
reset_password
accounts$reset_password(username, password)
username
account name
password
account password
print_data()
print dataset
accounts$print_data()
save_data()
save data
accounts$save_data(dir)
dir
output path
clone()
The objects of this class are cloneable with this method.
accounts$clone(deep = FALSE)
deep
Whether to make a deep clone.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.