-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Convert
RegisterUsingToken
RPC from HTTP to gRPC (#47853)
* Add proto changews for shifting RegisterUsingToken to gRPC * Implement RegisterUsingToken RPC and client fallback * Add methods to `api/client` * Adjust join/register code to try new API first and fallback to old * Rejig JoinServerGRPCServer to invoke auth.Server * Tidy up some code duplication * Fix broken build * Fix TestRegisterBot_RemoteAddr * Fix TestServer_RegisterUsingTPMMethod * Add test for new RegisterUsingToken gRPC RPC * Remove unused helper function * Fix test * Walk back switch to gRPC endpoint for registration via proxy * Remove unused code
- Loading branch information
1 parent
1396179
commit bad3497
Showing
18 changed files
with
310 additions
and
156 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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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
Oops, something went wrong.