public UserController(ILogger <UserController> logger, SnakeCaseConverter snakeCaseConverter, IAuthFacade authFacade, GetNewTokensUseCase getNewTokesUseCase, RefreshTokensUseCase refreshTokensUseCase, IUserRepository db) { this.logger = logger; this.snakeCaseConverter = snakeCaseConverter; this.authFacade = authFacade; this.getNewTokesUseCase = getNewTokesUseCase; this.refreshTokensUseCase = refreshTokensUseCase; this.db = db; }
public CustomerManagementController(IConfiguration config, ILogger <CustomerManagementController> logger, ICustomerRepository customerRepository, IMapper mapper, IOrderFacade orderFacade, IReviewCustomerFacade reviewFacade, IAuthFacade authFacade) { _logger = logger; _customerRepository = customerRepository; _mapper = mapper; _orderFacade = orderFacade; _reviewFacade = reviewFacade; _authFacade = authFacade; _config = config; }
public UsuarioAppService(IUsuarioRepository repository, ITokenRepository repositoryToken, ITokenTypeRepository repositoryTokenType, IPerfilRepository repositoryPerfil, ITokenFacade facadeToken, IAuthFacade facadeAuth, IPasswordValidator <Usuario> validatorPassword, SignInManager <Usuario> signInManager, UserManager <Usuario> userManager, IMapper mapper, IUnitOfWork uow) { _repository = repository; _repositoryToken = repositoryToken; _repositoryTokenType = repositoryTokenType; _repositoryPerfil = repositoryPerfil; _facadeToken = facadeToken; _facadeAuth = facadeAuth; _validatorPassword = validatorPassword; _signInManager = signInManager; _userManager = userManager; _mapper = mapper; _uow = uow; }
/// <summary>Initializes a new instance of the <see cref="SimpleRefreshTokenProvider"/> class.</summary> /// <param name="authFacade">The auth facade.</param> public SimpleRefreshTokenProvider(IAuthFacade authFacade) { this.authFacade = authFacade; }
public LoginController(IAuthFacade authService, IAppSettings settings, IHttpContextAccessor httpContextAccessor, IHttpClientFactory clientFactory) : base(httpContextAccessor, clientFactory) { this.authService = authService; this.settings = settings; }
public AuthController(IAuthFacade authFacade) { _authFacade = authFacade; }
static SessionHelper() { container = UrbanRFP.SimpleInjectorConfig.container; authService = container.GetInstance <AuthFacade>(); }
public AuthController(IAuthFacade authFacade) { _authFacade = authFacade ?? throw new ArgumentNullException(nameof(authFacade)); }
public HasPermissionAuthorizationHandler(IAuthFacade facadeAuth) { _facadeAuth = facadeAuth; }
public TokenFacade(IConfiguration configuration, IAuthFacade serviceAuth) { _configuration = configuration; _serviceAuth = serviceAuth; }
/// <summary>Initializes a new instance of the <see cref="SimpleAuthorizationServerProvider"/> class.</summary> /// <param name="authFacade">The auth facade.</param> /// <param name="userManagement">The user management.</param> public SimpleAuthorizationServerProvider(IAuthFacade authFacade, IUserManagement userManagement) { this.authFacade = authFacade; this.userManagement = userManagement; }
public AccountController(IAuthFacade _authService, IContactFacade _contactService, IOrganizationFacade _orgService) { this.authService = _authService ?? throw new ArgumentNullException(nameof(_authService)); this.contactService = _contactService ?? throw new ArgumentNullException(nameof(_contactService)); this.orgService = _orgService ?? throw new ArgumentNullException(nameof(_orgService)); }