This commit is contained in:
laodaming@fusen.cn 2024-01-22 14:44:26 +08:00
parent 5980a39330
commit 05744cee77

View File

@ -46,7 +46,8 @@ service ldap {
rpc GetLdapUsers(GetLdapUsersReq) returns (GetLdapUsersRsp) {}
//
rpc LdapUserLogin(LdapUserLoginReq) returns (LdapUserLoginRsp) {}
//token
rpc LdapParseLogin(LdapParseLoginReq) returns (LdapParseLoginRsp) {}
//
rpc GetLdapGroups(GetLdapGroupsReq) returns (GetLdapGroupsRsp);
@ -298,4 +299,12 @@ message LdapUserLoginReq{
}
message LdapUserLoginRsp{
string token = 1;
}
//token
message LdapParseLoginReq{
string token = 1;
}
message LdapParseLoginRsp{
string UserDn = 1;
int64 UserId = 2;
}