- add: Refresh Session call to actually refresh the cache session.

This commit is contained in:
2025-03-21 23:23:38 -04:00
parent 4046f56191
commit 9e984d2aa8
5 changed files with 68 additions and 6 deletions

View File

@@ -4,6 +4,7 @@ package session_db_api;
service SessionService {
rpc GetSession(GetSessionRequest) returns (GetSessionResponse);
rpc RefreshSession(RefreshSessionRequest) returns (RefreshSessionResponse);
}
message GetSessionRequest {
@@ -13,4 +14,12 @@ message GetSessionRequest {
message GetSessionResponse {
string session_id = 1;
string user_id = 2;
}
message RefreshSessionRequest {
string session_id = 1;
}
message RefreshSessionResponse {
bool valid = 1;
}