etcd/auth
Gyuho Lee 1f191a0e34 auth: use NewIncomingContext for "WithRoot"
"WithRoot" is only used within local node, and
"AuthInfoFromCtx" expects token from incoming context.
Embed token with "NewIncomingContext" so that token
can be found in "AuthInfoFromCtx".

Signed-off-by: Gyuho Lee <gyuhox@gmail.com>
2017-12-14 21:45:16 -08:00
..
authpb *: regenerate protobuf, grpc-gateway 2017-12-07 21:31:13 -08:00
doc.go *: add missing godoc package descriptions 2016-05-27 15:15:26 -07:00
jwt.go *: replace 'golang.org/x/net/context' with 'context' 2017-09-07 13:39:42 -07:00
jwt_test.go auth: add JWT tests 2017-06-07 16:49:02 -07:00
range_perm_cache.go auth, adt: introduce a new type BytesAffineComparable 2017-04-05 13:17:24 +09:00
range_perm_cache_test.go auth, adt: introduce a new type BytesAffineComparable 2017-04-05 13:17:24 +09:00
simple_token.go auth, etcdserver: follow the correct usage of context 2017-11-21 15:31:19 +09:00
simple_token_test.go auth, etcdserver: follow the correct usage of context 2017-11-21 15:31:19 +09:00
store.go auth: use NewIncomingContext for "WithRoot" 2017-12-14 21:45:16 -08:00
store_test.go auth: use NewIncomingContext for "WithRoot" 2017-12-14 21:45:16 -08:00