PHP code example of iansimpson / ss-oauth2-server

1. Go to this page and download the library: Download iansimpson/ss-oauth2-server 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/ */

    

iansimpson / ss-oauth2-server example snippets


$member = IanSimpson\OAuth2\OauthServerController::getMember($this);
sh
php -r 'echo base64_encode(random_bytes(36)), PHP_EOL;'