public ClaimsTransformer(
     IHttpContextAccessor httpContextAccessor,
     IAuthCacheService authCacheService)
 {
     _httpContextAccessor = httpContextAccessor;
     _authCacheService    = authCacheService;
 }
 public ClaimsService(
     BaseDbContext dbContext,
     IAuthCacheService authCacheService,
     ILogger <ClaimsService> logger)
 {
     _dbContext        = dbContext;
     _authCacheService = authCacheService;
     _logger           = logger;
 }
Exemplo n.º 3
0
 public AuthService(IOptions <EformTokenOptions> tokenOptions,
                    ILogger <AuthService> logger,
                    IDbOptions <ApplicationSettings> appSettings,
                    RoleManager <EformRole> roleManager,
                    SignInManager <EformUser> signInManager,
                    UserManager <EformUser> userManager,
                    IUserService userService,
                    ILocalizationService localizationService,
                    IClaimsService claimsService,
                    IAuthCacheService authCacheService)
 {
     _tokenOptions        = tokenOptions;
     _logger              = logger;
     _appSettings         = appSettings;
     _roleManager         = roleManager;
     _signInManager       = signInManager;
     _userManager         = userManager;
     _userService         = userService;
     _localizationService = localizationService;
     _claimsService       = claimsService;
     _authCacheService    = authCacheService;
 }
Exemplo n.º 4
0
 public SignInHandler(IAuthCacheService authCacheService, IUserRepository userRepo, SignInValidator validator)
 {
     _authCacheService = authCacheService;
     _userRepo         = userRepo;
     _validator        = validator;
 }
Exemplo n.º 5
0
 public AuthController(IMediator mediator, IAuthCacheService authCacheService)
 {
     _mediator         = mediator;
     _authCacheService = authCacheService;
 }