Compare commits

...

1 commit

Author SHA1 Message Date
a8344d964d [nspcc-dev#241] Add impersonate field to bearer token
Signed-off-by: Denis Kirillov <d.kirillov@yadro.com>
2023-02-21 11:18:35 +03:00

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"];