Class Socialveo\Admin\Controllers\AuthController

InheritanceSocialveo\Admin\Controllers\AuthController » Socialveo\Admin\Controllers\AdminController » Phalcon\Mvc\Controller

Class AuthController

Protected Methods

Hide inherited methods

MethodDescriptionDefined By
checkAccess() Checks during the init of controller whether user is a guest. Socialveo\Admin\Controllers\AuthController
getLanguage() Gets language code Socialveo\Admin\Controllers\AdminController
getTranslation() Gets translations Socialveo\Admin\Controllers\AdminController
initAssets() Initialize assets Socialveo\Admin\Controllers\AdminController

Method Details

checkAccess() protected method

Checks during the init of controller whether user is a guest.

Override this method to allow guests access to actions of the specific controller, like in AuthController

protected boolean|mixed checkAccess ( )
loginAction() public method

Login action

public Phalcon\Http\Response|Phalcon\Http\ResponseInterface loginAction ( )
logoutAction() public method

Logout action

public Phalcon\Http\Response|Phalcon\Http\ResponseInterface logoutAction ( )