\App\Http\Controllers\AdminLoginController

Summary

Methods
Properties
Constants
home()
__construct()
refresh()
me()
login()
logout()
username()
No public properties found
No constants found
guard()
respondWithTokenData()
No protected properties found
N/A
No private methods found
No private properties found
N/A

Methods

home()

home() : \Illuminate\Contracts\View\View

homePage

Returns

\Illuminate\Contracts\View\View

__construct()

__construct() : void

Create a new controller instance.

refresh()

refresh() : \Symfony\Component\HttpFoundation\Response

Refresh token

Returns

\Symfony\Component\HttpFoundation\Response

me()

me() : \Symfony\Component\HttpFoundation\Response

Get the guard info

Returns

\Symfony\Component\HttpFoundation\Response

login()

login(\App\Http\Requests\Admin\LoginRequest  $request) : \Symfony\Component\HttpFoundation\Response

Handle a login request to the application.

Parameters

\App\Http\Requests\Admin\LoginRequest $request

Returns

\Symfony\Component\HttpFoundation\Response

logout()

logout() : \Symfony\Component\HttpFoundation\Response

Log the user out of the application.

Returns

\Symfony\Component\HttpFoundation\Response

username()

username() : string

Get the login username to be used by the controller.

Returns

string

guard()

guard() : \Illuminate\Contracts\Auth\Guard

Get the guard to be used during authentication.

Returns

\Illuminate\Contracts\Auth\Guard

respondWithTokenData()

respondWithTokenData(string  $token) : array

Get the token array structure.

Parameters

string $token

Returns

array