PHPackages                             tradecoverexchange/google-cloud-jwt-validator - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Authentication &amp; Authorization](/categories/authentication)
4. /
5. tradecoverexchange/google-cloud-jwt-validator

ActiveLibrary[Authentication &amp; Authorization](/categories/authentication)

tradecoverexchange/google-cloud-jwt-validator
=============================================

A package for validating Google Cloud's JWT provided by webhooks

v1.2.0(5y ago)08.0k11MITPHPPHP ^7.3|^8.0

Since Aug 15Pushed 3y ago1 watchersCompare

[ Source](https://github.com/tradecoverexchange/google-cloud-jwt-validator)[ Packagist](https://packagist.org/packages/tradecoverexchange/google-cloud-jwt-validator)[ Docs](https://github.com/tradecoverexchange/google-cloud-jwt-validator)[ RSS](/packages/tradecoverexchange-google-cloud-jwt-validator/feed)WikiDiscussions main Synced today

READMEChangelogDependencies (7)Versions (4)Used By (1)

Google Cloud JWT Authentication
===============================

[](#google-cloud-jwt-authentication)

[![Latest Version on Packagist](https://camo.githubusercontent.com/6402cc46025432ab7c656b5334331686e8a9a013c74adac600f75ad4789e1feb/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f7472616465636f76657265786368616e67652f676f6f676c652d636c6f75642d6a77742d76616c696461746f722e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/tradecoverexchange/google-cloud-jwt-validator)[![GitHub Tests Action Status](https://camo.githubusercontent.com/c1220df6da709b2f2dd0bf5143b9fb93a1efb3137f3c1d23568f1ff5ddbf0ed9/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f776f726b666c6f772f7374617475732f7472616465636f76657265786368616e67652f676f6f676c652d636c6f75642d6a77742d76616c696461746f722f72756e2d74657374733f6c6162656c3d7465737473)](https://github.com/tradecoverexchange/google-cloud-jwt-validator/actions?query=workflow%3Arun-tests+branch%3Amain)[![GitHub Code Style Action Status](https://camo.githubusercontent.com/75e31bb8072abd7add8952006107ab910bb45dc699ac8905e6971fe89175ca5d/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f776f726b666c6f772f7374617475732f7472616465636f76657265786368616e67652f676f6f676c652d636c6f75642d6a77742d76616c696461746f722f436865636b253230262532306669782532307374796c696e673f6c6162656c3d636f64652532307374796c65)](https://github.com/tradecoverexchange/google-cloud-jwt-validator/actions?query=workflow%3A%22Check+%26+fix+styling%22+branch%3Amain)[![Total Downloads](https://camo.githubusercontent.com/19692fd4d0150a39db5fde92391e75aa527ff918198329cc94821b5443793af4/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f7472616465636f76657265786368616e67652f676f6f676c652d636c6f75642d6a77742d76616c696461746f722e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/tradecoverexchange/google-cloud-jwt-validator)

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
------------

[](#installation)

You can install the package via composer:

```
composer require tradecoverexchange/google-cloud-jwt-validator
```

Usage
-----

[](#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.

```
