mirror of https://github.com/jumpserver/jumpserver
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
43 lines
1.3 KiB
43 lines
1.3 KiB
# coding: utf-8 |
|
|
|
from .basic import BasicSettingSerializer |
|
from .other import OtherSettingSerializer |
|
from .email import EmailSettingSerializer, EmailContentSettingSerializer |
|
from .auth import ( |
|
LDAPSettingSerializer, OIDCSettingSerializer, KeycloakSettingSerializer, |
|
CASSettingSerializer, RadiusSettingSerializer, FeiShuSettingSerializer, |
|
WeComSettingSerializer, DingTalkSettingSerializer, AlibabaSMSSettingSerializer, |
|
TencentSMSSettingSerializer, CMPP2SMSSettingSerializer |
|
) |
|
from .terminal import TerminalSettingSerializer |
|
from .security import SecuritySettingSerializer |
|
from .cleaning import CleaningSerializer |
|
|
|
|
|
__all__ = [ |
|
'SettingsSerializer', |
|
] |
|
|
|
|
|
class SettingsSerializer( |
|
BasicSettingSerializer, |
|
LDAPSettingSerializer, |
|
TerminalSettingSerializer, |
|
SecuritySettingSerializer, |
|
WeComSettingSerializer, |
|
DingTalkSettingSerializer, |
|
FeiShuSettingSerializer, |
|
EmailSettingSerializer, |
|
EmailContentSettingSerializer, |
|
OtherSettingSerializer, |
|
OIDCSettingSerializer, |
|
KeycloakSettingSerializer, |
|
CASSettingSerializer, |
|
RadiusSettingSerializer, |
|
CleaningSerializer, |
|
AlibabaSMSSettingSerializer, |
|
TencentSMSSettingSerializer, |
|
CMPP2SMSSettingSerializer, |
|
): |
|
# encrypt_fields 现在使用 write_only 来判断了 |
|
pass
|
|
|