Learn R Programming

⚠️There's a newer version (2.0.2.1) of this package.Take me there.

googleAuthR (version 0.1.0)

Easy Authentication with Google OAuth2 APIs

Description

Create R functions that interact with OAuth2 Google APIs easily, with auto-refresh and Shiny compatibility.

Copy Link

Version

Install

install.packages('googleAuthR')

Monthly Downloads

40,909

Version

0.1.0

License

MIT + file LICENSE

Issues

Pull Requests

Stars

Forks

Maintainer

Mark Edmondson

Last Published

August 18th, 2015

Functions in googleAuthR (0.1.0)

googleAuthR

googleAuthR: Easy Authentication with Google OAuth2 APIs
Authentication

R6 environment to store authentication credentials
RFC_convert

Converts RFC3339 to as.Date
is_legit_token

Check that token appears to be legitimate
doHttrRequest

Get URL content based on if its Shiny or local
gar_shiny_getUrl

Get the Shiny Apps URL.
checkGoogleAPIError

Get Google API errors
gar_shiny_getToken

Returns the authentication Token.
postwalk

Walk into a list
gar_api_generator

googleAuthR data fetch function generator
checkTokenAPI

Check API data token
check.Url

Checks Urls are in right format for API request
createCode

Creates a random character code
gar_shiny_getAuthUrl

Returns the Google authentication URL
renderLogin

Render a Google API Authentication Login/logout button
substitute.list

Substitute in a (nested) list
gar_auth

Authorize googleAuthR
is_shiny

Is this a valid shiny session object?
with_shiny

Turn a googleAuthR data fetch function into a Shiny compatible one
loginOutput

Login/logout Shiny output
get_google_token

Retrieve Google token from environment and configs for httr
replace.kv

Create a modified list
is.error

Is this a try error?
token_exists

Check if authorization currently in force
authReturnCode

Returns the authentication parameter "code" in redirected URLs
reactiveAccessToken

Create a reactive Google OAuth2 token