feat: add auth to grpc handler (#1051)

* chore: get header in grpc & temp save

* chore: change authscheme to include data str

* chore: add auth to grpc flight handler

* chore: add unit test & hold for now since grpc api doesnt accept req input

* chore: minor change

* chore: minor change

* chore: add flight context to database interface

* chore: add test

* chore: update proto version & fix cr issue

* chore: add test

* chore: minor update
This commit is contained in:
shuiyisong
2023-02-22 15:20:10 +08:00
committed by GitHub
parent 390e9095f6
commit fb2e0c7cf3
15 changed files with 357 additions and 45 deletions

View File

@@ -89,6 +89,7 @@ impl Services {
Ok(Self {
grpc_server: GrpcServer::new(
ServerGrpcQueryHandlerAdaptor::arc(instance),
None,
grpc_runtime,
),
mysql_server,