Add references and LoginRadiusSDKv2 Namespace
Add SDK references in web project or LoginRadiusSDK.dll, LoginRadiusDataObject.dll and Newtonsoft.Json.dll to the bin directory (in visual studio website project).
Add namespace in the code behind file
In c#
using LoginRadiusSDKv2;

In VB.NET
Imports LoginRadiusSDKv2

Validate, authenticate and store data from LoginRadius:
This step is same for ASP.Net webform as well as MVC pattern.
On the page load event of your callback page, create an object of LoginRadius by passing your unique secret key.

Check loginradius 'IsAuthenticated' property, then fetch the user profile data using GetBasicUserProfile() method.This method contain user data properties like FirstName, LastName, BirthDate, Country, NickName, Gender, ProfileName etc.

For more information visit: https://www.loginradius.com/developers/implementation/dot-net-websites

Last edited Jun 19, 2012 at 4:30 AM by LoginRadius, version 3

Comments

No comments yet.