WeixinAuthorize
Support using Redis to store access_token
V2.0开发中:
https://github.com/lanrion/weixin_authorize/milestones/v2.0-dev
- 重构API实现,调用方式
- 对token,ticket的管理,提供第三方开发灵活者自助化
- 尝试RestClient的弃用,选择更高效的HTTP client包
- 支持更多的异常处理机制
注意:查看Wiki或者源代码时,请切换对应的版本来查看。Master处于不断更新完善分支。
How to test
Go to https://github.com/lanrion/weixin_authorize/issues/2, apply a weixin sandbox test account and follow this account
https://github.com/lanrion/weixin_authorize/blob/master/spec/spec_helper.rb
change your infos:
ENV["APPID"]="wxe371e0960de5426a"
ENV["APPSECRET"]="572b93d3d20aea242692a804243a141b"
ENV["OPENID"]="oEEoyuEasxionjR5HygmEOQGwRcw"
then run rspec .
Contributing
- Fork it
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create new Pull Request