need to get a user authenticated in a mobile app from credential existing in the cookie sent .
an object which contains all ingredients from MobileApp cookie to authenticate mobile user:
public class MitCredentials
{
/// <summary>
/// Gets or sets a BreadcrumbId which is stored in a MobileApp credentials cookie.
/// </summary>
[DataMember]
public string BreadcrumbId { get; set; }
/// <summary>
/// Gets or sets a CREDENTIAL_TYPE which is stored in a MobileApp credentials cookie.
/// </summary>
[DataMember]
public string CredentialType { get; set; }
/// <summary>
/// Gets or sets a INTERESTED_PARTY_PUBLIC_ID which is stored in a MobileApp credentials cookie.
/// </summary>
[DataMember]
public string InterestedPartyPublicId { get; set; }
.....
I need to send this via service to authenticate a user in a mobile app
How can I proceed? Do I need to create an interface and another class to implement this interface.
Member
61 Points
116 Posts
Authentication from cookie
Jun 26, 2015 11:56 AM|Yosr Jemili|LINK
Hello
need to get a user authenticated in a mobile app from credential existing in the cookie sent .
an object which contains all ingredients from MobileApp cookie to authenticate mobile user:
I need to send this via service to authenticate a user in a mobile app
How can I proceed? Do I need to create an interface and another class to implement this interface.
What are the steps please
Best Regards
service Cookie
All-Star
18815 Points
3831 Posts
Re: Authentication from cookie
Jun 29, 2015 02:10 AM|Nan Yu|LINK
Hi yosr ,
Thanks for your post .
According to your description ,it seems that you could call a web service to authenticate a user with the information in cookie.
And it depends on which language you are using to develop your mobile app .
If you are developing a android app ,please check link below for more information :
http://forums.asp.net/t/2032485.aspx?calling+my+asmx+web+service+in+android+app .
For more information about how to call methods of a Service from activity in android:
http://stackoverflow.com/questions/4844930/how-to-call-methods-of-a-service-from-activity .
In addition . i think you could post this thread in our Mobile and Handheld Devices forum of advanced ASP.NET Forums,
You can get more professional support with high quality.
Thanks for your understanding.
Best Regards,
Nan Yu
service Cookie