PHP code example of stormpath / lumen
1. Go to this page and download the library: Download stormpath/lumen 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/ */
stormpath / lumen example snippets
STORMPATH_CLIENT_APIKEY_ID=<YOUR-ID-HERE>
STORMPATH_CLIENT_APIKEY_SECRET=<YOUR-SECRET-HERE>
STORMPATH_APPLICATION_HREF=<YOUR-STORMPATH-APP-HREF>
$app->register(\Stormpath\Lumen\Support\StormpathServiceProvider::class);
bash
$ php artisan stormpath:config
POST /oauth/token
grant_type=password
&username=<username>
&password=<password>