trait AuthorizesRequests

Properties

static Closure|null $authUsing

The callback that should be used to authenticate Telescope users.

Methods

auth(Closure|null $callback)

Register the Telescope authentication callback.

static bool
check(Request $request)

Determine if the given request can access the Telescope dashboard.

Details

at line 24
static AuthorizesRequests auth(Closure|null $callback)

Register the Telescope authentication callback.

Boot-only. The callback persists in a static property for the worker lifetime and runs on every Telescope dashboard request across all coroutines.

Parameters

Closure|null $callback

Return Value

AuthorizesRequests

at line 34
static bool check(Request $request)

Determine if the given request can access the Telescope dashboard.

Parameters

Request $request

Return Value

bool