class Hypervel extends Driver

Methods

__construct(Closure $applicationResolver)

Construct a new driver.

from  Driver
bool
authorize(Request $request)

Authorize access for the request.

void
authorizeOrFail(Request $request)

Authorize access for the request or throw an exception.

from  Driver
bool
authorizeAccessingViaReverseProxies(Request $request)

Authorize accessing via reverse proxies.

from  Driver
bool
isPrivateIp(string $requestIp)

Check if an IPv4 or IPv6 address is contained in the list of private IP subnets.

from  Driver
app()

Get the application instance.

from  Driver

Details

in Driver at line 20
__construct(Closure $applicationResolver)

Construct a new driver.

Parameters

Closure $applicationResolver

at line 18
bool authorize(Request $request)

Authorize access for the request.

Parameters

Request $request

Return Value

bool

Exceptions

RuntimeException

in Driver at line 34
void authorizeOrFail(Request $request)

Authorize access for the request or throw an exception.

Parameters

Request $request

Return Value

void

Exceptions

AuthorizationException

in Driver at line 44
protected bool authorizeAccessingViaReverseProxies(Request $request)

Authorize accessing via reverse proxies.

Parameters

Request $request

Return Value

bool

in Driver at line 59
protected bool isPrivateIp(string $requestIp)

Check if an IPv4 or IPv6 address is contained in the list of private IP subnets.

Parameters

string $requestIp

Return Value

bool

in Driver at line 67
protected Application app()

Get the application instance.

Return Value

Application