Interface MOXMAN_Auth_IAuthenticator

Implemented byMOXMAN_Auth_IStandaloneAuthenticator, MOXMAN_CakeAuthenticator_Plugin, MOXMAN_CodeIgniterAuthenticator_Plugin, MOXMAN_DrupalAuthenticator_Plugin, MOXMAN_ExternalAuthenticator_Plugin, MOXMAN_IpAuthenticator_Plugin, MOXMAN_JoomlaAuthenticator_Plugin, MOXMAN_SessionAuthenticator_Plugin, MOXMAN_SymfonyAuthenticator_Plugin

Implement this interface to provide an authenticator.

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

Method Details

authenticate() public abstract method

Gets called on a authentication request. This method should check sessions or similar to verify that the user has access to the backend.

This method should return true if the current request is authenticated or false if it's not.

public abstract boolean authenticate ( MOXMAN_Auth_User $user )
$user MOXMAN_Auth_User

User that wants to be authenticated.

return boolean

State if the user is authenticated.