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)
namename of the accounts database
versiondb version
add_user()add_user
accounts$add_user(username, password, type = "standard")
usernameaccount name
passwordaccount password
typeaccount type; developer defined
remove_user()remove_user
accounts$remove_user(username)
usernamename for the account
reset_password()reset_password
accounts$reset_password(username, password)
usernameaccount name
passwordaccount password
print_data()print dataset
accounts$print_data()
save_data()save data
accounts$save_data(dir)
diroutput path
clone()The objects of this class are cloneable with this method.
accounts$clone(deep = FALSE)
deepWhether to make a deep clone.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.