...
1// ExpireDelegationTokenRequest is a request to change the expiry timestamp
2// of a delegation token. Note that a client using a token cannot expire its
3// own token.
4ExpireDelegationTokenRequest => key 40, max version 2, flexible v2+
5 // HMAC is the HMAC of the token to change the expiry timestamp of.
6 HMAC: bytes
7 // ExpiryPeriodMillis changes the delegation token's expiry timestamp to
8 // now + expiry time millis. This can be used to force tokens to expire
9 // quickly, or to allow tokens a grace period before expiry. You cannot
10 // add enough expiry that exceeds the original max timestamp.
11 ExpiryPeriodMillis: int64
12
13// ExpireDelegationTokenResponse is a response to an ExpireDelegationTokenRequest.
14ExpireDelegationTokenResponse =>
15 // ErrorCode is any error that caused the request to fail.
16 ErrorCode: int16
17 // ExpiryTimestamp is the new timestamp at which the delegation token will
18 // expire.
19 ExpiryTimestamp: int64
20 ThrottleMillis(1)
View as plain text