public BaseExternalIdentityService(UserManager <User> userManager, IJwtAuthorizationTokenGenerator jwtAuthorizationTokenGenerator, IRolesManager rolesManager, IUnitOfWork unitOfWork)
 {
     this.userManager = userManager;
     this.jwtAuthorizationTokenGenerator = jwtAuthorizationTokenGenerator;
     this.rolesManager = rolesManager;
     this.unitOfWork   = unitOfWork;
 }
Example #2
0
 public AuthService(IDatabase database, IRolesService rolesService, IJwtAuthorizationTokenGenerator jwtAuthorizationTokenGenerator, IHashGenerator hashGenerator)
 {
     this.database     = database;
     this.rolesService = rolesService;
     this.jwtAuthorizationTokenGenerator = jwtAuthorizationTokenGenerator;
     this.hashGenerator = hashGenerator;
 }
Example #3
0
 public IdentityService(UserManager <User> userManager, SignInManager <User> signInManager, IJwtAuthorizationTokenGenerator jwtAuthorizationTokenGenerator,
                        ICryptoService cryptoService, IRolesManager rolesManager)
 {
     this.userManager   = userManager;
     this.signInManager = signInManager;
     this.jwtAuthorizationTokenGenerator = jwtAuthorizationTokenGenerator;
     this.cryptoService = cryptoService;
     this.rolesManager  = rolesManager;
 }
 public PurchaseOrderCommand(IOrderService orderService, IMapper mapper, INotifier notifier, IHubManager <NotifierHub> hubManager,
                             IBalanceService balanceService, IRolesManager rolesManager, IJwtAuthorizationTokenGenerator jwtAuthorizationTokenGenerator, IBalanceValidationService balanceValidationService,
                             IHttpContextReader httpContextReader)
 {
     this.orderService   = orderService;
     this.mapper         = mapper;
     this.notifier       = notifier;
     this.hubManager     = hubManager;
     this.balanceService = balanceService;
     this.rolesManager   = rolesManager;
     this.jwtAuthorizationTokenGenerator = jwtAuthorizationTokenGenerator;
     this.balanceValidationService       = balanceValidationService;
     this.httpContextReader = httpContextReader;
 }
 public FacebookIdentityService(UserManager <User> userManager, IJwtAuthorizationTokenGenerator jwtAuthorizationTokenGenerator, IRolesManager rolesManager, IUnitOfWork unitOfWork)
     : base(userManager, jwtAuthorizationTokenGenerator, rolesManager, unitOfWork)
 {
 }
Example #6
0
 public RefreshUserDataQuery(IReadOnlyProfileService profileService, IJwtAuthorizationTokenGenerator jwtAuthorizationTokenGenerator, IMapper mapper)
 {
     this.profileService = profileService;
     this.jwtAuthorizationTokenGenerator = jwtAuthorizationTokenGenerator;
     this.mapper = mapper;
 }
Example #7
0
 public GoogleIdentityService(UserManager <User> userManager, IJwtAuthorizationTokenGenerator jwtAuthorizationTokenGenerator, IRolesManager rolesManager, IUnitOfWork unitOfWork, IConfiguration configuration)
     : base(userManager, jwtAuthorizationTokenGenerator, rolesManager, unitOfWork)
 {
     GoogleAuthSection = configuration.GetSection(AppSettingsKeys.GoogleAuthSection);
 }