public OranizationManager(IOranizationStore IOranizationStore, IRolesStore RolesStore, IUserStore IUserStore, IMapper IMapper) { this._IOranizationStore = IOranizationStore; this._IRolesStore = RolesStore; this._Mapper = IMapper; this._IUserStore = IUserStore; }
public CheckAccessSteps(DomainFrameworkFixture fixture) : base(fixture) { _rolesStore = Substitute.For <IRolesStore>(); Register(() => _rolesStore, Lifestyle.Scoped); }
public void RegisterScenarioDependencies(Container container) { _createHandler = Substitute.For <IRequestHandler <CreateUser.Request, User> >(); container.Register(() => _createHandler, Lifestyle.Scoped); _getHandler = Substitute.For <IRequestHandler <GetUser.Request, User> >(); container.Register(() => _getHandler, Lifestyle.Scoped); _rolesStore = Substitute.For <IRolesStore>(); container.Register(() => _rolesStore, Lifestyle.Scoped); _applicationInfo = Substitute.For <IApplicationInfo>(); _applicationInfo.IsRunningInProduction.Returns(true); container.Register(() => _applicationInfo, Lifestyle.Singleton); }
public AuthorizationService(IRolesStore rolesStore, ICurrentUserManager currentUserManager) { _rolesStore = rolesStore; _currentUserManager = currentUserManager; }
public UserManager(IUserStore IUserStore, IMapper IMapper, IRolesStore RolesStore) { this._IUserStore = IUserStore; this._Mapper = IMapper; this._RolesStore = RolesStore; }
public CheckAuthority(IRolesStore rolesStore, IJurisdictionStore jurisdictionStore) { this._IRolesStore = rolesStore; this._IJurisdictionStore = jurisdictionStore; }
public RolesManager(IRolesStore IRolesStore, IMapper IMapper) { this._IRolesStore = IRolesStore; this._Mapper = IMapper; }
public TokenManager(ITokenStore IUserInfo, IRolesStore IRolesStore) { this._IUserInfo = IUserInfo; this._IRolesStore = IRolesStore; }
public UserCheckPermissionImpl(IRolesStore IRolesStore) { this._IRolesStore = IRolesStore; }