Update token metadata

Signed-off-by: Nikolai Rodionov <allanger@badhouseplants.net>
This commit is contained in:
2026-05-14 17:22:00 +02:00
parent abe4f26370
commit 7d655b593b
2 changed files with 111 additions and 17 deletions

View File

@@ -29,9 +29,13 @@ message TokenMetadata {
string name = 1;
// Token expiration timestamp
google.protobuf.Timestamp expires_at = 2;
// When the token was used the last time
google.protobuf.Timestamp last_used_at = 3;
// When was the current token generated
google.protobuf.Timestamp generated_at = 4;
// When was the current token entry created
google.protobuf.Timestamp created_at = 5;
// When was the token revoked
google.protobuf.Timestamp revoked_at = 6;
}