public AccountService(SignInManager <ApplicationUser> signInManager, UserManager <ApplicationUser> userManager, IJwtAuthService jwtAuthService, ILogger <AccountService> logger) { _signInManager = signInManager; _userManager = userManager; _jwtAuthService = jwtAuthService; _logger = logger; }
public SimpleAuthorizationController(ILogger <SimpleAuthorizationController> logger, IUserService userService, IJwtAuthService jwtAuthManager, IUserRepository userRepository) { _logger = logger; _userService = userService; _jwtAuthManager = jwtAuthManager; _userRepository = userRepository; }
/// <summary> /// /// </summary> /// <param name="jwtAuthService"></param> /// <param name="sysRoleService"></param> /// <param name="accessor"></param> public JwtAuthController(IJwtAuthService jwtAuthService, ISysRoleService sysRoleService, IHttpContextAccessor accessor) { _jwtAuthService = jwtAuthService; _sysRoleService = sysRoleService; _accessor = accessor; }
public WxService(ICacheService cacheService, IBaseService <sys_user> baseService, IJwtAuthService jwtAuthService, ILogger <WxService> logger) { _cacheService = cacheService; _baseService = baseService; _jwtAuthService = jwtAuthService; _logger = logger; }
public async Task <ActionResult> Login([FromServices] IJwtAuthService authService, [FromBody] LoginModel loginModel) { var result = await authService.SignInAsync(loginModel.Email, loginModel.Password); if (!result.Sucess) { return(BadRequest(result.Errors)); } return(Ok(result.Value)); }
/// <summary> Provides functionality for user management </summary> public UserManagerService( UserManager <AppUser> userManager, IJwtAuthService jwtAuthService, IMapper mapper, AppDataContext context ) { _context = context; _userManager = userManager; _mapper = mapper; _jwtAuthService = jwtAuthService; }
public LoginPageViewModel(INavigationService navigationService, IPageDialogService pageDialogService, IEventAggregator eventAggregator, ILoginManager loginManager, IJwtAuthService jwtAuthService) { _navigationService = navigationService; _pageDialogService = pageDialogService; _eventAggregator = eventAggregator; _loginManager = loginManager; _jwtAuthService = jwtAuthService; OnLoginCommand = new DelegateCommand(async() => await GoToWelcomePage()); }
public AccountController(ILogger <AccountController> logger, IUserService userService, IJwtAuthService jwtAuthManager, INewsRepository newsRepository, IEmployeeRepository employeeRepository, IVoteListRepository voteListRepository, DomainContext context, SystemContext systemContext, IReadCommand <ProfileResult> profileReadCommand, IVoteRepository voteRepository) { _logger = logger; _userService = userService; _jwtAuthManager = jwtAuthManager; _employeeRepository = employeeRepository; _voteListRepository = voteListRepository; _newsRepository = newsRepository; _context = context; _systemContext = systemContext; _voteListRepository = voteListRepository; _profileReadCommand = profileReadCommand; _voteRepository = voteRepository; }
public ProjectTypesController(IProjectTypeService projectType, IErrorHandlerService errorHandler, IJwtAuthService jwtAuth) : base(errorHandler, jwtAuth) { _projectType = projectType; }
public ProjectsController(IConfigurationFileService configurationFile, IGHInvitationService gHInvitation, IGHCollaboratorService gHCollaborator, IRepositoryService repository, IProjectRepositoryService projectRepository, ICollaboratorService collaborator, IPermissionService permission, IAccountService account, IProjectService project, IErrorHandlerService errorHandler, IJwtAuthService jwtAuth) : base(errorHandler, jwtAuth) { _configurationFile = configurationFile; _gHInvitation = gHInvitation; _gHCollaborator = gHCollaborator; _repository = repository; _projectRepository = projectRepository; _collaborator = collaborator; _permission = permission; _account = account; _project = project; }
public AuthController(IJwtAuthService auth) { authManager = auth; }
public RepositoriesController(IProjectRepositoryService projectRepository, IProjectService project, IPermissionService permission, IBranchService branch, IGHReferenceService gHReference, IGHWebhookService gHWebhook, IGHBranchService gHBranch, IGHRepositoryService gHRepository, IRepositoryService repository, IAccountService account, IErrorHandlerService errorHandler, IJwtAuthService jwtAuth) : base(errorHandler, jwtAuth) { _projectRepository = projectRepository; _project = project; _permission = permission; _branch = branch; _gHReference = gHReference; _gHWebhook = gHWebhook; _gHBranch = gHBranch; _gHRepository = gHRepository; _repository = repository; _account = account; }
public NococidControllerBase(IErrorHandlerService errorHandler, IJwtAuthService jwtAuth) { _errorHandler = errorHandler; _jwtAuth = jwtAuth; }
public CompanyService(IJwtAuthService authenticationService) { _authenticationService = authenticationService; }
public ApplicationAdminFilter(IErrorHandlerService errorHandler, IJwtAuthService jwtAuth) { _errorHandler = errorHandler; _jwtAuth = jwtAuth; }
public AccountController(ILogger <AccountController> logger, IUserService userService, IJwtAuthService jwtAuthManager) { _logger = logger; _userService = userService; _jwtAuthManager = jwtAuthManager; }
public JwtRefreshTokenCache(IJwtAuthService jwtAuthManager) { _jwtAuthManager = jwtAuthManager; }
public AuthController(IUserService user, IJwtAuthService jwtAuth, IErrorHandlerService errorHandler) { _user = user; _jwtAuth = jwtAuth; _errorHandler = errorHandler; }
public UserFilter(IUserService user, IErrorHandlerService errorHandler, IJwtAuthService jwtAuth) { _user = user; _errorHandler = errorHandler; _jwtAuth = jwtAuth; }
/// <summary> /// AuthenticateController Construtor /// </summary> /// <param name="jwtAuthService"></param> /// <param name="userManger"></param> /// <param name="signInManager"></param> public AuthenticateController(IJwtAuthService jwtAuthService, MyUserManager <AppUser> myUserManger, SignInManager <AppUser> signInManager) { _jwtAuthService = jwtAuthService; _myUserManager = myUserManger; _signInManager = signInManager; }
public TokensController(ITokenService token, IAccountService account, IPermissionService permission, IConfigurationFileService configurationFile, IProjectToolService projectTool, ICircleCIUserService circleCIUser, IHerokuAccountService herokuAccount, IHerokuAppService herokuApp, IHerokuRegionService herokuRegion, IHerokuStackService herokuStack, IErrorHandlerService errorHandler, IJwtAuthService jwtAuth) : base(errorHandler, jwtAuth) { _token = token; _account = account; _permission = permission; _configurationFile = configurationFile; _projectTool = projectTool; _circleCIUser = circleCIUser; _herokuAccount = herokuAccount; _herokuApp = herokuApp; _herokuRegion = herokuRegion; _herokuStack = herokuStack; }
public ListenersController(IConfigurationFileService configurationFile, IPipelineThreadService pipelineThread, IWorkflowThreadService workflowThread, ITokenService token, ICommitService commit, IErrorHandlerService errorHandler, IJwtAuthService jwtAuth) : base(errorHandler, jwtAuth) { _configurationFile = configurationFile; _pipelineThread = pipelineThread; _workflowThread = workflowThread; _token = token; _commit = commit; }
public AuthController(IJwtAuthService jwtService) { this.jwtService = jwtService; }
public ProductsApiController(IProductService userService, IJwtAuthService authService) { _service = userService; _authService = authService; }
public JwtAuthController(IJwtAuthService jwtAuthService) { _jwtAuthService = jwtAuthService; }
public AccountController(ILogger <AccountController> logger, IJwtAuthService authentication) { _authentication = authentication; _logger = logger; }
public CommitsController(ICommitService commit, IErrorHandlerService errorHandler, IJwtAuthService jwtAuth) : base(errorHandler, jwtAuth) { _commit = commit; }
public ConfigurationsController(IConfigurationService configuration, IErrorHandlerService errorHandler, IJwtAuthService jwtAuth) : base(errorHandler, jwtAuth) { _configuration = configuration; }
public AccountCommandHandler(IAccountRepository accountRepository, IJwtAuthService jwtAuthService) { _accountRepository = accountRepository; _jwtAuthService = jwtAuthService; }
public ProjectsController(IJwtAuthService jwtAuth, IProjectService project, IErrorHandlerService errorHandler) { _jwtAuth = jwtAuth; _project = project; _errorHandler = errorHandler; }