Test Setup Failed
Push — master ( 71f4c1...fdf70f )
by Xu
37:21
created
src/oauth2/grant/types/WeChatMiniCredentials.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -151,7 +151,7 @@
 block discarded – undo
151 151
     {
152 152
         if ($this->_user === null) {
153 153
             $client = $this->wechat->miniProgram;
154
-            $client->useOpenId = false;//使用unionid
154
+            $client->useOpenId = false; //使用unionid
155 155
             $client->validateAuthState = false;
156 156
             $token = $client->fetchAccessToken($this->code);
157 157
             $tokenParams = $token->getParams();
Please login to merge, or discard this patch.
src/oauth2/actions/Token.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -46,11 +46,11 @@
 block discarded – undo
46 46
     public $grantTypes = [
47 47
         'authorization_code' => Authorization::class,
48 48
         'refresh_token' => RefreshToken::class,
49
-        'client_credentials' => ClientCredentials::class,//个人账户密码
50
-        'password' => UserCredentials::class,//账户密码
51
-        'wechat' => WeChatCredentials::class,//微信
52
-        'wechat_mini' => WeChatMiniCredentials::class,//微信
53
-        'qrcode' => QRCode::class,//客户端扫码
49
+        'client_credentials' => ClientCredentials::class, //个人账户密码
50
+        'password' => UserCredentials::class, //账户密码
51
+        'wechat' => WeChatCredentials::class, //微信
52
+        'wechat_mini' => WeChatMiniCredentials::class, //微信
53
+        'qrcode' => QRCode::class, //客户端扫码
54 54
 //        'urn:ietf:params:oauth:grant-type:jwt-bearer' => 'yuncms\oauth2\grant\types\JwtBearer',//JWT 客户端签名
55 55
     ];
56 56
 
Please login to merge, or discard this patch.