Burcu Dogan
c048af9da2
Add Cacher interface.
2014-11-13 15:41:14 +11:00
Burcu Dogan
0cf6f9b144
Introduce an option function type
...
- Reduce the duplicate code by merging the flows and
determining the flow type by looking at the provided options.
- Options as a function type allows us to validate an individual
an option in its scope and makes it easier to compose the
built-in options with the third-party ones.
2014-11-08 09:46:26 +11:00
Burcu Dogan
0ae3d4edc9
Allow users to get extra fields from a token response.
2014-10-27 20:01:11 -07:00
Burcu Dogan
97a89b3be5
Access type and approval prompt should be set at URL generation.
2014-09-04 23:30:06 -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
a9dc52b3d3
Docs, code cleanups.
2014-08-12 19:50:34 -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
ad322e7e30
Caches should return an error instead of invoking a handler.
2014-06-22 15:38:39 -07: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
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
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
abc4bcd940
Reverting the license back to the original.
2014-05-17 17:26:57 +02:00
Burcu Dogan
d7c8bcd0d0
oauth2: adding license.
2014-05-13 21:06:46 +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