<p align="center">
    <a href="https://github.com/yiisoft" target="_blank">
        <img src="https://avatars0.githubusercontent.com/u/993323" height="100px">
    </a>
    <h1 align="center">AuthClient Extension for Yii 2</h1>
    <br>
</p>

This extension adds [OpenID](http://openid.net/), [OAuth](http://oauth.net/), [OAuth2](http://oauth.net/2/) and [OpenId Connect](http://openid.net/connect/)
consumers for the [Yii framework 2.0](http://www.yiiframework.com).

For license information check the [LICENSE](https://github.com/yiisoft/yii2-authclient/blob/master/LICENSE.md)-file.

Documentation is at [docs/guide/README.md](https://github.com/yiisoft/yii2-authclient/blob/master/docs/guide/README.md).

[![Latest Stable Version](https://poser.pugx.org/yiisoft/yii2-authclient/v/stable.png)](https://packagist.org/packages/yiisoft/yii2-authclient)
[![Total Downloads](https://poser.pugx.org/yiisoft/yii2-authclient/downloads.png)](https://packagist.org/packages/yiisoft/yii2-authclient)
[![Build Status](https://github.com/yiisoft/yii2-authclient/workflows/build/badge.svg)](https://github.com/yiisoft/yii2-authclient/actions)

Installation
------------

The preferred way to install this extension is through [composer](http://getcomposer.org/download/).

Either run

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

or add

```json
"yiisoft/yii2-authclient": "~2.2.0"
```

to the `require` section of your composer.json.
