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
JT Olds
8551f9eee2
some pr review fixes
2014-09-06 19:03:51 -06:00
JT Olds
e68820a209
fix token exchange
2014-09-06 17:39:43 -06: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
bb8496880f
Don't assume optional fields are required and use Basic Auth if available.
...
See https://github.com/golang/oauth2/issues/33
2014-09-04 13:28:18 -07:00
Burcu Dogan
de4c4313f9
Adding required client_secret credential.
2014-08-13 13:59:53 -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
70bd497612
Fail during conf init if auth or token URL is not valid.
2014-07-20 16:56:38 -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
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
1b3c225070
oauth2: removing unnecessary interface definitions.
2014-05-10 14:43:21 +03:00
Burcu Dogan
1e1d5bfc0f
oauth2: fixing broken test.
2014-05-10 13:50:23 +03:00
Burcu Dogan
c32debaa6f
Initial commit
2014-05-09 23:05:13 +02:00