MetaFox

AuthenticateAdminCP extends Authenticate
in package

Class AuthenticateAdminCP.

Table of Contents

Methods

handle()  : mixed
Handle an incoming request.
logAccess()  : void
redirectTo()  : void
Get the path the user should be redirected to when they are not authenticated.
unauthenticated()  : void
Handle an unauthenticated user.

Methods

handle()

Handle an incoming request.

public handle(Request $request, Closure $next, array<string|int, string> ...$guards) : mixed
Parameters
$request : Request
$next : Closure
$guards : array<string|int, string>
Tags
throws
AuthenticationException

redirectTo()

Get the path the user should be redirected to when they are not authenticated.

protected redirectTo(Request $request) : void
Parameters
$request : Request

unauthenticated()

Handle an unauthenticated user.

protected unauthenticated(Request $request, array<string|int, mixed> $guards) : void
Parameters
$request : Request
$guards : array<string|int, mixed>
Tags
SuppressWarnings

(PHPMD.UnusedFormalParameter)


        
On this page

Search results