Web API authenticate combination of username and password in appain

Hi All,

We trying to make a web API to authenticate combination of username and password and response with either users authenticated or not

using username could check if user exist or not , but how to be sure that username and password passed are right combination ?!

Thnaks

  Discussion posts and replies are publicly visible