ValidateOrigin
class ValidateOrigin
Methods
Response
string|null
origin(string $value, bool $allowPath = false)
Normalize an HTTP origin without making a network request.
Details
at line 20
__construct(Repository $config)
Create the origin middleware.
at line 27
Response
handle(Request $request, Closure $next)
Reject browser origins that the application has not allowed.
at line 56
protected string|null
origin(string $value, bool $allowPath = false)
Normalize an HTTP origin without making a network request.