feat: 实现 LDAP 登录

This commit is contained in:
kanzihuang
2023-08-23 22:09:41 +08:00
committed by Wanli
parent 2e969d46fb
commit 4e1350d1cc
13 changed files with 321 additions and 5174 deletions

View File

@@ -11,4 +11,6 @@ export default {
logout: () => request.post('/auth/accounts/logout'),
getPermissions: () => request.get('/sys/accounts/permissions'),
oauth2Callback: (params: any) => request.get('/auth/oauth2/callback', params),
getLdapEnabled: () => request.get("/auth/ldap/enabled"),
ldapLogin: (param: any) => request.post('/auth/ldap/login', param),
};