Skip to content

Commit 4f245d2

Browse files
Synchronize grpc-proto's copy of handshaker.proto with internal version. (#146)
1 parent 3816d1f commit 4f245d2

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

grpc/gcp/handshaker.proto

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -108,6 +108,12 @@ message StartClientHandshakeReq {
108108

109109
// (Optional) Maximum frame size supported by the client.
110110
uint32 max_frame_size = 10;
111+
112+
// (Optional) An access token created by the caller only intended for use in
113+
// ALTS connections. The access token that should be used to authenticate to
114+
// the peer. The access token MUST be strongly bound to the ALTS credentials
115+
// used to establish the connection that the token is sent over.
116+
string access_token = 11;
111117
}
112118

113119
message ServerHandshakeParameters {
@@ -118,6 +124,12 @@ message ServerHandshakeParameters {
118124
// (Optional) A list of local identities supported by the server, if
119125
// specified. Otherwise, the handshaker chooses a default local identity.
120126
repeated Identity local_identities = 2;
127+
128+
// (Optional) An access token created by the caller only intended for use in
129+
// ALTS connections. The access token that should be used to authenticate to
130+
// the peer. The access token MUST be strongly bound to the ALTS credentials
131+
// used to establish the connection that the token is sent over.
132+
optional string access_token = 3;
121133
}
122134

123135
message StartServerHandshakeReq {

0 commit comments

Comments
 (0)