Files
contracts/proto/ldap.proto
Дмитрий f6366f14b5
All checks were successful
Publish / Publish Job (push) Successful in 2m6s
fix: remove imports google any and status protobufs and add go package proto files
2026-03-30 16:30:22 +03:00

29 lines
444 B
Protocol Buffer

syntax = "proto3";
package ldap_service;
option go_package = './gen';
service LdapAuth {
rpc VerifyUser (VerifyRequest) returns (VerifyResponse);
}
message VerifyRequest {
string username = 1;
string password = 2;
}
message VerifyResponse {
bool success = 1;
string error_message = 2;
UserData user = 3;
}
message UserData {
string dn = 1;
string display_name = 2;
repeated string groups = 3;
bool is_active = 4;
}