Skip to content

Commit 5ffa428

Browse files
committed
litrpc: add revoked_at field to Session proto
1 parent b73c369 commit 5ffa428

File tree

2 files changed

+80
-53
lines changed

2 files changed

+80
-53
lines changed

litrpc/lit-sessions.pb.go

Lines changed: 70 additions & 53 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

litrpc/lit-sessions.proto

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -92,6 +92,16 @@ message Session {
9292
MacaroonRecipe macaroon_recipe = 12;
9393

9494
string account_id = 13;
95+
96+
/*
97+
The unix timestamp indicating the time at which the session was revoked.
98+
Note that this field has not been around since the beginning and so it
99+
could be the case that a session has been revoked but that this field
100+
will not have been set for that session. Therefore, it is suggested that
101+
readers should not assume that if this field is zero that the session is
102+
not revoked. Readers should instead first check the session_state field.
103+
*/
104+
uint64 revoked_at = 14 [jstype = JS_STRING];
95105
}
96106

97107
message MacaroonRecipe {

0 commit comments

Comments
 (0)