Merge branch 'master' of gitlab.fusenpack.com:backend/proto
This commit is contained in:
commit
c67f47eddc
|
@ -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);
|
||||
|
@ -298,4 +299,12 @@ message LdapUserLoginReq{
|
|||
}
|
||||
message LdapUserLoginRsp{
|
||||
string token = 1;
|
||||
}
|
||||
//解析token
|
||||
message LdapParseTokenReq{
|
||||
string token = 1;
|
||||
}
|
||||
message LdapParseTokenRsp{
|
||||
string UserDn = 1;
|
||||
int64 UserId = 2;
|
||||
}
|
Loading…
Reference in New Issue
Block a user