简体   繁体   English

R /闪亮的用户注册/认证

[英]R/shiny user registration/authentication

I'm looking for a user registration/log in code template for r/shiny. 我正在寻找r / shiny的用户注册/登录代码模板。 It need not be secure, just a way to personalize the content on a shiny app based on previous user settings. 它不一定是安全的,只是一种基于以前的用户设置个性化闪亮应用程序上的内容的方法。 I don't want to rely too much on server services (such as accessing cookies) 我不想太依赖服务器服务(例如访问cookie)

I wonder if there is something out there, or whether there are any suggestions about how to implement it. 我想知道是否有什么东西,或者是否有任何关于如何实现它的建议。

So far I've been trying to do it myself, using a set of reactive variables (other than the input/output) on the client side, that remember the state of the session. 到目前为止,我一直在尝试自己做,使用客户端的一组反应变量(输入/输出除外),记住会话的状态。 The code became a bit ugly and I wonder if there is something simpler that I can reuse. 代码变得有点难看,我想知道是否有更简单的东西可以重用。

A link to a working example would be great as well :) 一个工作示例的链接也很棒:)

Thanks. 谢谢。

http://shiny.rstudio.com/gallery/authentication-and-database.html - Here the membership information is saved into membership_db through savesqlite. http://shiny.rstudio.com/gallery/authentication-and-database.html - 这里的会员信息通过savesqlite保存到membership _db中。 I think you can allow registration by adding to membship_db 我想你可以通过添加到membship_db来允许注册

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM