feat(authtoken): Add token type to AuthToken

The token type is used in the response from the OIDC
Authenticate method only.
This commit is contained in:
Johan Brandhorst-Satzkorn committed 2022-04-20 13:32:31 -04:00
1 parent 5b71aa6212
commit 0e51f9cc92
2 files changed
+16 -2

No files matched your search

@@ -42,6 +42,9 @@ message AuthToken {
// Output only. The time this Auth Token expires.
google.protobuf.Timestamp expiration_time = 110 [json_name="expiration_time"];
// Output only. The type of this auth token. Either "cookie" or "token".
string token_type = 120 [json_name="token_type"];
// Output only. The available actions on this resource for this user.
repeated string authorized_actions = 300 [json_name="authorized_actions"];
}