public ContentController(IHostingEnvironment appEnvironment, IContentService contentService, IAutorizationService autorizationService) { _appEnvironment = appEnvironment; _contentService = contentService; _autorizationService = autorizationService; }
public UpdateController(IContentService contentService, IAutorizationService autorizationService, IOptions <UpdateCatalog> options) { _contentService = contentService; _autorizationService = autorizationService; _options = options; }
public MapController(IContentService contentService, IAutorizationService autorizationService, IOptions <MapCatalog> options, IOptions <OperationSystem> os) { _contentService = contentService; _autorizationService = autorizationService; _options = options; _os = os; }
public SignInViewModel(INavigationService navigationService, IAutorizationService autorization, IProfileService profileService, IAutentificationService autentification) { _navigationService = navigationService; _autorization = autorization; _profileService = profileService; _autentification = autentification; }
public AddEditProfileViewModel(INavigationService navigationService, IRepository repository, IAutorizationService autorization, IProfileService profile) { _navigationService = navigationService; _repository = repository; _autorization = autorization; _profile = profile; }
public void OnActionExecuting(ActionExecutingContext context) { _autorizationService = GetService(context, typeof(IAutorizationService)); if (_autorizationService == null) { context.Result = new StatusCodeResult(500); } if (!_autorizationService.IsUserFrom1CByBase64(GetToken(context))) { context.Result = new UnauthorizedResult(); } }
public SignUpViewModel(INavigationService navigationService, IRepository repository, IAutorizationService autorization, IProfileService profile, IAutentificationService autentification) { _navigationService = navigationService; _repository = repository; _autorization = autorization; _profile = profile; _autentification = autentification; Regs = new ObservableCollection <RegistrateModel>(); }
public QueueDeliveryBindFunction() { var _serviceProvider = new StartInjection().ServiceProvider; _configuration = _serviceProvider.GetService <IConfiguration>(); _pedidoService = _serviceProvider.GetService <IPedidoService>(); _autorizationService = _serviceProvider.GetService <IAutorizationService>(); _kafkaHost = _configuration["Kafka:host"]; _kafkaTopic = _configuration["Kafka:topic"]; int.TryParse(_configuration["Kafka:port"], out _kafkaPort); _userToken = _configuration["EndPointDroneDelivery:UserToken"]; _passwordToken = _configuration["EndPointDroneDelivery:PaswwordToken"]; TokenConsumer(); }
public AutorizationController(IAutorizationService service, IOptions <JwtTokenOptions> jwtTokenOptions) { _jwtTokenOptions = jwtTokenOptions.Value; _service = service; }
public StreamController(IContentService contentService, IAutorizationService autorizationService) { _contentService = contentService; _autorizationService = autorizationService; }
public TokenController(UserManager <Manager> userManager, IAutorizationService autorizationService) { _userManager = userManager; _autorizationService = autorizationService; }
public OtrsClient(string address, IAutorizationService autorizationService) { this.Address = address; _service = autorizationService; }
public MemberController(IAutorizationService autorizationService) { _autorizationService = autorizationService; }
public ProfileService(IRepository repository, IAutorizationService autorizationService) { _repository = repository; _autorizationService = autorizationService; }