Properties

$loginView

$loginView : string

Type

string

Methods

getLogin()

getLogin() : \Illuminate\Contracts\View\Factory|\Illuminate\Support\Facades\Redirect|\Illuminate\View\View

Show the login page.

Returns

\Illuminate\Contracts\View\Factory|\Illuminate\Support\Facades\Redirect|\Illuminate\View\View

postLogin()

postLogin(\Illuminate\Http\Request  $request) : mixed

Handle a login request.

Parameters

\Illuminate\Http\Request $request

Returns

mixed

sendSmsLoginCode()

sendSmsLoginCode(\Illuminate\Http\Request  $request) 

Parameters

\Illuminate\Http\Request $request

sendSmsCode()

sendSmsCode(\Illuminate\Http\Request  $request) 

Parameters

\Illuminate\Http\Request $request

smsLogin()

smsLogin() 

postSmsLogin()

postSmsLogin(\Illuminate\Http\Request  $request) 

Parameters

\Illuminate\Http\Request $request

register()

register() 

postRegister()

postRegister(\Illuminate\Http\Request  $request) 

Parameters

\Illuminate\Http\Request $request

getLogout()

getLogout(\Illuminate\Http\Request  $request) : \Illuminate\Support\Facades\Redirect

User logout.

Parameters

\Illuminate\Http\Request $request

Returns

\Illuminate\Support\Facades\Redirect

getSetting()

getSetting(\Encore\Admin\Layout\Content  $content) : \Encore\Admin\Layout\Content

User setting page.

Parameters

\Encore\Admin\Layout\Content $content

Returns

\Encore\Admin\Layout\Content

putSetting()

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

Update user setting.

Returns

\Symfony\Component\HttpFoundation\Response

smsLoginValidator()

smsLoginValidator(array  $data) 

Parameters

array $data

getRegisterValidator()

getRegisterValidator(array  $data) 

Parameters

array $data

loginValidator()

loginValidator(array  $data) : \Illuminate\Contracts\Validation\Validator

Get a validator for an incoming login request.

Parameters

array $data

Returns

\Illuminate\Contracts\Validation\Validator

settingForm()

settingForm() : \Encore\Admin\Form

Model-form for user setting.

Returns

\Encore\Admin\Form

getFailedLoginMessage()

getFailedLoginMessage() : string|\Symfony\Component\Translation\TranslatorInterface

Returns

string|\Symfony\Component\Translation\TranslatorInterface

redirectPath()

redirectPath() : string

Get the post login redirect path.

Returns

string

sendLoginResponse()

sendLoginResponse(\Illuminate\Http\Request  $request) : \Illuminate\Http\Response

Send the response after the user was authenticated.

Parameters

\Illuminate\Http\Request $request

Returns

\Illuminate\Http\Response

username()

username() : string

Get the login username to be used by the controller.

Returns

string

guard()

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

Get the guard to be used during authentication.

Returns

\Illuminate\Contracts\Auth\StatefulGuard