Programming in C#: I’M having hard time while integrating live ID with my MVC Website on newest questions tagged c# – Stack Overflow
I started to search 3 days ago and I already reached a good point by authenticating the user’s and getting back the login session which contains the following data :
access_token: "xxxx" authentication_token: "xxxx" expires: "1339934686" expires_in: 3600
I want to get the user data and, if you have a previous knowledge, you will know that I need to Decode the
authentication_token value to get a JSON object containing some properties including the UserID to get the user data.
When I try to include the
JsonWebToken.cs class, which was supplied by Microsoft example, in my MVC site it couldn’t
resolve some references such as :
When i searched i found that i must add reference to
System.Runtime.Serialization.Json, System.ServiceModel, System.ServiceModel.Web.
When I did that no thing happened new.
Finally, I apologize for the long post, but my intent was to explain the problem and the steps I gone through.
I hope any body could give me a simple MVC example URL or help me with the token decoding by any why.
Programming in C#: programming-in-c