forked from istio/ztunnel
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
auth: async-ify and clean up (istio#1321)
The Interceptor usage in tonic is not really useful for us since we make our own client for other reasons (tls, etc) so we can already easily insert some headers. It also makes us do some awkward DefaultIncoming stuff, and doesn't allow async. This moves the auth to async, which is generally a good idea and more flexible, and cleans up some of the cruft
- Loading branch information
1 parent
3558a29
commit 0b69746
Showing
4 changed files
with
43 additions
and
87 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters