yangzhouhan
1126ae61bf
add a comment
2015-08-14 16:34:09 -07:00
yangzhouhan
c783da2ff9
add a comment
2015-08-14 16:32:38 -07:00
yangzhouhan
25c36604b9
add oauth2 and perrpc interop tests
2015-08-14 16:22:19 -07:00
yangzhouhan
32444cd24d
minor changes
2015-08-14 11:35:15 -07:00
yangzhouhan
41ee26a353
add JWTAccessTokenFromKey
2015-08-14 11:20:13 -07:00
yangzhouhan
5ef857242f
add jwt_token_creds interop test
2015-08-12 18:26:30 -07:00
iamqizhao
075e4a60c3
Switch ALPN/NPN to advertise only h2
2015-07-31 14:21:24 -07:00
Tamir Duberstein
aeca1aff71
Remove OAuth support from `credentials`
...
Fixes #219 .
2015-07-22 22:14:33 -04:00
Tamir Duberstein
c1454617ee
Add credentials/oauth
2015-07-22 20:54:35 -04:00
iamqizhao
ffe2c5d7aa
add h2 into ALPN protocol
2015-05-27 17:33:26 -07:00
iamqizhao
5e4f3d16f2
cleanup2
2015-05-12 18:04:16 -07:00
iamqizhao
3617cd5ab3
revert handshaker changes
2015-05-12 17:59:20 -07:00
Peter Edge
5700d19d0e
Fix golint errors for non-generated code
2015-05-08 21:46:16 +02:00
iamqizhao
54b06c32f6
rename newly added function
2015-05-01 19:12:23 -07:00
iamqizhao
0e38f0687a
provide some info for the gRPC protocol and security protocol
2015-05-01 19:06:46 -07:00
iamqizhao
4078563125
fix comments
2015-05-01 18:53:13 -07:00
iamqizhao
263a0287c9
fix comments
2015-05-01 18:52:19 -07:00
iamqizhao
3b8eba3a28
fix a comment
2015-04-21 17:28:46 -07:00
iamqizhao
dfe197d91f
remove dialing work from TransportAuthenticator
2015-04-21 17:22:15 -07:00
iamqizhao
2cf2d0871b
remove WithNetwork and add WithDialer to have more flexibility on dialing
2015-04-21 16:19:29 -07:00
iamqizhao
3259049490
fix some typos and run gofmt
2015-04-17 13:50:18 -07:00
iamqizhao
94a47542e0
Add application default credentials
2015-04-15 17:24:37 -07:00
iamqizhao
d52d8e2d40
gofmt
2015-04-15 15:42:15 -07:00
iamqizhao
3130172948
fix some comments
2015-04-15 15:40:58 -07:00
iamqizhao
93e2f8140e
add missing comments
2015-04-15 15:37:42 -07:00
iamqizhao
dea407f640
Refactor tlsCreds so that the caller can confgiure a tls.Config completely by itself
2015-04-15 15:35:42 -07:00
David Symonds
f2936c474c
Export a credentials.TokenSource type that wraps an oauth2.TokenSource as a credentials.Credentials.
...
Fixes #153 .
2015-04-08 11:01:03 +10:00
iamqizhao
ac2cbeb2e7
Merge branch 'master' of https://github.com/grpc/grpc-go
2015-03-05 01:47:08 -08:00
Andrew Gerrand
fa9ecddd2c
drop usage of obsolete oauth2.Context
2015-03-05 14:46:56 +11:00
iamqizhao
8304bc408e
addressed some comments
2015-03-04 13:20:21 -08:00
iamqizhao
a5ca6e56d2
Support timeout for grpc.Dial
2015-03-03 17:08:39 -08:00
iamqizhao
07a87c63f2
fix typo
2015-02-26 13:56:10 -08:00
Matt T. Proud
a720ae6f48
Make error conveyance more idiomatic.
...
This commit applies two bulk changes to the grpc error reporting
mechanisms:
(1.) Error strings for errors that originate within grpc are prefixed
with the package name for better clarity for where they originate
since they could percolate up in the users call chains to the
originator.
(2.) Errors that are, in fact, singletons have been converted from
fmt.Errorf to errors.New and assigned as package-level variables.
This bodes particularly well for enabling API customers to elect to
handle these errors upon receipt via equality comparison. This had
been previous impossible with the original API.
Supplementarily, ``gofmt -w -s=true`` has been run on the repository to
cleanup residual defects, and it has detected and repaired a few.
TEST=Manual go test ./...
2015-02-19 13:17:17 +01:00
iamqizhao
1ebe2fc5be
remove a TODO which is not needed
2015-02-18 13:54:39 -08:00
iamqizhao
6148d0a55d
Migrated to the latest google.org/x/oauth2 package and added support for JWT.
2015-02-18 12:02:43 -08:00
David Symonds
3981839a52
Add import comments to grpc packages.
...
This enforces that these packages are used with these import paths.
See http://golang.org/cmd/go/#hdr-Import_path_checking for documentation.
2015-02-09 13:46:16 +11:00
David Symonds
e71095e0ec
Move source files up one level.
...
The top-level directory in this repository is going to be
the main "grpc" package.
2015-02-09 11:33:38 +11:00