Files
contracts/proto/sso/ldap-auth.proto
Дмитрий 0c6ab8c25a
Some checks failed
Publish / Publish Job (push) Failing after 2m27s
fix: ldap proto import
2026-04-11 10:51:02 +03:00

27 lines
509 B
Protocol Buffer

syntax = "proto3";
package ldap_auth.v1;
option go_package = "git.lendry.ru/lendry-erp/proto.git/go;pb";
import "ldap.proto";
service LdapAuthService {
rpc VerifyUser (VerifyRequest) returns (VerifyResponse);
}
// --- Авторизация ---
message VerifyRequest {
string username = 1;
string password = 2;
}
message VerifyResponse {
bool success = 1;
string error_message = 2;
ldap.v1.UserData user = 3; // Отдаем полные данные при успешном входе
}