This extension provides The PHP League: OAuth 2.0 Server module for the Yii2 Framework.
The PHP League: OAuth 2.0 Server is a package that makes setting up a OAuth2 server easy.
The preferred way to install this extension is through composer.
Either run
$ composer require jc-it/yii2-oauth2-server
or add
"jc-it/yii2-oauth2-server": "^<latest version>"
to the require
section of your composer.json
file.
- module config
- user repository config (in DI or module)