[nspcc-dev#241] Add impersonate field to bearer token

Signed-off-by: Denis Kirillov <d.kirillov@yadro.com>
This commit is contained in:
Denis Kirillov 2023-02-21 11:18:35 +03:00
parent 90be159ed4
commit a8344d964d

View file

@ -213,6 +213,10 @@ message BearerToken {
}
// Token expiration and valid time period parameters
TokenLifetime lifetime = 3 [json_name="lifetime"];
// AllowImpersonate flag to consider token signer as request owner.
// If this field is true extended ACL table in token body isn't processed.
bool AllowImpersonate = 4 [json_name="allow_impersonate"];
}
// Bearer Token body
Body body = 1 [json_name="body"];