Learn R Programming

polished (version 0.8.1)

password_input: A modification of shiny::passwordInput

Description

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.

Usage

password_input(
  input_id,
  label = htmltools::tagList(icon("unlock-alt"), "Password"),
  value = "",
  style = "",
  placeholder = NULL
)

Value

the UI to create a password input.

Arguments

input_id

The input slot that will be used to access the value.

label

Display label for the control, or NULL for no label.

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.