Driver
abstract class Driver
Methods
void
bool
bool
isPrivateIp(string $requestIp)
Check if an IPv4 or IPv6 address is contained in the list of private IP subnets.
app()
Get the application instance.
Details
at line 20
__construct(Closure $applicationResolver)
Construct a new driver.
at line 27
abstract bool
authorize(Request $request)
Authorize access for the request.
at line 34
void
authorizeOrFail(Request $request)
Authorize access for the request or throw an exception.
at line 44
protected bool
authorizeAccessingViaReverseProxies(Request $request)
Authorize accessing via reverse proxies.
at line 59
protected bool
isPrivateIp(string $requestIp)
Check if an IPv4 or IPv6 address is contained in the list of private IP subnets.
at line 67
protected Application
app()
Get the application instance.