def get_client_by_authorization_code(self, authorization_code):
warnings.warn('<STR_LIT>'<EOL>'<STR_LIT>'<EOL>'<STR_LIT>',<EOL>DeprecationWarning, stacklevel=<NUM_LIT:2>)<EOL>result = self.query_auth(authorization_code)<EOL>access_token = result['<STR_LIT>']['<STR_LIT>']<EOL>refresh_token = result['<STR_LIT>']['<STR_LIT>']  <EOL>authorizer_appid = result['<STR_LIT>']['<STR_LIT>']  <EOL>return WeChatComponentClient(<EOL>authorizer_appid, self, access_token, refresh_token,<EOL>session=self.session<EOL>)<EOL>
通过授权码直接获取 Client 对象

:params authorization_code: 授权code,会在授权成功时返回给第三方平台，详见第三方平台授权流程说明