rework folder
All checks were successful
Publish / Publish Job (push) Successful in 2m28s

This commit is contained in:
Дмитрий
2026-04-09 16:15:07 +03:00
parent 86c1e352cf
commit facbac7c1a
9 changed files with 344 additions and 32 deletions

26
proto/sso/ldap-auth.proto Normal file
View File

@@ -0,0 +1,26 @@
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; // Отдаем полные данные при успешном входе
}