syntax = "proto3"; package auth.v1; service AuthService { // Validates a session token rpc ValidateSession (ValidateSessionRequest) returns (ValidateSessionResponse) {} } message ValidateSessionRequest { string token = 1; } message ValidateSessionResponse { bool valid = 1; string uuid = 2; repeated string scopes = 3; string error = 4; }