Files
contracts/proto/ldap.proto
Дмитрий 3ef32ab618
Some checks failed
Publish / Publish Job (push) Failing after 1m10s
add: add ldap protobuf
2026-03-30 15:54:12 +03:00

28 lines
448 B
Protocol Buffer

syntax = "proto3";
package ldap_service;
import "google/rpc/status.proto";
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;
}