public ContactController(IDataHandler handler, IAuthTokenFactory factory) { _handler = handler; _factory = factory; //_dbProvider = new RedisDbProvider("localhost"); //_handler = new GoogleResourceHandler(); //_factory = new SingleAuthTokenFactory(); }
public AppUserAuthorizationService(IAuthTokenFactory tokenFactory, UserManager <AppUser> userManager, WavesDbContext context, IRolePolicyService policyService, SignInManager <AppUser> signInManager) : base(tokenFactory) { _context = context; _userManager = userManager; _policyService = policyService; _signInManager = signInManager; }
public AppUserAuthorizationService( IAuthTokenFactory tokenFactory, UserManager <AppUser> userManager, SignInManager <AppUser> signInManager, ICompanyService companyService) : base(tokenFactory) { _userManager = userManager; _signInManager = signInManager; _companyService = companyService; }
public AuthService(AppUserRepository users, IAuthTokenFactory tokenFactory, IRefreshTokenFactory refreshTokenFactory) { this.usersRepository = users; this.tokenFactory = tokenFactory; this.refreshTokenFactory = refreshTokenFactory; }
public AuthController(IAuthService authService, IAuthTokenFactory tokenFactory, IMapper mapper) { this.authService = authService; this.tokenFactory = tokenFactory; this.mapper = mapper; }
public BaseAuthorizationService(IAuthTokenFactory tokenFactory) { _tokenFactory = tokenFactory; }