Skip to content

Commit

Permalink
Synchronize grpc-proto's copy of handshaker.proto with internal version.
Browse files Browse the repository at this point in the history
  • Loading branch information
matthewstevenson88 committed Mar 7, 2024
1 parent 3816d1f commit b7a5172
Showing 1 changed file with 12 additions and 0 deletions.
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

0 comments on commit b7a5172

Please sign in to comment.