tradecoverexchange/google-cloud-jwt-validator
Composer 安装命令:
composer require tradecoverexchange/google-cloud-jwt-validator
包简介
A package for validating Google Cloud's JWT provided by webhooks
README 文档
README
A package for validating the authenticity of incoming Google Cloud requests such as those used by Google Cloud Tasks or Google Cloud Scheduler. Laravel supported.
Installation
You can install the package via composer:
composer require tradecoverexchange/google-cloud-jwt-validator
Usage
The only implementation so far is with Laravel. It can be used as a middleware to block requests without a valid JWT authentication token.
<?php // routes/web.php Route::get('/') ->middleware( \TradeCoverExchange\GoogleJwtVerifier\Laravel\AuthenticateByOidc::middleware('server_account_email@google.com') );
Testing
composer test
Changelog
Please see CHANGELOG for more information on what has changed recently.
Contributing
Please see CONTRIBUTING for details.
About Us
Trade Cover Exchange is a platform for insuring your trade with other companies, protecting you from instabilities in the supply chain.
We proudly use the Google Cloud platform for our service and hope to share more of our work with the developer community in the future.
Security
If you discover any security related issues, please email peter@tradecoverexchange.com instead of using the issue tracker.
Credits
License
The MIT License (MIT). Please see License File for more information.
统计信息
- 总下载量: 7.98k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 2
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2020-08-17