This API authenticates the user based on the user email address and password provided.
This method should be used whenever the calling application is a non-web based client, for example, a desktop application, an app running on mobile devices or a service that does synchronization. This method would not only authenticate the user but also set User Context required for subsequent calls. This would return the same object as returned by VIDIZMO JS Login method, including an access_token parameter that has to be passed to subsequent Web API calls.
Request
https://video.lexcorpinc.com/Handlers/SignInHandler.ashx
Parameters
Parameter |
Description |
email |
Email address part of credentials |
password |
Password which should be Base64 encoded |
et |
Its value should always be cea-10. This tells that password supplied in the previous parameter is Base64 encoded |
responseFormat |
Specifies response format which can either be JSON or XML Possible Values: JSON, XML |
group |
Name of a group to add |
Response
{ "next_page_url": "http://consumer.enterprisetube.com/Admin/ManageMashup/ManageMashups.aspx?tab=published", "session_timeout_in_minutes": 1440, "user_profile": { "anonymous": false, "default_tenant_id": 1647, "associations": [ { "is_active": true, "is_deleted": false, "registration_status": 2, "user_profile": null, "tenant": { "id": 1643, "name": "LexCorp", "domain": "video.lexcorpinc.com", "logo_url": "//az2310.vo.msecnd.net/et-1643/117290/Images/00000c/C3E88E17373920130827123823812.png", "parent_tenant_id": 0, "weight": 0, "is_featured": null }, "tenant_id": 1643, "user_id": 150807 } ], "federateed_users": [ ], "id": 91821, "first_name": "Mark", "last_name": "Turner", "email_address": "obaid.feroze@vidizmo.org" }, "access_token": "HLtqDMxfm7hmBLP%2fDMS8RaDjlUGK3DY2qgCHf7YhStBgY0Ka2UKIHpLj2KvupImodV%2fhl8IQ2RS5Q6GnCaF8xfzCt9mQbpVZ%2fGVHHDXf0hmZNRQgm3YLDt%2fie5aaHEIf", "status": 1, "status_code": 200, "message": null }
To learn more how these Widgets work, click here on VIDIZMO Web API Library.
For a complete list of VIDIZMO APIs, click here on VIDIZMO Developer APIs.