Commit Graph

334 Commits

Author SHA1 Message Date
Burcu Dogan cf75ced13b Merge branch 'master' of github.com:golang/oauth2 2014-09-03 11:51:08 -07:00
Burcu Dogan 533cae1f5a Add missing license headers. 2014-09-03 11:50:43 -07:00
Burcu Dogan 3561f0ea82 Merge pull request #31 from subosito/new-transport-example
fixed NewTransport example code
2014-09-02 20:45:21 -07:00
Alif Rachmawadi eae9d0e836 removed NewTransport inline example 2014-09-03 08:27:29 +07:00
Burcu Dogan 8524783bd7 Allow configs to be initialised with zero values for Client and Transport. 2014-09-02 14:06:51 -07:00
Alif Rachmawadi e049d530c3 fixed NewTransport example code 2014-09-02 21:17:45 +07:00
Andrew Gerrand 32db53ef55 better error handling in JWT fetchtoken 2014-09-01 14:39:59 +10:00
Burcu Dogan 32b45383ad Managed VM users should depend on http.DefaultTransport by default. 2014-08-31 16:08:13 -07:00
Burcu Dogan 6bb0a5207a Do not assume that http.DefaultClient and http.DefaultTransport is always available. 2014-08-31 15:17:36 -07:00
Burcu Dogan 38c4892682 Merge branch 'privatekey' 2014-08-18 13:11:44 -07:00
Burcu Dogan 03a41b25d4 Don't assume private key to be available on a traditional file system. 2014-08-18 12:49:20 -07:00
Burcu Dogan 3a5e8819eb Rename exchange code to code, document as authorization code. 2014-08-16 21:21:58 -07:00
Burcu Dogan ee77246177 Don't provide a Transport interface but provide a http.RoundTripper implementation. 2014-08-14 10:59:09 -07:00
Burcu Dogan b314823c0b TokenFetcher should not mutate existing tokens. 2014-08-13 16:47:57 -07:00
Burcu Dogan b2a1756f98 Merge branch 'scopes-omit' 2014-08-13 14:05:44 -07:00
Burcu Dogan de4c4313f9 Adding required client_secret credential. 2014-08-13 13:59:53 -07:00
Burcu Dogan f9dc7568c2 Docs improvements, lint error fixes. 2014-08-13 13:40:18 -07:00
Burcu Dogan 03e5fbeae0 Fixing json tags. 2014-08-12 23:42:30 -07:00
Burcu Dogan a9dc52b3d3 Docs, code cleanups. 2014-08-12 19:50:34 -07:00
Burcu Dogan eb7270d354 oauth2: Allow use of arbitrary RSA private keys to sign JWT token retrieving requests. 2014-08-11 17:54:04 -07:00
Burcu Dogan 4c579cbd0d Export exchange.
Allows users to exchange and retrieve a token
without initialising a Transport.
2014-08-11 00:27:43 -07:00
Burcu Dogan 6d8f8ea9d2 Avoid concatenating scope literals. 2014-08-05 12:25:29 -07:00
Burcu Dogan 33dee1ee8d Merge pull request #15 from stacktic/dropbox
Making AccessType, ApprovalPrompt and RedirectURL optional
2014-08-03 19:35:04 -07:00
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