Yii2-authclient (External authentication via OAuth and OpenID for the Yii framework)

Yii2-authclient (External authentication via OAuth and OpenID for the Yii framework)

yiisoft/yii2-authclient

Семенов Александр Сергеевич

Установить

External authentication via OAuth and OpenID for the Yii framework
Семенов Александр Сергеевич

External authentication via OAuth and OpenID for the Yii framework

@разработчик решения

Время публикации: среда, 24 июня 2015 г. (3 года назад)

Добавил: Семенов Александр Сергеевич

Категория: Прочее

Актуальная версия: 2.1.7
20 сент. 2018 г., 10:23:55 (месяц назад)

Packagist: yiisoft/yii2-authclient

: https://github.com/yiisoft/yii2-authclient

: 1180827 (За месяц: 37101)

Тип: Компонент


Описание от «Семенов Александр Сергеевич»

External authentication via OAuth and OpenID for the Yii framework

AuthClient Extension for Yii 2


This extension adds OpenID, OAuth, OAuth2 and OpenId Connect consumers for the Yii framework 2.0.

For license information check the LICENSE-file.

Documentation is at docs/guide/README.md.

Latest Stable Version Total Downloads Build Status

Installation

The preferred way to install this extension is through composer.

Either run

composer require --prefer-dist yiisoft/yii2-authclient

or add

"yiisoft/yii2-authclient": "~2.1.0"

to the require section of your composer.json.

Yii Framework 2 authclient extension Change Log

2.1.8 under development

  • Enh #218: Allow configuring user component in AuthAction (samdark, lab362)
  • Bug #237: Fix redirect from LinkedIn if user refused to authorize permissions request (jakim)

2.1.7 September 20, 2018

  • Bug #241: Unset parameter scope on defaultReturnUrl for OAuth2 class since it was causing bad request response from Google provider (okiwan)

2.1.6 September 07, 2018

  • Bug #211: RsaSha was not passing $key to openssl_pkey_get_private() in generateSignature() (cfhodges)
  • Bug #220: Make OpenIdConnect client send token as bearer auth instead of querystring parameter (lukos)
  • Bug #237: Fixed redirect if user cancels login in auth form (msvit1989)
  • Enh #203: Updated VKontakte client to use API version 5.0 (Shketkol)

2.1.5 February 08, 2018

  • Enh #187: URL endpoints for authUrl and tokenUrl for yii\authclient\clients\LinkedIn updated (Felli)
  • Enh #195: yii\authclient\AuthAction refactored to use yii\web\Application::$request for request data access (klimov-paul)
  • Enh #196: Added yii\authclient\AuthAction::$cancelCallback allowing custom handling for authentication cancelation (terales, klimov-paul)

2.1.4 November 03, 2017

  • Bug #152: Fixed JavaScript callback generated by \yii\authclient\widgets\GooglePlusButton consider ‘immediate_failed’ as instant auth error (klimov-paul)
  • Bug: Usage of deprecated yii\base\Object changed to yii\base\BaseObject allowing compatibility with PHP 7.2 (klimov-paul)
  • Enh #178: Added yii\authclient\clients\TwitterOAuth2 supporting ‘application-only authentication’ workflow for Twitter (klimov-paul)
  • Enh #179: Added apiVersion at yii\authclient\clients\VKontakte (isudakoff)
  • Enh #185: yii\authclient\clients\VKontakte::initUserAttributes() now throws verbose exception on unexpected API response instead of PHP error (klimov-paul)

2.1.3 June 23, 2017

  • Bug #152: Fixed \yii\authclient\OAuth1::fetchRequestToken() skips formatting for yii\httpclient\Request (klimov-paul)
  • Bug #160: Fixed \yii\authclient\OAuth1::composeSignatureBaseString() does not take URL query string into account (klimov-paul)
  • Enh #155: Added \yii\authclient\OpenIdConnect supporting OpenID Connect protocol (klimov-paul)
  • Enh #156: Added \yii\authclient\signature\RsaSha and \yii\authclient\signature\HmacSha supporting general ‘SHAwithRSA’ and ‘HMAC SHA’ signature methods (klimov-paul)
  • Enh #157: Added \yii\authclient\OAuth2::authenticateUserJwt() supporting authentication via JSON Web Token (JWT) (klimov-paul)
  • Enh #163: Added support for exchanging access token at yii\authclient\clients\Facebook (klimov-paul)
  • Enh #163: Added support for client-specific access tokens at yii\authclient\clients\Facebook (klimov-paul)
  • Chg #163: yii\authclient\clients\Facebook::$autoRefreshAccessToken is now disabled by default (klimov-paul)

