public AuthenticationController(UserManager <IdentityUser> userManager, SignInManager <IdentityUser> signInManager, ICryptography cryptography, IConfiguration configuration, ILogger <AuthenticationController> logger, ICodesServices codesServices) { this.userManager = userManager; this.logger = logger; authenticationStrategy = new AuthenticationStrategy(userManager, signInManager, cryptography, configuration, logger, codesServices); }
public AuthenticationStrategy(UserManager <IdentityUser> userManager, SignInManager <IdentityUser> signInManager, ICryptography cryptography, IConfiguration configuration, ILogger <AuthenticationController> logger, ICodesServices codesServices) { UserManager = userManager; SignInManager = signInManager; Cryptography = cryptography; Configuration = configuration; Logger = logger; CodesServices = codesServices; MobileAppToken = configuration["MobileApp:Token"]; }
public CodesGeneratorService(ILogger <CodesGeneratorService> logger, IServiceScopeFactory factory) { this.logger = logger; this.factory = factory; codesServices = GetService <ICodesServices>(); }
public SecurityCodeController(ICodesServices codesServices) { this.codesServices = codesServices; }