PHP 클래스 app\main\controllers\AuthController

상속: extends Controller
파일 보기 프로젝트 열기: phalconslayer/slayer

공개 메소드들

메소드 설명
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.

메소드 상세

activateUser() 공개 메소드

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

attemptToLogin() 공개 메소드

POST | This handles the loging.
public attemptToLogin ( ) : mixed
리턴 mixed

initialize() 공개 메소드

public initialize ( )

logout() 공개 메소드

GET, POST | This logouts the current session logged-in.
public logout ( ) : mixed
리턴 mixed

showLoginForm() 공개 메소드

GET | This shows the login form.
public showLoginForm ( ) : mixed
리턴 mixed

showRegistrationForm() 공개 메소드

GET | This shows the form to register.
public showRegistrationForm ( ) : mixed
리턴 mixed

storeRegistrationForm() 공개 메소드

POST | This handles the registration with validation.
public storeRegistrationForm ( ) : mixed
리턴 mixed