Raydium Framework

GitHubWebhookMiddleware
in package
implements MiddlewareInterface

GitHubWebhookMiddleware.

This middleware validates that an incoming request has a valid GitHub HMAC signature. If valid, sets isValidGitHubSignature = true, otherwise false.

Tags
see
https://docs.github.com/en/webhooks/using-webhooks/creating-webhooks

Interfaces, Classes, Traits and Enums

MiddlewareInterface

Table of Contents

$gitHubSecret  : string|null
process()  : ResponseInterface
Process the incoming server request and return a response.

Properties

Methods

process()

Process the incoming server request and return a response.

public process(ServerRequestInterface $request, RequestHandlerInterface $handler) : ResponseInterface
Parameters
$request : ServerRequestInterface
$handler : RequestHandlerInterface
Return values
ResponseInterface

Search results