Files
contracts/proto/ldap.proto
Дмитрий 6666bb1a74
All checks were successful
Publish / Publish Job (push) Successful in 2m28s
add: add go repository
2026-03-30 16:40:36 +03:00

29 lines
480 B
Protocol Buffer

syntax = "proto3";
package ldap_service;
option go_package = "git.lendry.ru/lendry-erp/gen;ldap_service";
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;
}