accounts: accounts

Description Details Methods

Description

class for account management

Details

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.

Methods

Public methods


Method config()

config

Usage
accounts$config(name, version)
Arguments
name

name of the accounts database

version

db version


Method add_user()

add_user

Usage
accounts$add_user(username, password, type = "standard")
Arguments
username

account name

password

account password

type

account type; developer defined


Method remove_user()

remove_user

Usage
accounts$remove_user(username)
Arguments
username

name for the account


Method reset_password()

reset_password

Usage
accounts$reset_password(username, password)
Arguments
username

account name

password

account password


Method print_data()

print dataset

Usage
accounts$print_data()

Method save_data()

save data

Usage
accounts$save_data(dir)
Arguments
dir

output path


Method clone()

The objects of this class are cloneable with this method.

Usage
accounts$clone(deep = FALSE)
Arguments
deep

Whether to make a deep clone.


InControlofEffects/iceComponents documentation built on April 1, 2021, 5:51 a.m.