module-authentication {shinydbauth} | R Documentation |
Authentication module
Description
Authentication module
Usage
auth_ui(
id,
status = "primary",
tags_top = NULL,
tags_bottom = NULL,
background = NULL,
choose_language = NULL,
lan = NULL,
...
)
auth_server(
input,
output,
session,
check_credentials,
use_token = FALSE,
lan = NULL
)
Arguments
id |
Module's id. |
status |
Bootstrap status to use for the panel and the button.
Valid status are: |
tags_top |
A |
tags_bottom |
A |
background |
A optionnal |
choose_language |
|
lan |
A language object. See |
... |
: Used for old version compatibility. |
input , output , session |
Standard Shiny server arguments. |
check_credentials |
Function with two arguments (
|
use_token |
Add a token in the URL to check authentication. Should not be used directly. |
Value
A reactiveValues
with 3 slots :
-
result : logical, result of authentication.
-
user : character, name of connected user.
-
user_info : information about the user.