PHP code example of tradecoverexchange / google-cloud-jwt-validator
1. Go to this page and download the library: Download tradecoverexchange/google-cloud-jwt-validator 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/ */
tradecoverexchange / google-cloud-jwt-validator example snippets
php
// routes/web.php
Route::get('/')
->middleware(
\TradeCoverExchange\GoogleJwtVerifier\Laravel\AuthenticateByOidc::middleware('[email protected]')
);