-
Notifications
You must be signed in to change notification settings - Fork 3.2k
Expand file tree
/
Copy pathsystem.ts
More file actions
143 lines (141 loc) · 5.31 KB
/
Copy pathsystem.ts
File metadata and controls
143 lines (141 loc) · 5.31 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
export default {
title: 'System',
subTitle: 'Syetem Settings',
test: 'Test Connection',
testSuccess: 'Successful',
testFailed: 'Test connection failed',
password: 'Password',
authentication: {
title: 'Login Authentication',
ldap: {
title: 'LDAP',
address: 'LDAP Address',
serverPlaceholder: 'Please enter LDAP address',
bindDN: 'Bind DN',
bindDNPlaceholder: 'Please enter Bind DN',
ou: 'User OU',
ouPlaceholder: 'Please enter user OU',
ldap_filter: 'User Filter',
ldap_filterPlaceholder: 'Please enter user filter',
ldap_mapping: 'LDAP Attribute Mapping',
ldap_mappingPlaceholder: 'Please enter LDAP attribute mapping',
enableAuthentication: 'Enable LDAP Authentication',
},
cas: {
title: 'CAS',
ldpUri: 'ldpUri',
ldpUriPlaceholder: 'Please enter ldpUri',
validateUrl: 'Validation Address',
validateUrlPlaceholder: 'Please enter validation address',
redirectUrl: 'Callback Address',
redirectUrlPlaceholder: 'Please enter callback address',
enableAuthentication: 'Enable CAS Authentication',
},
oidc: {
title: 'OIDC',
authEndpoint: 'Auth Endpoint',
authEndpointPlaceholder: 'Please enter auth endpoint',
tokenEndpoint: 'Token Endpoint',
tokenEndpointPlaceholder: 'Please enter token endpoint',
userInfoEndpoint: 'User Information Endpoint',
userInfoEndpointPlaceholder: 'Please enter user information endpoint',
clientId: 'Client ID',
clientIdPlaceholder: 'Please enter client ID',
scopePlaceholder: 'Please enter scope',
clientSecret: 'Client Secret',
clientSecretPlaceholder: 'Please enter client secret',
logoutEndpoint: 'Logout Endpoint',
logoutEndpointPlaceholder: 'Please enter logout endpoint',
redirectUrl: 'Redirect URL',
redirectUrlPlaceholder: 'Please enter redirect URL',
enableAuthentication: 'Enable OIDC Authentication',
},
oauth2: {
title: 'OAuth2',
authEndpoint: 'Auth Endpoint',
authEndpointPlaceholder: 'Please enter auth endpoint',
tokenEndpoint: 'Token Endpoint',
tokenEndpointPlaceholder: 'Please enter token endpoint',
userInfoEndpoint: 'User Information Endpoint',
userInfoEndpointPlaceholder: 'Please enter user information endpoint',
scope: 'Scope',
scopePlaceholder: 'Please enter scope',
clientId: 'Client ID',
clientIdPlaceholder: 'Please enter client ID',
clientSecret: 'Client Secret',
clientSecretPlaceholder: 'Please enter client secret',
redirectUrl: 'Redirect URL',
redirectUrlPlaceholder: 'Please enter redirect URL',
filedMapping: 'Field Mapping',
filedMappingPlaceholder: 'Please enter field mapping',
enableAuthentication: 'Enable OAuth2 Authentication',
},
scanTheQRCode: {
title: 'Scan the QR code',
wecom: 'WeCom',
dingtalk: 'DingTalk',
lark: 'Lark',
effective: 'Effective',
alreadyTurnedOn: 'Enabled',
notEnabled: 'Disabled',
validate: 'Validate',
validateSuccess: 'Successful',
validateFailed: 'Validation failed',
validateFailedTip: 'Please fill in all required fields and ensure the format is correct',
appKeyPlaceholder: 'Please enter APP key',
appSecretPlaceholder: 'Please enter APP secret',
corpIdPlaceholder: 'Please enter corp ID',
agentIdPlaceholder: 'Please enter agent ID',
callbackWarning: 'Please enter a valid URL address',
larkQrCode: 'Lark Scan Code Login',
dingtalkQrCode: 'DingTalk Scan Code Login',
setting: ' Setting',
access: 'Access',
},
},
email: {
title: 'Email Settings',
smtpHost: 'SMTP Host',
smtpHostPlaceholder: 'Please enter SMTP host',
smtpPort: 'SMTP Port',
smtpPortPlaceholder: 'Please enter SMTP port',
smtpUser: 'SMTP User',
smtpUserPlaceholder: 'Please enter SMTP user',
sendEmail: "Sender's Email",
sendEmailPlaceholder: "Please enter the sender's email",
smtpPassword: 'SMTP Password',
smtpPasswordPlaceholder: 'Please enter SMTP password',
enableSSL: 'Enable SSL (if the SMTP port is 465, you usually need to enable SSL)',
enableTLS: 'Enable TLS (if the SMTP port is 587, you usually need to enable TLS)',
},
resourceAuthorization: {
title: 'Resource Authorization',
member: 'Member',
permissionSetting: 'Permission Setting',
setting: {
management: 'management',
managementDesc: 'Can delete or modify this resource',
check: 'check',
checkDesc: 'Can only view the resource',
role: 'User Role',
roleDesc: 'Authorize users based on their roles to access this resource',
notAuthorized: 'Not Authorized',
configure: 'Configure Permission',
currentOnly: 'Current resource only',
includeAll: 'Include all sub-resources',
effectiveResource: 'Effective Resource',
},
},
resource_management: {
label: 'Resource Management',
type: 'Type',
management: 'management',
},
default_login: 'Default Login Method',
display_code: 'Account login verification code setting',
loginFailed: 'Login failed',
loginFailedMessage: 'Display verification code twice',
display_codeTip: 'When the value is -1, the verification code is not displayed',
time: 'Times',
setting: 'Login Setting',
}