Piwik\Plugins\Login\SessionInitializer::doAuthenticateSession PHP Méthode

doAuthenticateSession() protected méthode

Derived classes can override this method to customize authentication logic or impose extra requirements on the user trying to login.
protected doAuthenticateSession ( Piwik\Auth $auth ) : Piwik\AuthResult
$auth Piwik\Auth The Auth implementation to use when authenticating.
Résultat Piwik\AuthResult
    protected function doAuthenticateSession(AuthInterface $auth)
    {
        Piwik::postEvent('Login.authenticate', array($auth->getLogin()));
        return $auth->authenticate();
    }