PHP code example of windhoney / yii2-oauth2-server-fix

1. Go to this page and download the library: Download windhoney/yii2-oauth2-server-fix library. Choose the download type require.

2. Extract the ZIP file and open the index.php.

3. Add this code to the index.php.
    
        
<?php
require_once('vendor/autoload.php');

/* Start to develop here. Best regards https://php-download.com/ */

    

windhoney / yii2-oauth2-server-fix example snippets


'oauth2' => [
    'class' => '\wind\oauth2\Module',
    'db' => 'rbac_db'//oauth专属db
]