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.2.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
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.2.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
January 29th, 2016
Functions in googleAuthR (0.2.0)
Search functions
error.message
Get the error message
gar_auth
Authorize
googleAuthR
check.Url
Checks Urls are in right format for API request
authReturnCode
Returns the authentication parameter "code" in redirected URLs
is.error
Is this a try error?
is.NullOb
A helper function that tests whether an object is either NULL _or_ a list of NULLs
rmNullObs
Recursively step down into list, removing all such objects
replace.kv
Create a modified list
gar_shiny_getUrl
Get the Shiny Apps URL.
doBatchRequest
Batch Requests
is_shiny
Is this a valid shiny session object?
gar_batch
Turn a list of gar_fetch_functions into batch functions
checkGoogleAPIError
Get Google API errors
gar_shiny_getAuthUrl
Returns the Google authentication URL
Authentication
R6 environment to store authentication credentials
substitute.list
Substitute in a (nested) list
with_shiny
Turn a googleAuthR data fetch function into a Shiny compatible one
gar_batch_walk
Walk data through batches
RFC_convert
Converts RFC3339 to as.Date
parseBatchResponse
Parse batch request
applyDataParseFunction
Apply parsing function if a good response
renderLogin
Render a Google API Authentication Login/logout button
loginOutput
Login/logout Shiny output
checkTokenAPI
Check API data token
get_google_token
Retrieve Google token from environment and configs for httr
createCode
Creates a random character code
makeBatchRequest
Make the batch request inner content
doHttrRequest
Get URL content based on if its Shiny or local
revokeEventObserver
Listens for a user revoking authentication
token_exists
Check if authorization currently in force
googleAuthR
googleAuthR: Easy Authentication with Google OAuth2 APIs
gar_shiny_getToken
Returns the authentication Token.
is_legit_token
Check that token appears to be legitimate
retryRequest
ReTry API requests for certain errors using exponential backoff.
gar_auth_service
JSON service account authentication
split_vector
split a vector on an element
reactiveAccessToken
Create a reactive Google OAuth2 token
postwalk
Walk into a list
gar_api_generator
googleAuthR data fetch function generator