Ifd:login
From dev.ifd-library.org
API version 2
String login(String email, String password)
throws IfdServerException
Method to login the user if password is correct, and return a session id
Input:
-
string emailThe email of the user logging in, serving as the login identifier. -
string passwordThe password of the user logging in.
Return:
-
string- a string with the session id for the user
API version 3
No change in function i API 3.0
Comments: I kind of like the idea of using the email as the unique login id for the user. This ensures uniqeness, and it is convenient. Many sites to this, and to me it feels right. What do you think?