API without Cake, problem with passwords

Hi,

I’m building a website (with CakePHP) and I will develop a mobile app. So, I make an API (not with cakephp) and I have some problems with the password : how can I write a request to check a user’s email and password ? How are the passwords hashed with auth component ?

Thanks a lot :slight_smile:

My solution was during user sign in process he sends his user name and pass to API and after success log in I am saving token in session and you can access to your API until the session is valid