接口作用

在现有的三种默认,ldap,http认证方式,拓展新的认证方式,企业微信登录,钉钉登录等

开放资源

接口资源

dec.provider.user

示例

BI.config("dec.provider.user", function (provider) {
    provider.inject({
        authenticationMethod: {
            wechat: {
                value: "wechat",
                text: "微信扫码登录",
                "@class": "com.fr.decision.webservice.bean.authentication.WechatAuthenticBean",
                component: {
                    type: "dec.user.setting.wechat"
                }
            }
        }
    });
});

 

效果

注意事项

后端支持  自定义登陆认证方式

fineui文档地址http://fanruan.design/doc.html?post=0169cf558d