title: Check Login data in Code
body: <p>I'm writing an API for my Website. For Auth. i use ZfcUser. Is it possible to check the Login Data?. Like my API get per Post username/email and the password. Now i want to check if the username/email and password are correct. Also i want create a User in Code. But my problem is that the same password in ZfcUser has different hashs. I know that ZfcUser use Bycrypt but i don't know how the Cost is. In ZfcUser i found this Line:</p>
  
  <pre><code>$bcrypt-&gt;setCost($this-&gt;getOptions()-&gt;getPasswordCost());
  </code></pre>
  
  <p>ZfcUser: <a href="https://github.com/ZF-Commons/ZfcUser" rel="nofollow">https://github.com/ZF-Commons/ZfcUser</a></p>
  
  <p>mfg ternes3</p>