Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/sankooc/cordova-plugin-ionic-avos

基于avos和ionic的app 第三方登陆插件
https://github.com/sankooc/cordova-plugin-ionic-avos

Last synced: about 1 month ago
JSON representation

基于avos和ionic的app 第三方登陆插件

Awesome Lists containing this project

README

        

cordova-plugin-ionic-avos
=========================
基于avos和ionic的app 第三方登陆插件

#Install

```bash
ionic plugin add https://github.com/sankooc/cordova-plugin-ionic-avos.git
```

# How to use
```javascript
var loginHandle =function(userdata){
//todo
}
var errorHandle = function(err){
//todo
}
var authdata = {
AppKey:'appkey',
AppSecret:"secret",
RedirectURI:"redirect"
}
avosnic.login(loginHandle,errorHandle,'weibo',authdata);
```