├── .gitignore ├── LICENSE ├── Oauth2.php ├── README.md ├── example ├── application │ ├── cache │ │ └── index.html │ ├── config │ │ ├── autoload.php │ │ ├── config.php │ │ ├── constants.php │ │ ├── database.php │ │ ├── doctypes.php │ │ ├── foreign_chars.php │ │ ├── hooks.php │ │ ├── index.html │ │ ├── memcached.php │ │ ├── migration.php │ │ ├── mimes.php │ │ ├── oauth2.php │ │ ├── profiler.php │ │ ├── routes.php │ │ ├── smileys.php │ │ └── user_agents.php │ ├── controllers │ │ ├── index.html │ │ ├── logout.php │ │ ├── sns.php │ │ └── welcome.php │ ├── core │ │ └── index.html │ ├── helpers │ │ └── index.html │ ├── hooks │ │ └── index.html │ ├── index.html │ ├── language │ │ └── english │ │ │ └── index.html │ ├── libraries │ │ ├── Oauth2.php │ │ ├── index.html │ │ └── oauth2 │ │ │ ├── Exception.php │ │ │ ├── OAuth2.php │ │ │ ├── Provider.php │ │ │ ├── Provider │ │ │ ├── 10086.php │ │ │ ├── 163.php │ │ │ ├── 360.php │ │ │ ├── Baidu.php │ │ │ ├── Douban.php │ │ │ ├── Duoshuo.php │ │ │ ├── Feixin.php │ │ │ ├── Kaixin.php │ │ │ ├── Qq.php │ │ │ ├── Renren.php │ │ │ ├── Sohu.php │ │ │ ├── Taobao.php │ │ │ ├── Tianyi.php │ │ │ ├── Tweibo.php │ │ │ ├── Weibo.php │ │ │ ├── Weixin.php │ │ │ └── beyond the wall │ │ │ │ ├── Appnet.php │ │ │ │ ├── Blooie.php │ │ │ │ ├── Facebook.php │ │ │ │ ├── Foursquare.php │ │ │ │ ├── Github.php │ │ │ │ ├── Google.php │ │ │ │ ├── Instagram.php │ │ │ │ ├── Mailchimp.php │ │ │ │ ├── Mailru.php │ │ │ │ ├── Paypal.php │ │ │ │ ├── Soundcloud.php │ │ │ │ ├── Vkontakte.php │ │ │ │ ├── Windowslive.php │ │ │ │ └── Yandex.php │ │ │ ├── Token.php │ │ │ ├── Token │ │ │ ├── Access.php │ │ │ └── Authorize.php │ │ │ └── index.html │ ├── logs │ │ └── index.html │ ├── models │ │ └── index.html │ ├── third_party │ │ └── index.html │ └── views │ │ ├── errors │ │ ├── error_404.php │ │ ├── error_db.php │ │ ├── error_general.php │ │ ├── error_php.php │ │ └── index.html │ │ ├── index.html │ │ └── welcome_message.php ├── bd_dc241d3dd58dc598.txt ├── config.yaml ├── index.php ├── license.txt ├── system │ ├── core │ │ ├── Benchmark.php │ │ ├── CodeIgniter.php │ │ ├── Common.php │ │ ├── Config.php │ │ ├── Controller.php │ │ ├── Exceptions.php │ │ ├── Hooks.php │ │ ├── Input.php │ │ ├── Lang.php │ │ ├── Loader.php │ │ ├── Log.php │ │ ├── Model.php │ │ ├── Output.php │ │ ├── Router.php │ │ ├── Security.php │ │ ├── URI.php │ │ ├── Utf8.php │ │ └── index.html │ ├── database │ │ ├── DB.php │ │ ├── DB_cache.php │ │ ├── DB_driver.php │ │ ├── DB_forge.php │ │ ├── DB_query_builder.php │ │ ├── DB_result.php │ │ ├── DB_utility.php │ │ ├── drivers │ │ │ ├── cubrid │ │ │ │ ├── cubrid_driver.php │ │ │ │ ├── cubrid_forge.php │ │ │ │ ├── cubrid_result.php │ │ │ │ ├── cubrid_utility.php │ │ │ │ └── index.html │ │ │ ├── ibase │ │ │ │ ├── ibase_driver.php │ │ │ │ ├── ibase_forge.php │ │ │ │ ├── ibase_result.php │ │ │ │ ├── ibase_utility.php │ │ │ │ └── index.html │ │ │ ├── index.html │ │ │ ├── mssql │ │ │ │ ├── index.html │ │ │ │ ├── mssql_driver.php │ │ │ │ ├── mssql_forge.php │ │ │ │ ├── mssql_result.php │ │ │ │ └── mssql_utility.php │ │ │ ├── mysql │ │ │ │ ├── index.html │ │ │ │ ├── mysql_driver.php │ │ │ │ ├── mysql_forge.php │ │ │ │ ├── mysql_result.php │ │ │ │ └── mysql_utility.php │ │ │ ├── mysqli │ │ │ │ ├── index.html │ │ │ │ ├── mysqli_driver.php │ │ │ │ ├── mysqli_forge.php │ │ │ │ ├── mysqli_result.php │ │ │ │ └── mysqli_utility.php │ │ │ ├── oci8 │ │ │ │ ├── index.html │ │ │ │ ├── oci8_driver.php │ │ │ │ ├── oci8_forge.php │ │ │ │ ├── oci8_result.php │ │ │ │ └── oci8_utility.php │ │ │ ├── odbc │ │ │ │ ├── index.html │ │ │ │ ├── odbc_driver.php │ │ │ │ ├── odbc_forge.php │ │ │ │ ├── odbc_result.php │ │ │ │ └── odbc_utility.php │ │ │ ├── pdo │ │ │ │ ├── index.html │ │ │ │ ├── pdo_driver.php │ │ │ │ ├── pdo_forge.php │ │ │ │ ├── pdo_result.php │ │ │ │ ├── pdo_utility.php │ │ │ │ └── subdrivers │ │ │ │ │ ├── index.html │ │ │ │ │ ├── pdo_4d_driver.php │ │ │ │ │ ├── pdo_4d_forge.php │ │ │ │ │ ├── pdo_cubrid_driver.php │ │ │ │ │ ├── pdo_cubrid_forge.php │ │ │ │ │ ├── pdo_dblib_driver.php │ │ │ │ │ ├── pdo_dblib_forge.php │ │ │ │ │ ├── pdo_firebird_driver.php │ │ │ │ │ ├── pdo_firebird_forge.php │ │ │ │ │ ├── pdo_ibm_driver.php │ │ │ │ │ ├── pdo_ibm_forge.php │ │ │ │ │ ├── pdo_informix_driver.php │ │ │ │ │ ├── pdo_informix_forge.php │ │ │ │ │ ├── pdo_mysql_driver.php │ │ │ │ │ ├── pdo_mysql_forge.php │ │ │ │ │ ├── pdo_oci_driver.php │ │ │ │ │ ├── pdo_oci_forge.php │ │ │ │ │ ├── pdo_odbc_driver.php │ │ │ │ │ ├── pdo_odbc_forge.php │ │ │ │ │ ├── pdo_pgsql_driver.php │ │ │ │ │ ├── pdo_pgsql_forge.php │ │ │ │ │ ├── pdo_sqlite_driver.php │ │ │ │ │ ├── pdo_sqlite_forge.php │ │ │ │ │ ├── pdo_sqlsrv_driver.php │ │ │ │ │ └── pdo_sqlsrv_forge.php │ │ │ ├── postgre │ │ │ │ ├── index.html │ │ │ │ ├── postgre_driver.php │ │ │ │ ├── postgre_forge.php │ │ │ │ ├── postgre_result.php │ │ │ │ └── postgre_utility.php │ │ │ ├── sqlite │ │ │ │ ├── index.html │ │ │ │ ├── sqlite_driver.php │ │ │ │ ├── sqlite_forge.php │ │ │ │ ├── sqlite_result.php │ │ │ │ └── sqlite_utility.php │ │ │ ├── sqlite3 │ │ │ │ ├── index.html │ │ │ │ ├── sqlite3_driver.php │ │ │ │ ├── sqlite3_forge.php │ │ │ │ ├── sqlite3_result.php │ │ │ │ └── sqlite3_utility.php │ │ │ └── sqlsrv │ │ │ │ ├── index.html │ │ │ │ ├── sqlsrv_driver.php │ │ │ │ ├── sqlsrv_forge.php │ │ │ │ ├── sqlsrv_result.php │ │ │ │ └── sqlsrv_utility.php │ │ └── index.html │ ├── fonts │ │ ├── index.html │ │ └── texb.ttf │ ├── helpers │ │ ├── array_helper.php │ │ ├── captcha_helper.php │ │ ├── cookie_helper.php │ │ ├── date_helper.php │ │ ├── directory_helper.php │ │ ├── download_helper.php │ │ ├── email_helper.php │ │ ├── file_helper.php │ │ ├── form_helper.php │ │ ├── html_helper.php │ │ ├── index.html │ │ ├── inflector_helper.php │ │ ├── language_helper.php │ │ ├── number_helper.php │ │ ├── path_helper.php │ │ ├── security_helper.php │ │ ├── smiley_helper.php │ │ ├── string_helper.php │ │ ├── text_helper.php │ │ ├── typography_helper.php │ │ ├── url_helper.php │ │ └── xml_helper.php │ ├── index.html │ ├── language │ │ ├── english │ │ │ ├── calendar_lang.php │ │ │ ├── date_lang.php │ │ │ ├── db_lang.php │ │ │ ├── email_lang.php │ │ │ ├── form_validation_lang.php │ │ │ ├── ftp_lang.php │ │ │ ├── imglib_lang.php │ │ │ ├── index.html │ │ │ ├── migration_lang.php │ │ │ ├── number_lang.php │ │ │ ├── profiler_lang.php │ │ │ ├── unit_test_lang.php │ │ │ └── upload_lang.php │ │ └── index.html │ └── libraries │ │ ├── Cache │ │ ├── Cache.php │ │ ├── drivers │ │ │ ├── Cache_apc.php │ │ │ ├── Cache_dummy.php │ │ │ ├── Cache_file.php │ │ │ ├── Cache_memcached.php │ │ │ ├── Cache_redis.php │ │ │ ├── Cache_wincache.php │ │ │ └── index.html │ │ └── index.html │ │ ├── Calendar.php │ │ ├── Cart.php │ │ ├── Driver.php │ │ ├── Email.php │ │ ├── Encrypt.php │ │ ├── Form_validation.php │ │ ├── Ftp.php │ │ ├── Image_lib.php │ │ ├── Javascript.php │ │ ├── Migration.php │ │ ├── Pagination.php │ │ ├── Parser.php │ │ ├── Profiler.php │ │ ├── Session │ │ ├── Session.php │ │ ├── drivers │ │ │ ├── Session_cookie.php │ │ │ ├── Session_native.php │ │ │ └── index.html │ │ └── index.html │ │ ├── Table.php │ │ ├── Trackback.php │ │ ├── Typography.php │ │ ├── Unit_test.php │ │ ├── Upload.php │ │ ├── User_agent.php │ │ ├── Xmlrpc.php │ │ ├── Xmlrpcs.php │ │ ├── Zip.php │ │ ├── index.html │ │ └── javascript │ │ ├── Jquery.php │ │ └── index.html └── xtaoAuth.html └── oauth2 ├── Exception.php ├── OAuth2.php ├── Provider.php ├── Provider ├── 10086.php ├── 163.php ├── 360.php ├── Baidu.php ├── Douban.php ├── Duoshuo.php ├── Feixin.php ├── Kaixin.php ├── Qq.php ├── Renren.php ├── Sohu.php ├── Taobao.php ├── Tianyi.php ├── Tweibo.php ├── Weibo.php ├── Weixin.php └── beyond the wall │ ├── Appnet.php │ ├── Blooie.php │ ├── Facebook.php │ ├── Foursquare.php │ ├── Github.php │ ├── Google.php │ ├── Instagram.php │ ├── Mailchimp.php │ ├── Mailru.php │ ├── Paypal.php │ ├── Soundcloud.php │ ├── Vkontakte.php │ ├── Windowslive.php │ └── Yandex.php ├── Token.php ├── Token ├── Access.php └── Authorize.php └── index.html /.gitignore: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | The MIT License (MIT) 2 | Copyright (c) 2012 Chekun and Yoozi Inc., http://www.yoozi.cn 3 | 4 | Permission is hereby granted, free of charge, to any person obtaining a copy 5 | of this software and associated documentation files (the “Software”), to deal 6 | in the Software without restriction, including without limitation the rights 7 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 8 | copies of the Software, and to permit persons to whom the Software is 9 | furnished to do so, subject to the following conditions: 10 | 11 | The above copyright notice and this permission notice shall be included in 12 | all copies or substantial portions of the Software. 13 | 14 | THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 15 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 16 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 17 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 18 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 19 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 20 | THE SOFTWARE. -------------------------------------------------------------------------------- /Oauth2.php: -------------------------------------------------------------------------------- 1 | 8 | */ 9 | 10 | require APPPATH.'libraries/oauth2/OAuth2.php'; 11 | 12 | /* End of file Oauth2.php */ 13 | /* Location: ./application/libraries/Oauth2.php */ -------------------------------------------------------------------------------- /example/application/cache/index.html: -------------------------------------------------------------------------------- 1 | 2 |
3 |Directory access is forbidden.
8 | 9 | 10 | -------------------------------------------------------------------------------- /example/application/config/hooks.php: -------------------------------------------------------------------------------- 1 | 2 | 3 |Directory access is forbidden.
8 | 9 | 10 |