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
logAccess()
protected
logAccess(User $user, Request $request) : void
Parameters
- $user : User
- $request : Request
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>