Exemple #1
0
 public AuthenticationService(Kibol_AlertContext context, SignInManager <User> signInManager,
                              UserManager <User> userManager,
                              IJwtHelper jwtHelper, ILoggerService logger) : base(context, logger)
 {
     _signInManager = signInManager;
     _userManager   = userManager;
     _jwtHelper     = jwtHelper;
 }
Exemple #2
0
 public LoggerService(Kibol_AlertContext context)
 {
     Context = context;
 }
Exemple #3
0
 public ContextBuilder()
 {
     builder = new DbContextOptionsBuilder <Kibol_AlertContext>().UseSqlServer("Server=tcp:kosa-czy-sztama.database.windows.net,1433;Initial Catalog=kosa-czy-sztama;Persist Security Info=False;User ID=kosa;Password=Qwer1234.;MultipleActiveResultSets=False;Encrypt=True;TrustServerCertificate=False;Connection Timeout=30;");
     options = builder.Options;
     Context = new Kibol_AlertContext(options);
 }
Exemple #4
0
 public BrawlService(Kibol_AlertContext context, ILoggerService logger) : base(context, logger)
 {
 }
Exemple #5
0
 public JwtHelper(IOptions <AppSettings> appSettings, Kibol_AlertContext context)
 {
     _appSettings = appSettings.Value;
     _context     = context;
 }
Exemple #6
0
 public ContextBuilder()
 {
     builder = new DbContextOptionsBuilder <Kibol_AlertContext>().UseInMemoryDatabase(databaseName: "Add_writes_to_database");
     options = builder.Options;
     Context = new Kibol_AlertContext(options);
 }
Exemple #7
0
 public BaseService(Kibol_AlertContext context, ILoggerService logger)
 {
     Context = context;
     _logger = logger;
 }