Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Synchronize grpc-proto's copy of handshaker.proto with internal version. #146

Merged
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
12 changes: 12 additions & 0 deletions grpc/gcp/handshaker.proto
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,12 @@ message StartClientHandshakeReq {

// (Optional) Maximum frame size supported by the client.
uint32 max_frame_size = 10;

// (Optional) An access token created by the caller only intended for use in
// ALTS connections. The access token that should be used to authenticate to
// the peer. The access token MUST be strongly bound to the ALTS credentials
// used to establish the connection that the token is sent over.
string access_token = 11;
}

message ServerHandshakeParameters {
Expand All @@ -118,6 +124,12 @@ message ServerHandshakeParameters {
// (Optional) A list of local identities supported by the server, if
// specified. Otherwise, the handshaker chooses a default local identity.
repeated Identity local_identities = 2;

// (Optional) An access token created by the caller only intended for use in
// ALTS connections. The access token that should be used to authenticate to
// the peer. The access token MUST be strongly bound to the ALTS credentials
// used to establish the connection that the token is sent over.
optional string access_token = 3;
}

message StartServerHandshakeReq {
Expand Down