Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added an OAuth module that provides methods for getting access tokens #1

Merged
merged 5 commits into from
Apr 30, 2015

Conversation

akilb
Copy link

@akilb akilb commented Apr 30, 2015

No description provided.

- Pulled in the ROAR gem so that we can map json responses to models
easily
- Added Utils module with a method for performing an HTTP request and
then mapping the json response to an instance of a class
- Added an OAuth module that provides methods for making requests to get
access tokens and returning instances of the OAuthToken class
- Adds Default and Configuration modules that provide configuration
options for Client, falling back to default values if they are not set
- Added functionality to Client for validating credentials it is created
with
- Modified the OAuth module to add a basic auth header when making
access token requests
- Added method for getting an access token with the client_credentials
grant
- Added a section in the README that describes how to workaround SSL
certificate problems on Windows
@akilb akilb self-assigned this Apr 30, 2015
@coveralls
Copy link

Coverage Status

Coverage remained the same at 100.0% when pulling d8c7c65 on oauth into c55142b on master.

@coveralls
Copy link

Coverage Status

Coverage decreased (-0.68%) to 99.32% when pulling d8c7c65 on oauth into c55142b on master.

akilb pushed a commit that referenced this pull request Apr 30, 2015
Added an OAuth module that provides methods for getting access tokens
@akilb akilb merged commit 97d1fd8 into master Apr 30, 2015
@akilb akilb deleted the oauth branch April 30, 2015 22:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants