Enables web site visitors to log into an ASP.NET web application via popular identity providers, including VKontakte, Odnoklassniki, Foursquare, Instagram, MailRu and other.
public static class AuthConfig
{
public static void RegisterAuth()
{
OAuthWebSecurity.RegisterClient(new VKontakteClient(
appId: "{YourAppId}",
appSecret: "YourAppSecretCode"), "VKontakte", null);
OAuthWebSecurity.RegisterClient(new OdnoklassnikiClient(
appId: "{YourAppId}",
appPublic: "{YourAppPublicCode}",
appSecret: "{YourAppSecretCode}"), "Odnoklassniki", null);
}
}