Exemplo n.º 1
0
 public AppActiveUserDelegationsComboboxViewComponent(
     IUserDelegationAppService userDelegationAppService,
     IUserDelegationConfiguration userDelegationConfiguration)
 {
     _userDelegationAppService    = userDelegationAppService;
     _userDelegationConfiguration = userDelegationConfiguration;
 }
 public SessionAppService(
     IUiThemeCustomizerFactory uiThemeCustomizerFactory,
     ISubscriptionPaymentRepository subscriptionPaymentRepository,
     IUserDelegationConfiguration userDelegationConfiguration)
 {
     _uiThemeCustomizerFactory      = uiThemeCustomizerFactory;
     _subscriptionPaymentRepository = subscriptionPaymentRepository;
     _userDelegationConfiguration   = userDelegationConfiguration;
 }
Exemplo n.º 3
0
 public UserDelegationAppService(
     IRepository <UserDelegation, long> userDelegationRepository,
     IRepository <User, long> userRepository,
     IUserDelegationManager userDelegationManager,
     IUserDelegationConfiguration userDelegationConfiguration)
 {
     _userDelegationRepository    = userDelegationRepository;
     _userRepository              = userRepository;
     _userDelegationManager       = userDelegationManager;
     _userDelegationConfiguration = userDelegationConfiguration;
 }
 public SecurityStampValidator(
     IOptions <SecurityStampValidatorOptions> options,
     SignInManager signInManager,
     ISystemClock systemClock,
     ILoggerFactory loggerFactory,
     IUserDelegationConfiguration userDelegationConfiguration,
     IUserDelegationManager userDelegationManager,
     PermissionChecker permissionChecker)
     : base(options, signInManager, systemClock, loggerFactory)
 {
     _userDelegationConfiguration = userDelegationConfiguration;
     _userDelegationManager       = userDelegationManager;
     _permissionChecker           = permissionChecker;
 }
Exemplo n.º 5
0
        // Existing User Delegations
        // admin -> alex
        // george -> admin

        public UserDelegationAppService_Tests()
        {
            _userDelegationAppService    = Resolve <IUserDelegationAppService>();
            _userDelegationConfiguration = Resolve <IUserDelegationConfiguration>();
        }