Merge branch 'master' of gitlab.fusenpack.com:backend/proto

This commit is contained in:
menghaiwen@fusen.cn 2024-01-22 15:02:46 +08:00
commit c67f47eddc

View File

@ -46,7 +46,8 @@ service ldap {
rpc GetLdapUsers(GetLdapUsersReq) returns (GetLdapUsersRsp) {}
//
rpc LdapUserLogin(LdapUserLoginReq) returns (LdapUserLoginRsp) {}
//token
rpc LdapParseToken(LdapParseTokenReq) returns (LdapParseTokenRsp) {}
//
rpc GetLdapGroups(GetLdapGroupsReq) returns (GetLdapGroupsRsp);
@ -299,3 +300,11 @@ message LdapUserLoginReq{
message LdapUserLoginRsp{
string token = 1;
}
//token
message LdapParseTokenReq{
string token = 1;
}
message LdapParseTokenRsp{
string UserDn = 1;
int64 UserId = 2;
}