An Oauth client handler, from abstract

This commit is contained in:
Paul Schneider 2018-07-25 02:12:13 +02:00
commit fca6b46c92
18 changed files with 710 additions and 649 deletions

View file

@ -27,6 +27,7 @@ namespace Yavsc
using System.Net;
using Formatters;
using Google.Apis.Util.Store;
using Microsoft.AspNet.Identity;
using Microsoft.Extensions.Localization;
using Models;
using PayPal.Manager;
@ -263,9 +264,10 @@ namespace Yavsc
IOptions<PayPalSettings> payPalSettings,
IOptions<GoogleAuthSettings> googleSettings,
IStringLocalizer<Yavsc.Resources.YavscLocalisation> localizer,
UserManager<ApplicationUser> usermanager,
ILoggerFactory loggerFactory)
{
_usermanager = usermanager;
GoogleSettings = googleSettings.Value;
ResourcesHelpers.GlobalLocalizer = localizer;
SiteSetup = siteSettings.Value;