ValidateSignature
class ValidateSignature (View source)
Properties
| protected array<int,string> | $ignore | The names of the parameters that should be ignored. | |
| static protected array | $neverValidate | The globally ignored parameters. |
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. | |
| static void | except(array|string $parameters)
Indicate that the given parameters should be ignored during signature validation. |
Details
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.
protected array parseArguments(array $args)
Parse the additional arguments given to the middleware.
static void except(array|string $parameters)
Indicate that the given parameters should be ignored during signature validation.
© Taylor Otwell
Licensed under the MIT License.
Laravel is a trademark of Taylor Otwell.
https://laravel.com/api/11.x/Illuminate/Routing/Middleware/ValidateSignature.html