Example #1
0
 public AccountBusiness(IRepositoryActionResult repositoryActionResult, UserManager <ApplicationUser> userManager, SignInManager <ApplicationUser> signInManager, ITokenBusiness tokenBusiness)
 {
     _repositoryActionResult = repositoryActionResult;
     _userManager            = userManager;
     _signInManager          = signInManager;
     _tokenBusiness          = tokenBusiness;
 }
Example #2
0
 public LoginServices(IServiceBaseParameter <AspNetUsers> serviceBaseParameter, ITokenBusiness tokenBusiness, IIdentityUnitOfWork <AspNetRoles> roleUnitOfWork, IIdentityUnitOfWork <AspNetUsersRoles> userRolesUnitOfWork)
 {
     _tokenBusiness        = tokenBusiness;
     _serviceBaseParameter = serviceBaseParameter;
     _roleUnitOfWork       = roleUnitOfWork;
     _userRolesUnitOfWork  = userRolesUnitOfWork;
 }
Example #3
0
 /// <inheritdoc />
 public AccountsController(IHandlerResponse responseHandler,
                           ILoginServices loginServices,
                           ITokenBusiness tokenBusiness, IMenuServices menuServices)
     : base(responseHandler, tokenBusiness)
 {
     _loginServices = loginServices;
     _menuServices  = menuServices;
 }
Example #4
0
 public LoginsController(IUsuarioBusiness usuarioBusiness, IFornecedorBusiness fornecedorBusiness, ITokenBusiness tokenBusiness)
 {
     _tokenBusiness      = tokenBusiness;
     _usuarioBusiness    = usuarioBusiness;
     _fornecedorBusiness = fornecedorBusiness;
 }
Example #5
0
 /// <inheritdoc />
 public BaseMainController(IHandlerResponse responseHandler, ITokenBusiness tokenBusiness)
 {
     ResponseHandler = responseHandler;
     TokenBusiness   = tokenBusiness;
 }
 /// <inheritdoc />
 public ApiBaseController(IActionResultResponseHandler responseHandler, ITokenBusiness tokenBusiness)
 {
     ResponseHandler = responseHandler;
     TokenBusiness   = tokenBusiness;
 }
Example #7
0
 /// <inheritdoc />
 public PageController(IHandlerResponse responseHandler, ITokenBusiness tokenBusiness, IMenuServices menuServices) : base(responseHandler, tokenBusiness)
 {
     _menuServices = menuServices;
 }
 public UserServices(IAuthBusiness authBusiness, ITokenBusiness tokenBusiness)
 {
     _authBusiness  = authBusiness;
     _tokenBusiness = tokenBusiness;
 }
 public ProvidersController(ITokenBusiness tokenBusiness)
 {
     _tokenBusiness = tokenBusiness;
 }
 public MixerRefreshTokenHandler(IHttpClientFactory httpClientFactory, ITokenBusiness tokenBusiness, IOptions <MixerOptions> options)
 {
     _httpClient    = httpClientFactory.CreateClient();
     _tokenBusiness = tokenBusiness;
     Options        = options.Value;
 }
Example #11
0
 /// <inheritdoc />
 public UserController(IHandlerResponse responseHandler, ITokenBusiness tokenBusiness, IUserServices userServices) : base(responseHandler, tokenBusiness)
 {
     _userServices = userServices;
 }
 public TokensController(ITokenService tokenService, ITokenBusiness tokenBusiness)
 {
     _tokenService  = tokenService;
     _tokenBusiness = tokenBusiness;
 }
Example #13
0
 /// <inheritdoc />
 public RoleController(IHandlerResponse responseHandler, ITokenBusiness tokenBusiness, IRoleServices roleServices) : base(responseHandler, tokenBusiness)
 {
     _roleServices = roleServices;
 }