Interface MOXMAN_Auth_IStandaloneAuthenticator

ExtendsMOXMAN_Auth_IAuthenticator
Implemented byMOXMAN_BasicAuthenticator_Plugin

Implement this interface to provide an authenticator with login/logout.

Public Methods

Hide inherited methods

MethodDescriptionDefined 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

login() public abstract method

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.

logout() public abstract method

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.