Compare commits

..

No commits in common. "fab429fc741b3521578fe599f3626188a7be1f10" and "cc0845f68e156fcf8d77ef055f529fae53d41525" have entirely different histories.

View File

@ -5,7 +5,7 @@ option go_package = "git.itzana.me/strafesnet/go-grpc/auth";
package auth; package auth;
service AuthService { service AuthService {
rpc GetSessionUser(IdMessage) returns (SessionUserResponse); rpc GetSession(IdMessage) returns (SessionResponse);
rpc GetGroupRole(IdMessage) returns (RoleReponse); rpc GetGroupRole(IdMessage) returns (RoleReponse);
rpc ValidateSession(IdMessage) returns (ValidateResponse); rpc ValidateSession(IdMessage) returns (ValidateResponse);
} }
@ -14,10 +14,12 @@ message IdMessage {
string SessionID = 1; string SessionID = 1;
} }
message SessionUserResponse { message SessionResponse {
uint64 UserID = 1; string SessionID = 1;
string Username = 2; uint64 UserID = 2;
string AvatarURL = 3; string Username = 3;
uint64 Created = 4;
uint64 Expires = 5;
} }
message RoleReponse { message RoleReponse {