PHP Class PMA\libraries\plugins\auth\AuthenticationHttp

Inheritance: extends PMA\libraries\plugins\AuthenticationPlugin
Show file Open project: phpmyadmin/phpmyadmin Class Usage Examples

Public Methods

Method Description
auth ( ) : boolean Displays authentication form and redirect as necessary
authCheck ( ) : boolean Gets advanced authentication settings
authFails ( ) : boolean User is not allowed to login to MySQL -> authentication failed
authForm ( ) : boolean Displays authentication form
authSetUser ( ) : boolean Set the user and password after last checkings if required
getLoginFormURL ( ) : string Returns URL for login form.

Method Details

auth() public method

Displays authentication form and redirect as necessary
public auth ( ) : boolean
return boolean always true (no return indeed)

authCheck() public method

Gets advanced authentication settings
public authCheck ( ) : boolean
return boolean whether we get authentication settings or not

authFails() public method

User is not allowed to login to MySQL -> authentication failed
public authFails ( ) : boolean
return boolean true

authForm() public method

Displays authentication form
public authForm ( ) : boolean
return boolean

authSetUser() public method

Set the user and password after last checkings if required
public authSetUser ( ) : boolean
return boolean always true

getLoginFormURL() public method

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