PHP Class app\main\controllers\AuthController

Inheritance: extends Controller
Afficher le fichier Open project: phalconslayer/slayer

Méthodes publiques

Méthode Description
activateUser ( $token ) : mixed GET | This activates a user record to be able to login.
attemptToLogin ( ) : mixed POST | This handles the loging.
initialize ( )
logout ( ) : mixed GET, POST | This logouts the current session logged-in.
showLoginForm ( ) : mixed GET | This shows the login form.
showRegistrationForm ( ) : mixed GET | This shows the form to register.
storeRegistrationForm ( ) : mixed POST | This handles the registration with validation.

Method Details

activateUser() public méthode

GET | This activates a user record to be able to login.
public activateUser ( $token ) : mixed
Résultat mixed

attemptToLogin() public méthode

POST | This handles the loging.
public attemptToLogin ( ) : mixed
Résultat mixed

initialize() public méthode

public initialize ( )

logout() public méthode

GET, POST | This logouts the current session logged-in.
public logout ( ) : mixed
Résultat mixed

showLoginForm() public méthode

GET | This shows the login form.
public showLoginForm ( ) : mixed
Résultat mixed

showRegistrationForm() public méthode

GET | This shows the form to register.
public showRegistrationForm ( ) : mixed
Résultat mixed

storeRegistrationForm() public méthode

POST | This handles the registration with validation.
public storeRegistrationForm ( ) : mixed
Résultat mixed