View source: R/shiny-js-signin.R
| googleSignIn | R Documentation |
Shiny Module for use with googleSignInUI. Use when you don't need to call APIs, but would like a login to Shiny.
googleSignIn(input, output, session)
input |
shiny input (must contain |
output |
shiny output (passed by shiny but not used) |
session |
shiny session |
Call via shiny::callModule(googleSignIn, "your_id").
A reactive list with values $id, $name, $email,
$image and $signed_in.
Based on original code by David Kulp
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.