/** * 获得OAuth2 对象 * @return OpenSDK_OAuth2_Client */ protected static function getOAuth() { if (null === self::$oauth) { self::$oauth = new OpenSDK_OAuth2_Client(self::$_debug); } return self::$oauth; }