1 Commits

Author SHA1 Message Date
ad8e4ebacf Add auth metadata endpoint
All checks were successful
continuous-integration/drone/push Build is passing
2025-06-21 21:25:50 -04:00

View File

@@ -4,10 +4,13 @@ option go_package = "git.itzana.me/strafesnet/go-grpc/auth";
package auth;
import "google/protobuf/empty.proto";
service AuthService {
rpc GetSessionUser(IdMessage) returns (SessionUserResponse);
rpc GetGroupRole(IdMessage) returns (RoleReponse);
rpc ValidateSession(IdMessage) returns (ValidateResponse);
rpc GetAuthMetadata(google.protobuf.Empty) returns (AuthMetadataResponse);
}
message IdMessage {
@@ -33,3 +36,10 @@ message RoleItem {
message ValidateResponse {
bool Valid = 1;
}
message AuthMetadataResponse {
string LoginURL = 1;
string LogoutURL = 2;
string AccountURL = 3;
}