PHP code example of liplum / flarum-jwt-auth
1. Go to this page and download the library: Download liplum/flarum-jwt-auth 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/ */
liplum / flarum-jwt-auth example snippets
return array (
'debug' => false,
// other configurations...
"liplum-jwt-auth" => array(
"jwtSecret" => "access_token_secret"
),
);
return array (
'debug' => false,
// other configurations...
"liplum-jwt-auth" => array(
"authorizationHeader" => "Bearer your_access_token"
),
);