title: Auth component in Cakephp 3.0
body: <p>I have a free installed instance of Cakephp 3.0 with several code examples, everything is working fine. Now I want to create a Auth component in ./src/Auth, concerning the documentation <a href="http://book.cakephp.org/3.0/en/controllers/components/authentication.html#creating-custom-authentication-objects:" rel="nofollow">here</a></p>
  
  <p>Thats my code:</p>
  
  <pre><code>&lt;?php
  namespace App\Auth; 
  use Cake\Auth\BaseAuthenticate;
  class AlephAuthenticate extends BaseAuthenticate
  {
      public function authenticate(Request $request, Response $response)
      {
          // Do things for OpenID here.
          // Return an array of user if they could authenticate the user,
          // return false if not.
      }
  }
  </code></pre>
  
  <p>In AppContoller.php I initialize this component:</p>
  
  <pre><code>public function initialize() {
          $this-&gt;loadComponent('Auth');
          $this-&gt;Auth-&gt;config('authenticate', ['Aleph']);
      }
  </code></pre>
  
  <p>Calling the application URL in the browser shows:</p>
  
  <p>Fatal error: Declaration of App\Auth\AlephAuthenticate::authenticate() must be compatible with Cake\Auth\BaseAuthenticate::authenticate(Cake\Network\Request $request, Cake\Network\Response $response) in /var/www/art/src/Auth/AlephAuthenticate.php on line 7</p>
  
  <p>Any idea whats wrong here?</p>
  
  <p>Thanks!</p>
  
  <p>Christoph</p>