RDocumentation
Moon
Learn R
Search all packages and functions
⚠️
There's a newer version (2.0.0) of this package.
Take me there.
googleAuthR (version 0.3.0)
Easy Authentication with Google OAuth2 API
Description
Create R functions that interact with OAuth2 Google APIs easily, with auto-refresh and Shiny compatibility.
Copy Link
Copy
Link to current version
Version
Version
2.0.0
1.4.1
1.4.0
1.3.1
1.3.0
1.2.1
1.1.1
1.1.0
1.0.0
0.8.1
0.8.0
0.7.0
0.6.3
0.6.2
0.6.1
0.6.0
0.5.1
0.3.1
0.3.0
0.2.0
0.1.1
0.1.0
Down Chevron
Install
install.packages('googleAuthR')
Monthly Downloads
17,721
Version
0.3.0
License
MIT + file LICENSE
Issues
44
Pull Requests
0
Stars
170
Forks
54
Repository
https://github.com/MarkEdmondson1234/googleAuthR
Maintainer
Mark Edmondson
Last Published
May 9th, 2016
Functions in googleAuthR (0.3.0)
Search functions
gar_auth
Authorize
googleAuthR
Authentication
R6 environment to store authentication credentials
gar_batch_walk
Walk data through batches
is.NullOb
A helper function that tests whether an object is either NULL _or_ a list of NULLs
gar_shiny_getToken
Returns the authentication Token.
parseBatchResponse
Parse batch request
createCode
Creates a random character code
checkTokenAPI
Check API data token
doBatchRequest
Batch Requests
postwalk
Walk into a list
is_legit_token
Check that token appears to be legitimate
gar_gadget
Gadget for easy authentication
makeBatchRequest
Make the batch request inner content
gar_auth_service
JSON service account authentication
token_exists
Check if authorization currently in force
renderLogin
Render a Google API Authentication Login/logout button
reactiveAccessToken
Create a reactive Google OAuth2 token
authReturnCode
Returns the authentication parameter "code" in redirected URLs
RFC_convert
Converts RFC3339 to as.Date
gar_shiny_getAuthUrl
Returns the Google authentication URL
myMessage
Customer message log level
gar_batch
Turn a list of gar_fetch_functions into batch functions
substitute.list
Substitute in a (nested) list
rmNullObs
Recursively step down into list, removing all such objects
revokeEventObserver
Listens for a user revoking authentication
checkGoogleAPIError
Get Google API errors
gar_shiny_getUrl
Get the Shiny Apps URL.
doHttrRequest
Get URL content based on if its Shiny or local
error.message
Get the error message
gar_api_generator
googleAuthR data fetch function generator
check.Url
Checks Urls are in right format for API request
loginOutput
Login/logout Shiny output
with_shiny
Turn a googleAuthR data fetch function into a Shiny compatible one
split_vector
split a vector on an element
get_google_token
Retrieve Google token from environment and configs for httr
is_shiny
Is this a valid shiny session object?
is.error
Is this a try error?
replace.kv
Create a modified list
googleAuthUI
A Login button (Shiny Module)
applyDataParseFunction
Apply parsing function if a good response
googleAuth
Server side google auth (Shiny Module)
googleAuthR
googleAuthR: Easy Authentication with Google OAuth2 APIs
retryRequest
ReTry API requests for certain errors using exponential backoff.