Add token uuid to return
All checks were successful
ci/woodpecker/push/dart-generate Pipeline was successful
ci/woodpecker/push/go-generate Pipeline was successful
ci/woodpecker/push/js-generate Pipeline was successful
ci/woodpecker/push/lint Pipeline was successful
ci/woodpecker/push/repo-checks Pipeline was successful

Signed-off-by: Nikolai Rodionov <allanger@badhouseplants.net>
This commit is contained in:
2026-05-17 22:07:33 +02:00
parent 5121916c38
commit dfea0e6782
2 changed files with 6 additions and 2 deletions

View File

@@ -387,6 +387,7 @@ Protobuf definitions for the accounts service.
| Field | Type | Label | Description |
| ----- | ---- | ----- | ----------- |
| token_uuid | [TokenUUID](#tokens-v1-TokenUUID) | | |
| token_value | [TokenValue](#tokens-v1-TokenValue) | | |
@@ -511,6 +512,7 @@ Protobuf definitions for the accounts service.
| Field | Type | Label | Description |
| ----- | ---- | ----- | ----------- |
| token_uuid | [TokenUUID](#tokens-v1-TokenUUID) | | |
| token_value | [TokenValue](#tokens-v1-TokenValue) | | |

View File

@@ -71,7 +71,8 @@ message CreateTokenRequest {
}
message CreateTokenResponse {
TokenValue token_value = 4;
TokenUUID token_uuid = 1;
TokenValue token_value = 2;
}
message UpdateTokenRequest {
@@ -95,7 +96,8 @@ message RegenerateTokenRequest {
}
message RegenerateTokenResponse {
TokenValue token_value = 1;
TokenUUID token_uuid = 1;
TokenValue token_value = 2;
}
message GetTokenRequest {