public FacebookController(GiveOrTakeContext dbContext, IOptions <FacebookOptions> facebookOptions, LoginHelper loginHelper) { this.facebookOptions = facebookOptions.Value; this.loginHelper = loginHelper; this.dbContext = dbContext; }
public RegisterController(GiveOrTakeContext dbContext, IOptions <RootUserOptions> rootUserOptions, PasswordHasher <User> passwordHasher) { this.dbContext = dbContext; this.passwordHasher = passwordHasher; this.rootUserOptions = rootUserOptions.Value; }
public LoginHelper(IOptions <JwtIssuerOptions> jwtOptions, ILoggerFactory loggerFactory, GiveOrTakeContext dbContext, PasswordHasher <User> passwordHasher) { this.jwtOptions = jwtOptions.Value; logger = loggerFactory.CreateLogger <LoginHelper>(); serializerSettings = new JsonSerializerSettings { Formatting = Formatting.Indented }; this.dbContext = dbContext; this.passwordHasher = passwordHasher; }
public DeviceController(GiveOrTakeContext dbContext) { this.dbContext = dbContext; }
public ProfileController(GiveOrTakeContext dbContext) { this.dbContext = dbContext; }
public RootController(GiveOrTakeContext dbContext, PasswordHasher <User> passwordHasher) { this.dbContext = dbContext; this.passwordHasher = passwordHasher; }
public UserController(GiveOrTakeContext dbContext) { this.dbContext = dbContext; }