micro/server
ben-toogood d621548120
Auth (#1147)
Implement the Auth interface, with JWT and service implementations.

* Update Auth Interface

* Define Auth Service Implementation

* Support Service Auth

* Add Auth Service Proto

* Remove erronious files

* Implement Auth Service Package

* Update Auth Interface

* Update Auth Interface. Add Validate, remove Add/Remove roles

* Make Revoke interface more explicit

* Refactor serializing and deserializing service accounts

* Fix srv name & update interface to be more explicit

* Require jwt public key for auth

* Rename Variables (Resource.ID => Resource.Name & ServiceAccount => Account)

* Implement JWT Auth Package

* Remove parent, add ID

* Update auth imports to v2. Add String() to auth interface
2020-02-03 08:16:02 +00:00
..
grpc fix map race condition in grpc server 2020-02-01 02:52:53 +03:00
mock fix import paths for v2 release 2020-01-30 14:44:40 +03:00
mucp fix import paths for v2 release 2020-01-30 14:44:40 +03:00
proto fix import paths for v2 release 2020-01-30 14:44:40 +03:00
context.go Wait() option now accept *sync.WaitGroup 2019-05-27 21:17:57 +08:00
extractor_test.go fix import paths for v2 release 2020-01-30 14:44:40 +03:00
extractor.go fix import paths for v2 release 2020-01-30 14:44:40 +03:00
handler.go add AutoAck support for Server 2019-05-24 20:06:27 +08:00
options.go Auth (#1147) 2020-02-03 08:16:02 +00:00
rpc_codec_test.go fix import paths for v2 release 2020-01-30 14:44:40 +03:00
rpc_codec.go fix import paths for v2 release 2020-01-30 14:44:40 +03:00
rpc_event.go fix import paths for v2 release 2020-01-30 14:44:40 +03:00
rpc_handler.go fix import paths for v2 release 2020-01-30 14:44:40 +03:00
rpc_request.go fix import paths for v2 release 2020-01-30 14:44:40 +03:00
rpc_response.go fix import paths for v2 release 2020-01-30 14:44:40 +03:00
rpc_router.go fix import paths for v2 release 2020-01-30 14:44:40 +03:00
rpc_server.go fix import paths for v2 release 2020-01-30 14:44:40 +03:00
rpc_stream_test.go fix import paths for v2 release 2020-01-30 14:44:40 +03:00
rpc_stream.go fix import paths for v2 release 2020-01-30 14:44:40 +03:00
rpc_util.go Fix rpc go routine leak 2019-11-27 17:12:07 +00:00
server.go fix import paths for v2 release 2020-01-30 14:44:40 +03:00
subscriber.go fix import paths for v2 release 2020-01-30 14:44:40 +03:00
wrapper.go move wrapper files 2018-04-14 19:24:17 +01:00