Movatterモバイル変換


[0]ホーム

URL:


Skip to contents

login: User Authentication for Shiny Applications

Author: Jason Bryer, Ph.D. jason@bryer.org
Website:https://jbryer.github.io/login/

This package provides a framework for adding user authentication toShiny applications. This is unique to other authentication frameworks such asShinyManager andshinyauthr in that it provides tools for users to create their own accounts and reset passwords. This is particularly useful for Shiny applications used to collect data without a pre-existing user management system. User credentials are stored in any database that supports theDBI interface. Passwords are hashed using MD5 in the browser so that unencrypted passwords are never available to the Shiny server. For an extra layer of security, you cansalt the password before storing it in the database.

Resources for learning to use thelogin pacakge:

You can install from CRAN:

install.packages('login')

Or to install the latest development version:

remotes::install_github('jbryer/login')

Once installed, there are several demos included:

# These demonstrate the core login functionalityshiny::runApp(paste0(find.package('login'),'/login_demo_simple/'), port=2112)shiny::runApp(paste0(find.package('login'),'/login_template/'), port=2112)shiny::runApp(paste0(find.package('login'),'/login_modal/'), port=2112)# These demonstrate the user_param_moduleshiny::runApp(paste0(find.package('login'),'/user_params/'), port=2112)shiny::runApp(paste0(find.package('login'),'/data_viewer/'), port=2112)

Code of Conduct

Please note that the login project is released with aContributor Code of Conduct. By contributing to this project, you agree to abide by its terms.

Links

License

Community

Citation

Developers

  • Jason Bryer
    Author, maintainer

Dev status

  • R-CMD-check

[8]ページ先頭

©2009-2025 Movatter.jp