2.1.2 February 15, 2017

  • Bug #135: Fixed \yii\authclient\OAuth1::fetchRequestToken() duplicates auth params in the request body, which may cause error on some OAuth 1.0 providers (klimov-paul)
  • Bug #149: Changed $ to jQuery to prevent global conflicts in widget JavaScript (Ariestattoo)
  • Enh #67: Added appsecret_proof generation for the API requests at yii\authclient\clients\Facebook (blackhpro, SDKiller, klimov-paul)

2.1.1 August 29, 2016

  • Bug #128: Fixed \yii\authclient\BaseClient::createRequest() does not apply defaultRequestOptions and requestOptions (klimov-paul)
  • Bug #130: Fixed \yii\authclient\OAuth1::fetchRequestToken() unable to unset current access token (klimov-paul)
  • Enh #27: Added \yii\authclient\OAuth1::authorizationHeaderMethods option allowing to control request methods, which require authorization header (klimov-paul)
  • Enh #132: URL endpoints for authUrl and tokenUrl for yii\authclient\clients\VKontakte updated (KhristenkoYura)

2.1.0 August 04, 2016

  • Enh #27: This extension no longer require PHP ‘cURL’ extension to be installed (klimov-paul)
  • Enh #30: Added support for ‘client_credentials’ grant type via \yii\authclient\OAuth2::authenticateClient() (klimov-paul)
  • Enh #33: Added ability to pass raw request content at \yii\authclient\BaseOAuth::api() (klimov-paul)
  • Enh #41: Added support for signature generation from request token at \yii\authclient\OAuth1::fetchAccessToken() (klimov-paul)
  • Enh #63: Markup for \yii\authclient\widgets\AuthChoice simplified (klimov-paul)
  • Enh #108: This extension now uses yii2-httpclient library for the HTTP requests (klimov-paul)
  • Enh #118: Added support for ‘password’ grant type via \yii\authclient\OAuth2::authenticateUser() (klimov-paul)
  • Enh #121: Auth client ‘State Storage’ abstraction layer extracted (klimov-paul)
  • Enh #124: Methods clientLink() and renderMainContent() of yii\authclient\widgets\AuthChoice reworked to return HTML instead of echo (klimov-paul)
  • Enh #127: Auth ‘state’ validation added to OAuth2 for preventing cross-site request forgery (klimov-paul)

2.0.6 July 08, 2016

  • Bug #37: Fixed \yii\authclient\widgets\AuthChoice overrides any <a> tag click behavior between begin() and end() methods (klimov-paul)
  • Enh #31: Allow to disable automatic ‘refresh access token’ requests (klimov-paul)
  • Enh #58: Added support for user attribute request params setup for Twitter (umanamente, klimov-paul)
  • Enh #111: yii\authclient\clients\GitHub now retrieves user email even if it is set as ‘private’ at GitHub account (klimov-paul)

2.0.5 September 23, 2015

  • Bug #25: yii\authclient\BaseOAuth now can be used without without session application component available (klimov-paul)
  • Enh #40: Added attributeNames field to yii\authclient\clients\Facebook, which allows definition of attributes list fetched from API (samdark)
  • Chg: #47: Default popup size for yii\authclient\clients\Facebook has been increased up to 860x480 (lame07, klimov-paul)

