providers_ui: UI for the Social Sign In authentication providers' buttons

View source: R/providers_ui.R

providers_uiR Documentation

UI for the Social Sign In authentication providers' buttons

Description

Creates the HTML UI of the "Sign in with *" buttons. These buttons are only necessary if you enable Social Sign In via the sign_in_providers argument passed to polished_config.

Usage

providers_ui(
  ns,
  sign_in_providers = c("google", "email"),
  title = "Sign In",
  fancy = TRUE
)

Arguments

ns

the Shiny namespace function created with shiny::NS().

sign_in_providers

a character vector of sign in providers to enable. Valid values are "google" "email", "microsoft", and/or "facebook". Defaults to "email".

title

The title to be used above the provider buttons. Set to NULL to not include

fancy

Should the buttons be large and colorful?

Value

the HTML UI of the "Sign in with *" buttons.


polished documentation built on Feb. 16, 2023, 8:02 p.m.