removing useless references
This commit is contained in:
@ -21,7 +21,6 @@
|
|||||||
|
|
||||||
using System;
|
using System;
|
||||||
using System.Threading.Tasks;
|
using System.Threading.Tasks;
|
||||||
using Microsoft.AspNet.Identity;
|
|
||||||
using Microsoft.Extensions.Logging;
|
using Microsoft.Extensions.Logging;
|
||||||
using Microsoft.Extensions.OptionsModel;
|
using Microsoft.Extensions.OptionsModel;
|
||||||
using Google.Apis.Auth.OAuth2;
|
using Google.Apis.Auth.OAuth2;
|
||||||
@ -53,8 +52,6 @@ namespace Yavsc.Services
|
|||||||
protected static string scopeCalendar = "https://www.googleapis.com/auth/calendar";
|
protected static string scopeCalendar = "https://www.googleapis.com/auth/calendar";
|
||||||
private string _ApiKey;
|
private string _ApiKey;
|
||||||
private IAuthorizationCodeFlow _flow;
|
private IAuthorizationCodeFlow _flow;
|
||||||
private readonly UserManager<ApplicationUser> _userManager;
|
|
||||||
|
|
||||||
ApplicationDbContext _dbContext;
|
ApplicationDbContext _dbContext;
|
||||||
|
|
||||||
IDataStore _dataStore;
|
IDataStore _dataStore;
|
||||||
@ -63,14 +60,12 @@ namespace Yavsc.Services
|
|||||||
GoogleAuthSettings _googleSettings ;
|
GoogleAuthSettings _googleSettings ;
|
||||||
|
|
||||||
public CalendarManager(IOptions<GoogleAuthSettings> settings,
|
public CalendarManager(IOptions<GoogleAuthSettings> settings,
|
||||||
UserManager<ApplicationUser> userManager,
|
|
||||||
ApplicationDbContext dbContext,
|
ApplicationDbContext dbContext,
|
||||||
IDataStore dataStore,
|
IDataStore dataStore,
|
||||||
ILoggerFactory loggerFactory,
|
ILoggerFactory loggerFactory,
|
||||||
IOptions<GoogleAuthSettings> googleSettingsOptions)
|
IOptions<GoogleAuthSettings> googleSettingsOptions)
|
||||||
{
|
{
|
||||||
_ApiKey = settings.Value.ApiKey;
|
_ApiKey = settings.Value.ApiKey;
|
||||||
_userManager = userManager;
|
|
||||||
_dbContext = dbContext;
|
_dbContext = dbContext;
|
||||||
_logger = loggerFactory.CreateLogger<CalendarManager>();
|
_logger = loggerFactory.CreateLogger<CalendarManager>();
|
||||||
_dataStore = dataStore;
|
_dataStore = dataStore;
|
||||||
|
Reference in New Issue
Block a user