Commit Graph

9 Commits

Author SHA1 Message Date
Heng Xiong 0dab02dbaa Merge pull request #112 from hxiong388/new-token-uri
Upgrade to new token URI
2017-07-17 11:47:53 -07:00
Heng Xiong f2b5b8ac98 Upgrade to new token URI 2017-07-17 11:14:06 -07:00
Kazuhiro Serizawa 40f4e166a2 Use retry_with_error in UserRefreshCredentials#revoke! 2017-07-14 07:53:35 +09:00
nicholas shook 82a4f8520c added ruby 2.3 compatability
also:

* updated rubocop and applied styling
* made small test refactorings (using the expect block notation)
* made a small refactor to remove an unnecessary ``return credentials``
* bumped the version
2016-07-13 15:45:46 -07:00
Steven Bazyl e903a12563 Base version of 3LO support. 2015-10-14 13:54:03 -07:00
David Wilkie 15fbf92199 Fix bug where loading credentials from ENV doesn't set the credentials in the UserRefreshCredentials 2015-06-26 14:31:09 +07:00
Herbert Siojo 5061fb5add Enables reading credentials from env vars.
- ServiceAccountCredentials, ServiceAccountJwtHeaderCredentials
and UserRefreshCredentials initializers now take keyword args
via options hash.

- In `credentials_loader.rb`, refactored env var checking into
private methods

- Updated tests & added new tests.

- Fixed existing test for #from_well_known_path 'fails if
the file is invalid', where `from_env` was called instead of
`from_well_known_path`.

- Fixed rubocop errors I introduced, but two existing ones remain.

- Added entry to changelog.

- Fixed rubocop errors from code containing parallel assignments

- Updated rubocop_todo.yml to ignore parallel assignments and
trailing underscore assignments.
2015-05-21 13:38:19 -07:00
Tim Emiola bd97c23d9f Make the scope optional 2015-03-17 16:46:55 -07:00
Tim Emiola 3bd8751519 Adds a credential class that supports User Refresh Tokens 2015-03-06 15:46:59 -08:00