From 05744cee77ecf18fe15ecdf6bbb97ab22acd0614 Mon Sep 17 00:00:00 2001 From: "laodaming@fusen.cn" Date: Mon, 22 Jan 2024 14:44:26 +0800 Subject: [PATCH] fix --- service/ldap.proto | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/service/ldap.proto b/service/ldap.proto index 4b07ffa..0ee10a2 100644 --- a/service/ldap.proto +++ b/service/ldap.proto @@ -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; } \ No newline at end of file