cn-com-ths-sso
v1.0.0
Published
sso THSSsoHandler
Downloads
6
Maintainers
Readme
1.安装插件
cordova plugin add https://github.com/THS-FE/cn-com-ths-sso.git
2.移除插件
cordova plugin rm cn-com-ths-sso
3.获取用户登陆信息
THSSsoHandler.anthorize(succcallback,errorCallback); 使用示例: THSSsoHandler.anthorize(function(succ){ alert(succ); },function(error){ alert(error); });
获取额外的信息 THSSsoHandler.getExtraInfo(succcallback); 使用示例: THSSsoHandler.getExtraInfo(function(extraInfo){ alert(extraInfo); });