lajh87 / rlogin

Authentication module for shiny apps
https://lajh87.github.io/rlogin/
Other
0 stars 0 forks source link

Authenticate cookie against encrypted database #3

Open lajh87 opened 1 year ago

lajh87 commented 1 year ago
lajh87 commented 1 year ago

CREATE TABLE auth_tokens ( id integer(11) not null UNSIGNED AUTO_INCREMENT, selector char(12), hashedValidator char(64), userid integer(11) not null UNSIGNED, expires datetime, PRIMARY KEY (id) );

https://paragonie.com/blog/2015/04/secure-authentication-php-with-long-term-persistence