2.0.4 May 10, 2015

  • Bug #7224: Fixed incorrect POST fields composition at yii\authclient\OAuth1 (klimov-paul)
  • Bug #7639: Automatic exception throw on ‘error’ key presence at yii\authclient\BaseOAuth::processResponse() removed (klimov-paul)
  • Enh #17: Added attributeNames field to yii\authclient\clients\VKontakte and yii\authclient\clients\LinkedIn, which allows definition of attributes list fetched from API (klimov-paul)
  • Enh #6743: Icon for Google at yii\authclient\widgets\AuthChoice fixed to follow the Google Brand guidelines (klimov-paul)
  • Enh #7733: yii\authclient\clients\VKontakte now gets attributes from access token also (klimov-paul)
  • Enh #7754: New client yii\authclient\clients\GooglePlus added to support Google recommended auth flow (klimov-paul)
  • Chg: #7754: yii\authclient\clients\GoogleOpenId is now deprecated because this auth method is no longer supported by Google as of April 20, 2015 (klimov-paul)

2.0.3 March 01, 2015

  • Enh #6892: Default value of yii\authclient\clients\Twitter::$authUrl changed to ‘authenticate’, allowing usage of previous logged user without request an access (kotchuprik)

2.0.2 January 11, 2015

  • Bug #6502: Fixed \yii\authclient\OAuth2::refreshAccessToken() does not save fetched token (sebathi)
  • Bug #6510: Fixed infinite redirect loop using default \yii\authclient\AuthAction::cancelUrl (klimov-paul)

2.0.1 December 07, 2014

  • Bug #6000: Fixed CCS for yii\authclient\widgets\AuthChoice does not loaded if popupMode disabled (klimov-paul)

2.0.0 October 12, 2014

  • Enh #5135: Added ability to operate nested and complex attributes via yii\authclient\BaseClient::normalizeUserAttributeMap (zinzinday, klimov-paul)

2.0.0-rc September 27, 2014

  • Bug #3633: OpenId return URL comparison advanced to prevent url encode problem (klimov-paul)
  • Bug #4490: yii\authclient\widgets\AuthChoice does not preserve initial settings while opening popup (klimov-paul)
  • Bug #5011: OAuth API Response with 20x status were not considered success (ychongsaytc)
  • Enh #3416: VKontakte OAuth support added (klimov-paul)
  • Enh #4076: Request HTTP headers argument added to yii\authclient\BaseOAuth::api() method (klimov-paul)
  • Enh #4134: yii\authclient\InvalidResponseException added for tracking invalid remote server response (klimov-paul)
  • Enh #4139: User attributes requesting at GoogleOAuth switched to Google+ API (klimov-paul)

2.0.0-beta April 13, 2014

  • Initial release.

Все комментарии (0)
Нет комментариев

dev-master — 19 окт. 2018 г., 0:25:38 (месяц назад)

2.1.7 — 20 сент. 2018 г., 10:23:55 (месяц назад)

2.1.6 — 07 сент. 2018 г., 0:30:50 (2 месяца назад)

2.1.5 — 08 февр. 2018 г., 0:12:40 (9 месяцев назад)

2.1.4 — 03 нояб. 2017 г., 15:32:29 (год назад)

2.1.3 — 23 июня 2017 г., 12:45:49 (год назад)

2.1.2 — 15 февр. 2017 г., 17:34:51 (год назад)

2.1.1 — 29 авг. 2016 г., 12:21:09 (2 года назад)

2.1.0 — 04 авг. 2016 г., 16:41:57 (2 года назад)

2.0.6 — 08 июля 2016 г., 16:58:12 (2 года назад)

2.0.5 — 23 сент. 2015 г., 20:26:02 (3 года назад)

2.0.4 — 11 мая 2015 г., 1:07:56 (3 года назад)

2.0.3 — 01 марта 2015 г., 9:22:44 (3 года назад)

2.0.2 — 11 янв. 2015 г., 6:57:55 (3 года назад)

2.0.1 — 07 дек. 2014 г., 19:42:41 (3 года назад)

2.0.0 — 12 окт. 2014 г., 21:09:06 (4 года назад)

2.0.0-rc — 28 сент. 2014 г., 5:59:54 (4 года назад)

2.0.0-beta — 14 апр. 2014 г., 1:58:59 (4 года назад)

Стандартная установка:

Добавьте composer.json файл вашего проекта:

"yiisoft/yii2-authclient": "*"

Запустите обновление зависимостей


Читать про обнолвение SkeekS CMS