View source: R/password_input.R
password_input | R Documentation |
shiny::passwordInput
This modified version of Shiny's passwordInput()
does not actually send the password
to our Shiny server. It is just a regular password input that always keeps your
user's password on the client. The password is used to sign the user in and then
converted to a JWT by Firebase, all on the client, before it is sent to your Shiny
server.
password_input(
input_id,
label = htmltools::tagList(icon("unlock-alt"), "Password"),
value = "",
style = "",
placeholder = NULL
)
input_id |
The |
label |
Display label for the control, or |
value |
Initial value. |
style |
Character string of in-line CSS to style the input. |
placeholder |
A character string giving the user a hint as to what can be entered into the control. Internet Explorer 8 and 9 do not support this option. |
the UI to create a password input.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.