We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
public function user() { if ($this->authorizedUser || !$this->input->has('state') || (!$code = $this->input->get('code')) && $this->input->has('state')) { return $this->authorizedUser; } $permission = $this->getAccessPermission($code); if ($permission['scope'] !== 'snsapi_userinfo') { $user = new Bag(array('openid' => $permission['openid'])); } else { $user = $this->getUser($permission['openid'], $permission['access_token']); } return $this->authorizedUser = $user; }
您好,当access_token过期时使用accessTokenIsValid时需要access_token和刷新使用refresh_token,而
$user = new Bag(array('openid' => $permission['openid']));
The text was updated successfully, but these errors were encountered:
@hubs 谢谢,这块会在3.0里重构,目前的写法其实我也不满意
Sorry, something went wrong.
哈哈,谢谢,等待你放大招
No branches or pull requests
您好,当access_token过期时使用accessTokenIsValid时需要access_token和刷新使用refresh_token,而
只返回了openid
The text was updated successfully, but these errors were encountered: