laravel / 10 / api / 10.x / illuminate / routing / middleware / validatesignature.html

ValidateSignature

class ValidateSignature (View source)

Properties

protected array<int,string> $ignore

The names of the parameters that should be ignored.

Methods

static string relative(array|string $ignore = [])

Specify that the URL signature is for a relative URL.

static class-string absolute(array|string $ignore = [])

Specify that the URL signature is for an absolute URL.

Response handle(Request $request, Closure $next, array|null ...$args)

Handle an incoming request.

array parseArguments(array $args)

Parse the additional arguments given to the middleware.

Details

static string relative(array|string $ignore = [])

Specify that the URL signature is for a relative URL.

Parameters

array|string $ignore

Return Value

string

static class-string absolute(array|string $ignore = [])

Specify that the URL signature is for an absolute URL.

Parameters

array|string $ignore

Return Value

class-string

Response handle(Request $request, Closure $next, array|null ...$args)

Handle an incoming request.

Parameters

Request $request
Closure $next
array|null ...$args

Return Value

Exceptions

protected array parseArguments(array $args)

Parse the additional arguments given to the middleware.

Parameters

array $args

Return Value

array

© Taylor Otwell
Licensed under the MIT License.
Laravel is a trademark of Taylor Otwell.
https://laravel.com/api/10.x/Illuminate/Routing/Middleware/ValidateSignature.html