public AdminController(UserManager <ApplicationUser> userManager, IIdentityService identityservice, IIdentityRoleService identityroleservice, RoleManager <IdentityRole> roleManager) { _identityservice = identityservice; _identityroleservice = identityroleservice; _roleManager = roleManager; _userManager = userManager; }
public void SetUp() { _identityUserServiceMock = MockRepository.GenerateMock <IIdentityUserService>(); _identityRoleServiceMock = MockRepository.GenerateMock <IIdentityRoleService>(); _userStore = new UserStore <IdentityUser>(); }
//private Task<IdentityResult> _createUserAsync; public IdentityController(IIdentityUserService identityUserService, IIdentityRoleService identityRoleService, IIdentityUserRoleService identityUserRoleService) { _identityUserService = identityUserService; _identityRoleService = identityRoleService; _identityUserRoleService = identityUserRoleService; }
public IdentityUserService( UserManager <AppUser> userManager, IIdentityRoleService identityRoleService, IMapper mapper) { _userManager = userManager; _identityRoleService = identityRoleService; _mapper = mapper; }
public UserController(IUserService userService, IAppEnvironmentService appEnvironmentService, ILogger logger, IIdentityRoleService identityRoleService, IGroupService groupService, IUserGroupsService userGroupsService) : base(logger, appEnvironmentService, userService) { this.userService = userService; this.appEnvironmentService = appEnvironmentService; this._identityRoleService = identityRoleService; _groupService = groupService; _userGroupsService = userGroupsService; }
public UserController( IUserService userService, IManCoService manCoService, IIdentityRoleService identityRoleService, ILogger logger) : base(logger) { this._userService = userService; this._manCoService = manCoService; this._identityRoleService = identityRoleService; }
public IdentityAccountService( UserManager <AppUser> userManager, IIdentityUserService identityUserService, IIdentityRoleService identityRoleService, IConfiguration configuration, IEncryptionService encryptionService) { _userManager = userManager; _identityUserService = identityUserService; _identityRoleService = identityRoleService; _configuration = configuration; _encryptionService = encryptionService; }
public IdentityRoleClient(EndpointConfiguration endpoint) { channel = new ChannelFactory <IIdentityRoleService>(GetBindingForEndpoint(EndpointConfigurationType.NetTcpBinding), GetEndpointAddress(endpoint)).CreateChannel(); }
public AssignUserToRoleCommandHandler(IIdentityRoleService identityRoleService, IIdentityUserService identityUserService) { _identityRoleService = identityRoleService; _identityUserService = identityUserService; }
public UsersController(IUserService userService, IIdentityRoleService roleService) { this.userService = userService; this.roleService = roleService; }
public DeleteRoleCommandHandler(IIdentityRoleService identityRoleService) { _identityRoleService = identityRoleService; }
public RemoveUserFromRoleCommandHandler(IIdentityRoleService identityRoleService, IIdentityUserService identityUserService) { _identityRoleService = identityRoleService; _identityUserService = identityUserService; }
public UserService(IRepository <User> repositoryUsers, IIdentityRoleService roleService, IPasswordHasher passwordHasher) { this.repositoryUsers = repositoryUsers; this.roleService = roleService; this.passwordHasher = passwordHasher; }
public GetRolesQueryHandler(IIdentityRoleService identityRoleService) { _identityRoleService = identityRoleService; }
public RoleStore(IIdentityRoleService roleService) { _roleService = roleService; }
public void SetUp() { _identityRoleRepository = new Mock <IIdentityRoleRepository>(); _identityRoleService = new IdentityRoleService(_identityRoleRepository.Object); }