oak-general-business/es/entities/OauthProviderConfig.js

49 lines
1.4 KiB
JavaScript

import { makeAbleActionDef } from 'oak-domain/lib/actions/action';
;
export const AbleActionDef = makeAbleActionDef('enabled');
export const entityDesc = {
locales: {
zh_CN: {
name: 'Oauth提供者配置',
attr: {
system: '所属系统',
ableState: '是否可用',
name: '名称',
type: '类型',
logo: 'Logo',
authorizationEndpoint: '授权端点',
tokenEndpoint: '令牌端点',
userInfoEndpoint: '用户信息端点',
revokeEndpoint: '吊销端点',
clientId: '客户端 ID',
clientSecret: '客户端密钥',
redirectUri: '重定向 URI',
scopes: '权限范围',
autoRegister: '自动注册用户',
},
action: {
enable: '启用',
disable: '禁用',
},
v: {
ableState: {
enabled: '可用的',
disabled: '禁用的',
}
}
},
},
style: {
icon: {
enable: '',
disable: '',
},
color: {
ableState: {
enabled: '#008000',
disabled: '#A9A9A9'
}
}
}
};