Skip to content

drussilla/Duke.Owin.VkontakteMiddleware

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 

Repository files navigation

VkontakteMiddleware

mvc 5 owin module for vk.com (vkontakte.ru)

How to use?

  1. Add nuget package - search for "Duke.Owin.VkontakteMiddleware"
  2. Add module in Startup.Auth.cs of your mvc 5 project

app.UseVkontakteAuthentication("{AppId}", "{AppSecret}", "{PERMISSIONS}");

{PERMISSIONS} - it is the comma-separated string. For example "email,audio" More info here http://vk.com/dev/permissions

How to register app in vk.com?

Info here http://vk.com/dev

Live example

http://freemusiclib.com/Account/Login

Updated to v1.2

Now it correctly return scope "Email" for Owin 2.1.0.0

Contacts

skype - duke_nuken23

About

mvc 5 owin module for vk.com (vkontakte.ru)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C# 100.0%