(self)
return self._oauth
:rtype: wechat_django.WeChatOAuthClient
:rtype: wechat_django.WeChatOAuthClient
: rtype : wechat_django . WeChatOAuthClient
def oauth(self):
        """
        :rtype: wechat_django.WeChatOAuthClient
        """
        if not self.abilities.oauth:
            raise WeChatAbilityError(WeChatAbilityError.OAUTH)
        if not hasattr(self, "_oauth"):
            self._oauth = self._get_oauth()
        return self._oauth
def oauth ( self ) : if not self . abilities . oauth : raise WeChatAbilityError ( WeChatAbilityError . OAUTH ) if not hasattr ( self , "_oauth" ) : self . _oauth = self . _get_oauth ( ) return self . _oauth