| OLD | NEW |
| 1 // Copyright 2015 The LUCI Authors. All rights reserved. | 1 // Copyright 2015 The LUCI Authors. All rights reserved. |
| 2 // Use of this source code is governed by the Apache v2.0 license that can be | 2 // Use of this source code is governed under the Apache License, Version 2.0 |
| 3 // found in the LICENSE file. | 3 // that can be found in the LICENSE file. |
| 4 | 4 |
| 5 package components.auth.proto.delegation; | 5 package components.auth.proto.delegation; |
| 6 | 6 |
| 7 | 7 |
| 8 // Signed serialized list of subtokens. This message itself is mostly | 8 // Signed serialized list of subtokens. This message itself is mostly |
| 9 // an envelope that carries the signature. The meat of the token is in | 9 // an envelope that carries the signature. The meat of the token is in |
| 10 // SubtokenList (stored in serialized_subtoken_list field). | 10 // SubtokenList (stored in serialized_subtoken_list field). |
| 11 message DelegationToken { | 11 message DelegationToken { |
| 12 // Serialized SubtokenList message with at least one subtoken. It's signature | 12 // Serialized SubtokenList message with at least one subtoken. It's signature |
| 13 // is stored in pkcs1_sha256_sig field. Required. | 13 // is stored in pkcs1_sha256_sig field. Required. |
| (...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 80 // WHERE the token is valid. List of services (specified as service | 80 // WHERE the token is valid. List of services (specified as service |
| 81 // identities, e.g. "service:app-id") that can accept this token. | 81 // identities, e.g. "service:app-id") that can accept this token. |
| 82 // "All services" if empty. | 82 // "All services" if empty. |
| 83 repeated string services = 6; | 83 repeated string services = 6; |
| 84 | 84 |
| 85 // If this token was minted on some else's behalf (i.e. issuer_id field was | 85 // If this token was minted on some else's behalf (i.e. issuer_id field was |
| 86 // provided externally) stores an identify of whoever initiated the minting | 86 // provided externally) stores an identify of whoever initiated the minting |
| 87 // request. Mostly for informational purposes. Optional field. | 87 // request. Mostly for informational purposes. Optional field. |
| 88 optional string impersonator_id = 7; | 88 optional string impersonator_id = 7; |
| 89 } | 89 } |
| OLD | NEW |