Skip to content

Enables web site visitors to log into an ASP.NET web application via popular identity providers, including VKontakte, Odnoklassniki, Foursquare, Instagram, MailRu and other.

Notifications You must be signed in to change notification settings

NorDroN/DotNetOpenAuth.AspNet.Extensions

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DotNetOpenAuth.AspNet.Extensions

Enables web site visitors to log into an ASP.NET web application via popular identity providers, including VKontakte, Odnoklassniki, Foursquare, Instagram, MailRu and other.

How to use

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);
    }
}

About

Enables web site visitors to log into an ASP.NET web application via popular identity providers, including VKontakte, Odnoklassniki, Foursquare, Instagram, MailRu and other.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published