API_TOKEN_GET
API_TOKEN_GET = 'https://api.weixin.qq.com/cgi-bin/token'
Class AuthorizerAccessToken.
AuthorizerAccessToken is responsible for the access token of the authorizer, the complexity is that this access token also requires the refresh token of the authorizer which is acquired by the open platform authorizer process.
This completely overrides the original AccessToken.
$cache : \Doctrine\Common\Cache\Cache
Cache.
$http : \EasyWeChat\Core\Http
Http instance.
$authorizer : \EasyWeChat\OpenPlatform\Authorizer
__construct(string $appId, \EasyWeChat\OpenPlatform\Authorizer $authorizer)
AuthorizerAccessToken constructor.
string | $appId | |
\EasyWeChat\OpenPlatform\Authorizer | $authorizer |
setCache(\Doctrine\Common\Cache\Cache $cache) : \EasyWeChat\Core\AccessToken
Set cache instance.
\Doctrine\Common\Cache\Cache | $cache |
getCache() : \Doctrine\Common\Cache\Cache
Return the cache manager.
getHttp() : \EasyWeChat\Core\Http
Return the http instance.
setHttp(\EasyWeChat\Core\Http $http) : $this
Set the http instance.
\EasyWeChat\Core\Http | $http |