Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(58)

Unified Diff: tokenserver/api/oauth_token_grant.proto

Issue 2987383002: tokenserver: Protos for service account rules. (Closed)
Patch Set: tokenserver: Protos for service account rules. Created 3 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « tokenserver/api/minter/v1/token_minter.pb.go ('k') | tokenserver/api/oauth_token_grant.pb.go » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tokenserver/api/oauth_token_grant.proto
diff --git a/tokenserver/api/oauth_token_grant.proto b/tokenserver/api/oauth_token_grant.proto
index c98841f1c92fdb226135891e76ec1653ab057ff0..f98052fe209431ef10c72acd4d3a4932fea2a609 100644
--- a/tokenserver/api/oauth_token_grant.proto
+++ b/tokenserver/api/oauth_token_grant.proto
@@ -27,17 +27,19 @@ message OAuthTokenGrantBody {
// A string of the form "user:<email>".
string service_account = 2;
- // Who requested this token and who can pass it to MintOAuthTokenViaGrant.
+ // Who can pass this token to MintOAuthTokenViaGrant to get an OAuth token.
//
// A string of the form "user:<email>". On Swarming, this is Swarming's own
// service account name.
- string wielder_identity = 3;
+ string proxy = 3;
// An end user that wants to act as the service account (perhaps indirectly).
//
// A string of the form "user:<email>". On Swarming, this is an identity of
// a user that posted the task.
- string end_user_identity = 4;
+ //
+ // This is informational field currently (not used in authorization checks).
+ string end_user = 4;
// When the token was generated (and when it becomes valid).
google.protobuf.Timestamp issued_at = 5;
« no previous file with comments | « tokenserver/api/minter/v1/token_minter.pb.go ('k') | tokenserver/api/oauth_token_grant.pb.go » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698