Esempio n. 1
0
 public AuthHandler(IUserRepository userRepository,
                    ITokensService tokensService, IMapper mapper)
 {
     _userRepository = userRepository;
     _tokensService  = tokensService;
     _mapper         = mapper;
 }
Esempio n. 2
0
 public MediaController(IMediaService mediaService, IUsersService usersService, ILogger logger,
                        ITokensService tokensService, IResidentsService residentsService)
     : base(usersService)
 {
     _mediaService     = mediaService;
     _residentsService = residentsService;
 }
 public CheckTokenRequestHandler(CommunicationObject request, NodeConnection current, ITokensService tokensService, ILoadUsersService loadUsersService)
 {
     this.request          = (CheckTokenNodeRequest)request;
     this.current          = current;
     this.loadUsersService = loadUsersService;
     this.tokensService    = tokensService;
 }
Esempio n. 4
0
 public LogoutRequestHandler(Request request, ClientConnection current, IConnectionsService connectionsService, ITokensService tokensService)
 {
     this.request            = (LogoutRequest)request;
     userId                  = current.UserId.GetValueOrDefault();
     this.current            = current;
     this.connectionsService = connectionsService;
     this.tokensService      = tokensService;
 }
 public AccountController(ILogger <AccountController> logger, UserManager <User> userManager, SignInManager <User> signInManager,
                          ITokensService tokensService)
 {
     this.logger        = logger;
     this.userManager   = userManager;
     this.signInManager = signInManager;
     this.tokensService = tokensService;
 }
Esempio n. 6
0
        public TokensTests()
        {
            TestsData testsData = TestsData.Create(nameof(TokensTests));

            fillTestDbHelper         = testsData.FillTestDbHelper;
            tokensService            = testsData.AppServiceProvider.TokensService;
            verificationCodesService = testsData.AppServiceProvider.VerificationCodesService;
        }
Esempio n. 7
0
 public UploadController(IEventService eventService, ITokensService tokenService, IAuthContext authContext, IHostingEnvironment appEnvironment, IVideoService videoService) : base(authContext)
 {
     _eventService   = eventService;
     _tokenService   = tokenService;
     _authContext    = authContext;
     _appEnvironment = appEnvironment;
     _videoService   = videoService;
 }
Esempio n. 8
0
 public AdminsHandler(IAdminsProvider provider
                      , IAdminsService service
                      , ITokensService tokensService)
 {
     _provider      = provider;
     _service       = service;
     _tokensService = tokensService;
 }
Esempio n. 9
0
 public SignUpHandler(ISignUpProvider provider
                      , ISignUpService service
                      , ITokensService tokensService)
 {
     _provider      = provider;
     _service       = service;
     _tokensService = tokensService;
 }
Esempio n. 10
0
 public AuthController(
     ITokensService tokensService,
     IPasswordHasher passwordHasher
     )
 {
     this._context   = PikyContext.PikyContextFactory.Create();
     _tokensService  = tokensService;
     _passowrdHasher = passwordHasher;
 }
Esempio n. 11
0
 public UsersSettingsHandler(IUsersProvider provider
                             , IUsersService service
                             , ITokensService tokensService
                             , IResourcesService resourcesService
                             , IMapper mapper)
 {
     _service          = service;
     _provider         = provider;
     _tokensService    = tokensService;
     _resourcesService = resourcesService;
     _mapper           = mapper;
 }
Esempio n. 12
0
 public NewUserRequestHandler(
     Request request,
     ClientConnection clientConn,
     INodeNoticeService nodeNoticeService,
     ICreateUsersService createUsersService,
     ITokensService tokensService,
     IVerificationCodesService verificationCodesService,
     ILoadUsersService loadUsersService)
 {
     this.request                  = (NewUserRequest)request;
     this.clientConn               = clientConn;
     this.nodeNoticeService        = nodeNoticeService;
     this.createUsersService       = createUsersService;
     this.tokensService            = tokensService;
     this.verificationCodesService = verificationCodesService;
     this.loadUsersService         = loadUsersService;
 }
Esempio n. 13
0
 public LoginRequestHandler(Request request,
                            ClientConnection clientConnection,
                            IConnectionsService connectionsService,
                            INoticeService noticeService,
                            ITokensService tokensService,
                            ILoadUsersService loadUsersService,
                            IPendingMessagesService pendingMessagesService,
                            INodeRequestSender nodeRequestSender)
 {
     this.request                = (LoginRequest)request;
     this.clientConnection       = clientConnection;
     this.connectionsService     = connectionsService;
     this.noticeService          = noticeService;
     this.tokensService          = tokensService;
     this.loadUsersService       = loadUsersService;
     this.pendingMessagesService = pendingMessagesService;
     this.nodeRequestSender      = nodeRequestSender;
 }
Esempio n. 14
0
 public TokensController(ITokensService tokensService, IUsersService usersService)
 {
     _tokensService = tokensService;
     _usersService  = usersService;
 }
Esempio n. 15
0
 public AuthHandler(ITokensService tokensService)
 {
     _tokensService = tokensService;
 }
Esempio n. 16
0
 public RefreshTokenRequestHandler(IHttpContextAccessor httpContextAccessor, ITokensService tokensService)
 {
     _httpContextAccessor = httpContextAccessor;
     _tokensService       = tokensService;
 }
Esempio n. 17
0
 public IdentityService(UserManager <User> userManager, ITokensService tokenService, MarathonDbContext dbContext)
 {
     this.userManager  = userManager;
     this.tokenService = tokenService;
     this.dbContext    = dbContext;
 }
Esempio n. 18
0
 public RefreshTokensRequestHandler(Request request, ClientConnection clientConnection, ITokensService tokensService)
 {
     this.request          = (RefreshTokensRequest)request;
     this.clientConnection = clientConnection;
     this.tokensService    = tokensService;
 }
 public RegisterAccountRequestHandler(UsersService usersService, ITokensService tokensService)
 {
     _usersService = usersService;
     _tokensService = tokensService;
 }
Esempio n. 20
0
 public TokensController(ITokensService tokensService)
 {
     _tokensService = tokensService;
 }
 public PaymentController(ITokensService tokensService)
 {
     _tokenService = tokensService;
 }
Esempio n. 22
0
 public AuthPipelineFilter(ITokensService tokensService, IUsersService usersService)
 {
     _tokensService = tokensService;
     _usersService  = usersService;
 }
 public LoginRequestHandler(UsersService usersService, ITokensService tokensService)
 {
     _usersService  = usersService;
     _tokensService = tokensService;
 }
Esempio n. 24
0
 public TokenManagerMiddleware(ITokensService tokenService)
 {
     this.tokenService = tokenService;
 }
 public PushNotificationsService(IAppServiceProvider appServiceProvider)
 {
     this.connectionsService  = appServiceProvider.ConnectionsService;
     this.tokensService       = appServiceProvider.TokensService;
     this.loadChannelsService = appServiceProvider.LoadChannelsService;
 }
Esempio n. 26
0
 public UserApiController(IUserService userService, ITokensService tokensService, IEmailService emailService, ILogger <UserApiController> logger) : base(logger)
 {
     _userService   = userService;
     _tokensService = tokensService;
     _emailService  = emailService;
 }