コード例 #1
0
 public AccountController(IAccountBllService accountService,
                          IMapper mapper,
                          IOptions <AppSettings> appSettings,
                          IHttpContextAccessor httpContextAccessor)
 {
     _accountService      = accountService;
     _mapper              = mapper;
     _appSettings         = appSettings.Value;
     _httpContextAccessor = httpContextAccessor;
 }
コード例 #2
0
 public TokenAuthenticationHandler(IOptionsMonitor <TokenAuthenticationOptions> options, ILoggerFactory logger, UrlEncoder encoder, ISystemClock clock, IAccountBllService accountBllService, IOptions <AppSettings> appSettings)
     : base(options, logger, encoder, clock)
 {
     _accountBllService = accountBllService;
     _appSettings       = appSettings.Value;
 }
コード例 #3
0
 public RoleAuthorizationHandler(IAccountBllService accountBllService)
 {
     _accountBllService = accountBllService;
 }