AjaxLogin
Authenticates a user using username and password provided in the query string. Authentication cookie is set as a result.
Parameters
username | Username to check. |
---|---|
password | Password to check. |
Returns
JSON string with the following values:
Status | int | Status code.
|
---|---|---|
Message | string | Status clarification. |
Example Request
AjaxSignOut
Sign out current user – resets an authentication cookie and releases user-related data from the server.
RETURNS
JSON string with the following values:
Status | int | Status code.
|
---|---|---|
Message | string | Status clarification. |
Configuration
In order to enable AjaxLogin
to all users you need to add the following part into your web.config file:
web.config