feat(api): auth config api (#309)

This commit is contained in:
simontigers
2023-12-14 19:39:21 +08:00
committed by GitHub
parent e03849b054
commit d4a37af183
5 changed files with 335 additions and 1 deletions

View File

@@ -19,3 +19,14 @@ BotNameMap = {
'feishuApp': 'feishuBot',
'dingdingApp': 'dingdingBot',
}
class AuthenticateType(BaseEnum):
CAS = 'CAS'
OAUTH2 = 'OAUTH2'
OIDC = 'OIDC'
LDAP = 'LDAP'
AuthCommonConfig = 'AuthCommonConfig'
AuthCommonConfigAutoRedirect = 'auto_redirect'