public JweBlackListService( IDataBaseFactory dataBaseFactory, IOptions <JweOptions> jweOptions) { this.dataBaseFactory = dataBaseFactory; this.jweOptions = jweOptions.Value; }
public JweService( DataBaseConnection db, SunUserManager userManager, IRolesCache rolesCache, ICryptService cryptService, IOptions <JweOptions> jwtOptions, ILoggerFactory loggerFactory) : base(db) { this.userManager = userManager; this.cryptService = cryptService; this.jweOptions = jwtOptions.Value; logger = loggerFactory.CreateLogger <AccountController>(); this.rolesCache = rolesCache; }
public AccountManager( SunUserManager userManager, IEmailSenderService emailSenderService, DataBaseConnection db, ICryptService cryptService, IOptions <GlobalOptions> globalOptions, IOptions <JweOptions> jwtOptions) : base(db) { this.jweOptions = jwtOptions.Value; this.userManager = userManager; this.globalOptions = globalOptions.Value; this.emailSenderService = emailSenderService; this.cryptService = cryptService; }
public SunJweHandler( IOptionsMonitor <SunJwtOptions> options, ILoggerFactory logger, UrlEncoder encoder, ISystemClock clock, IRolesCache rolesCache, IOptions <JweOptions> jweOptions, JweService jweService, JweBlackListService jweBlackListService, SunUserManager userManager) : base(options, logger, encoder, clock) { this.rolesCache = rolesCache; this.jweOptions = jweOptions.Value; this.jweService = jweService; this.userManager = userManager; this.jweBlackListService = jweBlackListService; }