52 lines
1.5 KiB
JavaScript
52 lines
1.5 KiB
JavaScript
"use strict";
|
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
exports.entityDesc = exports.AbleActionDef = void 0;
|
|
const action_1 = require("oak-domain/lib/actions/action");
|
|
;
|
|
exports.AbleActionDef = (0, action_1.makeAbleActionDef)('enabled');
|
|
exports.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'
|
|
}
|
|
}
|
|
}
|
|
};
|