inst/server_side_auth_demo/ui.R

library(shiny)
library(googleAuthR)

## ui.R
ui <- fluidPage(title = "googleAuthR Shiny Demo",
  googleAuthUI("loginButton"),
  textInput("url", "Enter URL"),
  actionButton("submit", "Shorten URL"),
  textOutput("short_url")
)

Try the googleAuthR package in your browser

Any scripts or data that you put into this service are public.

googleAuthR documentation built on May 29, 2024, 7:22 a.m.