PHP 클래스 PMA\libraries\plugins\AuthenticationPlugin

파일 보기 프로젝트 열기: phpmyadmin/phpmyadmin 1 사용 예제들

공개 메소드들

메소드 설명
auth ( ) : boolean Displays authentication form
authCheck ( ) : boolean Gets advanced authentication settings
authFails ( ) : boolean User is not allowed to login to MySQL -> authentication failed
authSetUser ( ) : boolean Set the user and password after last checkings if required
getErrorMessage ( ) : string Returns error message for failed authentication.
getLoginFormURL ( ) : string Returns URL for login form.
handlePasswordChange ( string $password ) : void Callback when user changes password.
logOut ( ) : void Perform logout
setSessionAccessTime ( ) : void Store session access time in session.
storeUserCredentials ( ) : void Stores user credentials after successful login.

메소드 상세

auth() 추상적인 공개 메소드

Displays authentication form
abstract public auth ( ) : boolean
리턴 boolean

authCheck() 추상적인 공개 메소드

Gets advanced authentication settings
abstract public authCheck ( ) : boolean
리턴 boolean

authFails() 추상적인 공개 메소드

User is not allowed to login to MySQL -> authentication failed
abstract public authFails ( ) : boolean
리턴 boolean

authSetUser() 추상적인 공개 메소드

Set the user and password after last checkings if required
abstract public authSetUser ( ) : boolean
리턴 boolean

getErrorMessage() 공개 메소드

Returns error message for failed authentication.
public getErrorMessage ( ) : string
리턴 string

getLoginFormURL() 공개 메소드

Returns URL for login form.
public getLoginFormURL ( ) : string
리턴 string

handlePasswordChange() 공개 메소드

Callback when user changes password.
public handlePasswordChange ( string $password ) : void
$password string New password to set
리턴 void

logOut() 공개 메소드

Perform logout
public logOut ( ) : void
리턴 void

setSessionAccessTime() 공개 메소드

Tries to workaround PHP 5 session garbage collection which looks at the session file's last modified time
public setSessionAccessTime ( ) : void
리턴 void

storeUserCredentials() 공개 메소드

Stores user credentials after successful login.
public storeUserCredentials ( ) : void
리턴 void