Created
August 18, 2016 05:55
-
-
Save hyjk2000/72030e7fe6aca66c713399540bb5407e to your computer and use it in GitHub Desktop.
auth_hash example of omniauth-wechat-oauth2
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "credentials": { | |
| "expires": true, | |
| "expires_at": 1436019773, | |
| "refresh_token": "[hidden]", | |
| "token": "[hidden]" | |
| }, | |
| "extra": { | |
| "raw_info": { | |
| "city": "Xi'an", | |
| "country": "CN", | |
| "headimgurl": "http://wx.qlogo.cn/mmopen/[hidden]/0", | |
| "language": "zh_CN", | |
| "nickname": "[hidden]", | |
| "openid": "[hidden]", | |
| "privilege": [], | |
| "province": "Shaanxi", | |
| "sex": 1 | |
| } | |
| }, | |
| "info": { | |
| "city": "Xi'an", | |
| "country": "CN", | |
| "headimgurl": "http://wx.qlogo.cn/mmopen/[hidden]/0", | |
| "name": "[hidden]", | |
| "nickname": "[hidden]", | |
| "province": "Shaanxi", | |
| "sex": 1 | |
| }, | |
| "provider": "wechat", | |
| "uid": "[hidden]" | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment