Commit Graph

89 Commits

Author SHA1 Message Date
Burcu Dogan 533cae1f5a Add missing license headers. 2014-09-03 11:50:43 -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
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 03a41b25d4 Don't assume private key to be available on a traditional file system. 2014-08-18 12:49:20 -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 f9dc7568c2 Docs improvements, lint error fixes. 2014-08-13 13:40:18 -07:00
Burcu Dogan 6d8f8ea9d2 Avoid concatenating scope literals. 2014-08-05 12:25:29 -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
Johan Euphrosine 93ad3f4a9e remove cache 2014-07-08 22:27:34 -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 fe0eecc41c Some cleanup, adding Google web flow example. 2014-06-24 13:10:10 -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 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 abc4bcd940 Reverting the license back to the original. 2014-05-17 17:26:57 +02:00
Burcu Dogan 643fd905db Avoid returning non-existent errors. 2014-05-15 12:09:36 +02:00
Burcu Dogan 6c54258546 Package will be available on github.com/golang/oauth2. 2014-05-15 11:53:56 +02:00
Burcu Dogan c0f71b6bc4 Fixing import path. 2014-05-14 12:05:11 +03:00
Burcu Dogan d7c8bcd0d0 oauth2: adding license. 2014-05-13 21:06:46 +03:00
Burcu Dogan 223212dc91 Adding token fetching implementing for Compute Engine. 2014-05-11 18:06:03 +03:00
Burcu Dogan c1d53e71ad Minor docs fix. 2014-05-10 14:50:51 +03:00
Burcu Dogan 1b3c225070 oauth2: removing unnecessary interface definitions. 2014-05-10 14:43:21 +03:00
Burcu Dogan 2af52e700e oauth2: fixing abstractions to be able to provide external token fetchers 2014-05-10 09:41:39 +02:00
Burcu Dogan c32debaa6f Initial commit 2014-05-09 23:05:13 +02:00