Commit Graph

411 Commits

Author SHA1 Message Date
Arnaud Ysmal 87013cb7c2 Make AccessType, ApprovalPrompt and RedirectURL optional. 2014-07-31 21:06:10 +02:00
Burcu Dogan 067c73f77e Clone authURL. 2014-07-21 16:44:58 -07:00
Burcu Dogan 4ad15bb1fc Remove named return values. 2014-07-20 21:07:57 -07:00
Burcu Dogan 70bd497612 Fail during conf init if auth or token URL is not valid. 2014-07-20 16:56:38 -07:00
Burcu Dogan 7935ece62b Export Transport to allow default transport to be configurable. 2014-07-14 10:59:30 -07:00
Burcu Dogan 6b4f2ed2ce Use default client rather than a new client instance. 2014-07-14 10:26:21 -07:00
Burcu Dogan 648dd50ab3 Revert "App Engine Managed VMs should depend on url fetcher."
This reverts commit 4901e89da7.
2014-07-14 10:21:39 -07:00
Burcu Dogan 4901e89da7 App Engine Managed VMs should depend on url fetcher. 2014-07-14 10:04:48 -07:00
Burcu Dogan 0f597d5ad4 oauth2: don't use http.DefaultTransport.
http.DefaultTransport is not available on App Engine.
2014-07-11 10:57:28 -07:00
Burcu Dogan 958c47866e Add build status. 2014-07-09 16:06:12 -07:00
Burcu Dogan fc96e1369a Merge branch 'master' of github.com:rakyll/oauth2 2014-07-09 16:04:05 -07:00
Burcu Dogan 26b7d82d9d Merge pull request #11 from proppy/master
remove cache
2014-07-09 14:08:38 -07:00
Burcu Dogan c880978688 Adding travis build file. 2014-07-09 11:07:50 -07:00
Johan Euphrosine 93ad3f4a9e remove cache 2014-07-08 22:27:34 -07:00
Burcu Dogan e62c791d44 Making google package godoc more visible. 2014-07-06 23:42:20 -07:00
Burcu Dogan 5501212e88 Merge branch 'readme' 2014-06-27 17:04:43 -07:00
Burcu Dogan de1f5a349e Dont export exchange. 2014-06-26 17:27:53 -07:00
Burcu Dogan 45a1111912 Add instructions for contributing. 2014-06-24 16:00:24 -07:00
Burcu Dogan dd339c2741 Add README. Fixes #2. 2014-06-24 15:55:10 -07:00
Burcu Dogan 0221bdd0c9 Adding TODO to remove dummy tests after go1.4. 2014-06-24 14:53:39 -07:00
Burcu Dogan cb989650ab Fix examples. 2014-06-24 14:28:46 -07:00
Burcu Dogan 49766fd328 Add app engine and compute engine examples. 2014-06-24 13:27:04 -07:00
Burcu Dogan f156f2868e Handle scan error. 2014-06-24 13:26:45 -07:00
Burcu Dogan fe0eecc41c Some cleanup, adding Google web flow example. 2014-06-24 13:10:10 -07:00
Burcu Dogan c4d44ca3c9 Add examples for regular and JWT configs and transport init. 2014-06-24 12:44:20 -07:00
Burcu Dogan ad322e7e30 Caches should return an error instead of invoking a handler. 2014-06-22 15:38:39 -07:00
Burcu Dogan 8387534dd5 Use Errorfs to fail the tests. 2014-06-22 15:07:44 -07:00
Burcu Dogan 6ee9c84a7b App Engine implementations should use the cached transport. 2014-06-22 14:46:15 -07:00
Burcu Dogan ea046b80de Merge branch 'master' into cache 2014-06-22 14:42:28 -07:00
Burcu Dogan 7a2df5bea3 Add docs. 2014-06-22 14:39:35 -07:00
Burcu Dogan a443e46636 Make app engine main implementation godoced. 2014-06-20 14:44:24 -07:00
Burcu Dogan 8a105beb6a Add tests. 2014-06-17 17:22:06 +02:00
Burcu Dogan db2d8759b4 Add docs for NewAuthorizedTransportWithCache. 2014-06-17 16:24:27 +02:00
Burcu Dogan 4337573be3 oauth2: perform caching ops at the transport level 2014-06-17 16:09:09 +02:00
Burcu Dogan bf10685289 Adding app engine implementations. 2014-06-17 15:53:08 +02:00
Burcu Dogan 5c1195ac3f Constructor can't return an error for Compute Engine confs. 2014-05-30 13:02:54 +02:00
Burcu Dogan 075fdd8e10 Fix oauth2's import path. 2014-05-30 12:39:43 +02:00
Burcu Dogan 904252a9e8 ComputeEngineConfig should implement TokenFetcher. 2014-05-27 14:37:57 +02:00
Burcu Dogan 13179d7d8a Switch to google.golang.org based import path. 2014-05-27 14:37:35 +02:00
Burcu Dogan 002375a1dd Removing unnecessary option getters. 2014-05-26 17:29:56 +02:00
Burcu Dogan 4b558944a3 Provide missing docs for Cache interface and transport constructors. 2014-05-26 16:47:46 +02:00
Burcu Dogan c376bb1dac JWTConfig should provide a cached transport constructor. 2014-05-26 15:20:26 +02:00
Burcu Dogan 58513eb0ea Provide a transport constructor for transporters with a cache. 2014-05-26 14:45:41 +02:00
Burcu Dogan 909f098dcd Cache read operation should be handled during construction. 2014-05-26 11:53:51 +02:00
Burcu Dogan 6bb3577bf0 Fixing styling issues for caching. 2014-05-22 14:33:36 +02:00
Burcu Dogan 0476447419 Moving error handlers to the cache implementations. 2014-05-21 15:56:44 +02:00
Burcu Dogan ef33919251 License fix. 2014-05-21 15:55:21 +02:00
Burcu Dogan dd66946789 Merge branch 'cache' of github.com:rakyll/oauth2 into cache 2014-05-21 15:24:41 +02:00
Burcu Dogan 2e00ad50b1 Authorized transport should read from cache and write to cache. 2014-05-19 00:20:42 +02:00
Burcu Dogan 227bfbf02f Introduction of cache interface and a file cacher. 2014-05-19 00:14:56 +02:00