New reference class definition and helper functions for automatically refreshing OAuth2.0 access tokens created by httr.
Merge branch 'master' into OAuth2.0-reference-class
Increased margin threshold for token expiry to 30 seconds.
Checking for empty character vector (length < 1 or NULL) for specified file to save token to.
Added oauth-session.r to collate field
Documentation updates and exporting new_oauth function in NAMESPACE
Do not simplify JSON response parsed by RJSONIO's fromJSON function. Fixes tests where $ was not working due to response being simplified into an atomic vector instead of being a list.
Adding methods package to import list to resolve check package test requirements
Exporting the oauth2.0_GET function
Fix conditional statement to test for file argument and whether that file exists.
Renaming of symbols for consistency with funtion arguments.
No default for margin in oauth2.0 reference class defintion, must be provided by new_oauth function.
Documentation updates.
Updating margin from 5 seconds to 30 seconds
Documentation updates
Allowing for key to also be stored in system environment variables along with secret.
Renamed argument oauth2.0_connection to oauth for function oauth2.0_GET. Added optional argument handle. Updated documentation
Fixed logic for checking for existing OAuth token file.
Fixed logic for checking for oauth client key and loading from system environment if null
Changing to simplifywithnames instead of just simplify
Using simplifiedWithNames as an optional argument to content, defaulting to FALSE instead of RJSONIO's default of TRUE
Removing unwanted messages
Assert that access_token contains a use_by of length 1
Removal of unneeded comma