public AccountsController(SignInManager <IdentityUser <Guid> > signInManager,
                           UserManager <IdentityUser <Guid> > userManager,
                           IPortfolioRepository portfolioRepo,
                           IClientAuthFactory clientAuthFactory)
 {
     _signInManager     = signInManager;
     _userManager       = userManager;
     _clientAuthFactory = clientAuthFactory;
     _portfolioRepo     = portfolioRepo;
 }
Exemple #2
0
 public FireBaseDBClient(IHttpClientFactory clientFactory, IOptionsMonitor <FireBaseOptions> firebaseOptionsMonitor, IClientAuthFactory authFactory)
 {
     _clientFactory   = clientFactory;
     _authFactory     = authFactory;
     _firebaseOptions = firebaseOptionsMonitor.CurrentValue;
 }