Andrew Gerrand
c03fd6cc9b
Merge branch 'master' of github.com:golang/oauth2
2014-09-30 07:38:32 +10:00
Andrew Gerrand
040e271ca2
use variadics and fix build tags for App Engine files
2014-09-30 07:38:10 +10:00
Burcu Dogan
271b19bc29
Merge branch 'master' of github.com:golang/oauth2
2014-09-22 08:46:15 -07:00
Burcu Dogan
7ffb9a8fe1
Fixing path.join for URL generation.
2014-09-22 08:37:20 -07:00
Burcu Dogan
f8fee03cb3
Godoc links should seem to be linking to godoc.org
2014-09-18 00:42:53 -07:00
Burcu Dogan
29bcba0a21
Merge pull request #39 from clsung/master
...
Add Linkedin to the providers not supporting Auth headers.
2014-09-11 18:56:33 -07:00
CL Sung
099e4f09b0
Add Linkedin to the providers not supporting Auth headers.
2014-09-11 10:49:49 +08:00
Burcu Dogan
6d51104f2c
Build should use the exact build tag configuration of GAE managed VMs.
2014-09-08 15:05:45 -07:00
Burcu Dogan
bda32de83f
Travis build should keep building appenginevm configuration.
2014-09-08 14:56:32 -07:00
Burcu Dogan
a388976807
Fixing build constraints for GAE and GAE managed runtime.
...
GAE managed VM runtime contains both appengine and appenginevm
build tags. Currently, appengine.go is being built even if user
wants to use the package on managed VM that errors with no
"appengine" package to import.
2014-09-08 13:34:36 -07:00
Burcu Dogan
85a0f4506d
Merge pull request #37 from stacktic/DropboxAuthFix
...
Add Dropbox to the providers not supporting Auth headers.
2014-09-08 09:59:12 -07:00
Burcu Dogan
16c7b8dd8a
Merge pull request #36 from jtolds/master
...
fix token exchange
2014-09-08 09:58:20 -07:00
Arnaud Ysmal
e6396819be
Add Dropbox to the providers not supporting Auth headers.
...
Dropbox does not support mixing URL param and Auth header for authentication but the retrieveToken method forces the client_id to be sent in the URL param.
2014-09-07 19:05:03 +02: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
cb029f4c1f
Fix error message prefix.
2014-09-04 13:33: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
32b8a902e6
client_secret should be optional.
2014-09-04 12:03:06 -07:00
Burcu Dogan
cd4a6ded37
Removing non-required initial Client and Transport values.
2014-09-04 11:58:35 -07:00
Burcu Dogan
9d409b9dbd
Merge branch 'jsonkeyfile'
2014-09-03 19:26:04 -07:00
Burcu Dogan
948919caa0
Merge branch 'httpclient'
2014-09-03 18:04:35 -07:00
Burcu Dogan
331436720f
Adding support for Google Developers Console JSON key files.
2014-09-03 18:02:55 -07:00
Burcu Dogan
9d55d5b30b
Relax AppEngineConfig to allow RoundTrippers.
2014-09-03 17:20:29 -07:00
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