VerifyMemberCredentials
The VerifyMemberCredentials API checks if a member with the specified credentials is valid. Upon the successful authentication, the member information including the recent activity is returned.
Parameters
- username-Login name of the member. Depending on the home site settings, this may be a user-generated string or the member email. See GetStationInfo method for more information
- pw– Member’s password
- siteID– Numeric identifier of the Site in the Frankly Media database
- partnerName – Unique identifier of the 3rd party calling the API. Provided by Frankly Media
- token – An encrypted string constructed using the passed-in parameters and the partner-specific “shared secret” provided by the Frankly Media. Unless requested differently by the partner, the MD5 hashing algorithm is used to produce the token. For the purpose of this call the following formula should be used: md5(username + pw + siteID+ shared secret). For the generic example refer to this article.
How to call
URL Format: https://api.enticent.com/Subscriptions.svc/VerifyMemberCredentials/?username={username}&pw={pw}&siteID={siteID}&partnerName={partnerName}&token={token}. https://api.enticent.com/Subscriptions.svc/VerifyMemberCredentials/[email protected]&pw=password&siteID=1378&partnerName=STW&token=0E-EE-73-3C-F8-03-3B-FE-6C-B8-43-6C-65-86-AC-6B
Return Value
The following XML structure is returned in the success scenario:
<member xmlns=”http://schemas.datacontract.org/2004/07/ListenerAPI.DataObjects” xmlns:i=”http://www.w3.org/2001/XMLSchema-instance”>
<memberID>10538238</memberID>
<firstName>Brooks</firstName>
<lastName>O’Brian</lastName>
<dob>1950-01-01T00:00:00</dob>
<homePhone>999-999-9999</homePhone>
<workPhone />
<mobilePhone />
<address1 />
<address2 />
<city />
<state />
<zipCode>30144</zipCode>
<email>[email protected]</email>
<gender>M</gender>
<siteID>718</siteID>
<LastLogin>2009-02-24T22:53:00</LastLogin>
<TotalPoints>1000</TotalPoints>
</member>