Interface MOXMAN_Auth_IStandaloneAuthenticator
Extends | MOXMAN_Auth_IAuthenticator |
---|---|
Implemented by | MOXMAN_BasicAuthenticator_Plugin |
Implement this interface to provide an authenticator with login/logout.
Public Methods
Method | Description | Defined By |
---|---|---|
authenticate() | Gets called on a authentication request. This method should check sessions or similar to verify that the user has access to the backend. | MOXMAN_Auth_IAuthenticator |
login() | Gets calles when the user is logging in using the built in login dialog. | MOXMAN_Auth_IStandaloneAuthenticator |
logout() | Gets called when the user is logging out. This could for example destroy sessions. | MOXMAN_Auth_IStandaloneAuthenticator |
Method Details
Gets calles when the user is logging in using the built in login dialog.
public abstract boolean login ( MOXMAN_Auth_User $user ) | ||
$user | MOXMAN_Auth_User | User that wants to login. |
return | boolean | State if the user is logged in or not. |
---|
Gets called when the user is logging out. This could for example destroy sessions.
public abstract void logout ( MOXMAN_Auth_User $user ) | ||
$user | MOXMAN_Auth_User | User that wants to logout. |