Skip to content
This repository has been archived by the owner on Dec 6, 2020. It is now read-only.

Latest commit

 

History

History
21 lines (17 loc) · 571 Bytes

File metadata and controls

21 lines (17 loc) · 571 Bytes

ASP.NET Core Vkontakte middleware

An ASP.NET Core middleware for authenticating users using Vkontakte

Installing

PM> Install-Package Brik.Security.VkontakteMiddleware -Pre

Usage

app.UseVkontakteAuthentication(new VkontakteOptions
{
    ClientId = Configuration["vkontakte:appid"],
    ClientSecret = Configuration["vkontakte:appsecret"],
    SaveTokens = true
});

This is an obsolete version, please use middleware from

https://github.com/aspnet-contrib/AspNet.Security.OAuth.Providers/tree/dev/src/AspNet.Security.OAuth.Vkontakte