public IdentityController(IIdentityManager identityManager) { this.idManager = identityManager; }
public ModuleIdentityLifecycleManager(IIdentityManager identityManager, ModuleIdentityProviderServiceBuilder identityProviderServiceBuilder, Uri workloadUri) { this.identityManager = Preconditions.CheckNotNull(identityManager, nameof(identityManager)); this.identityProviderServiceBuilder = Preconditions.CheckNotNull(identityProviderServiceBuilder, nameof(identityProviderServiceBuilder)); this.workloadUri = Preconditions.CheckNotNull(workloadUri, nameof(workloadUri)); }
public CoachService(IClubQuery clubQuery, IMemberQuery memberQuery, ICoachRepository coachRepository, IValidator <CoachRequest> validator, IIdentityManager identityManager) { ThrowIf.ArgumentIsNull(clubQuery); ThrowIf.ArgumentIsNull(coachRepository); ThrowIf.ArgumentIsNull(validator); this.clubQuery = clubQuery; this.memberQuery = memberQuery; this.coachRepository = coachRepository; this.validator = validator; this.identityManager = identityManager; }
public DatabaseInitializer(ILogger <DatabaseInitializer> logger, PersistedGrantDbContext persistedGrantContext, ConfigurationDbContext configurationContext, EventDbContext eventsContext, IdentityDbContext accountsContext, IIdentityManager accountManager) { _logger = logger; _persistedGrantContext = persistedGrantContext; _configurationContext = configurationContext; _eventContext = eventsContext; _identityContext = accountsContext; _identityManager = accountManager; }
public ImpersonateController(IAmpServiceLayer serviceLayer, IIdentityManager identityManager) : base(serviceLayer, identityManager) { this._ampServiceLayer = serviceLayer; this._identityManager = identityManager; }
internal SymbolType(string name, IIdentityManager manager) { this.name = name; this.manager = manager; }
internal SymbolType(string name, string _namespace, IIdentityManager identityManager) : this(name, identityManager) { this._namespace = _namespace; }
public AccountController(ILogger <AccountController> l, IOptions <AppSettingsConfiguration> s, IIdentityManager m, IDBConnection d) { logger = l; settings = s.Value; identityManager = m; dbc = d; }
public FileController(ILogger <FileController> logger, IDatabase database, IOptions <InternalConfig> config, IIdentityManager identityManager, IFilesHandler filesHandler, IDiscordAnnouncer discordAnnouncer) { this.logger = logger; this.database = database; this.config = config; this.identityManager = identityManager; this.filesHandler = filesHandler; this.discordAnnouncer = discordAnnouncer; }
/// <summary> /// Creates a new <see cref="TypedName"/> with the /// <paramref name="name"/>, <paramref name="runtimeType"/>, <paramref name="identityManager"/>, /// <paramref name="direction"/>, and optional <paramref name="relativeSource"/>. /// </summary> /// <param name="name">The <see cref="System.String"/> /// which relates to the name of the <see cref="TypedName"/>.</param> /// <param name="runtimeType">The <see cref="RuntimeCoreType"/> relative to the /// identity of the type to retrieve from the <paramref name="identityManager"/>.</param> /// <param name="identityManager">The <see cref="IIdentityManager"/> responsible for /// disambiguating the <paramref name="runtimeType"/>.</param> /// <param name="direction">The <see cref="ParameterCoercionDirection"/> /// which indicates how the type should be directed.</param> /// <param name="relativeSource">The <see cref="IAssembly"/> relative to the /// <paramref name="runtimeType"/> used for context, which either contains the type /// or references the assembly containing the type.</param> public TypedName(string name, RuntimeCoreType runtimeType, IIdentityManager identityManager, ParameterCoercionDirection direction, IAssembly relativeSource = null) : this(name, identityManager.ObtainTypeReference(runtimeType, relativeSource), direction) { }
public UserAuthorizationServiceBuilder With(IIdentityManager identityManager) { _identityManager = identityManager; return(this); }
/// <summary> /// Creates a new <see cref="TypedName"/> with the /// <paramref name="name"/>, <paramref name="runtimeType"/>, <paramref name="identityManager"/> /// and optional <paramref name="relativeSource"/>. /// </summary> /// <param name="name">The <see cref="System.String"/> /// which relates to the name of the <see cref="TypedName"/>.</param> /// <param name="runtimeType">The <see cref="RuntimeCoreType"/> relative to the /// identity of the type to retrieve from the <paramref name="identityManager"/>.</param> /// <param name="identityManager">The <see cref="IIdentityManager"/> responsible for /// disambiguating the <paramref name="runtimeType"/>.</param> /// <param name="relativeSource">The <see cref="IAssembly"/> relative to the /// <paramref name="runtimeType"/> used for context, which either contains the type /// or references the assembly containing the type.</param> public TypedName(string name, RuntimeCoreType runtimeType, IIdentityManager identityManager, IAssembly relativeSource = null) : this(name, identityManager.ObtainTypeReference(runtimeType, relativeSource)) { }
public AccountService(IIdentityManager identityManager, IIdentityProvider identityProvider, IEmailService emailService) { _identityManager = identityManager; _identityProvider = identityProvider; _emailService = emailService; }
public KubernetesModuleIdentityLifecycleManager(IIdentityManager identityManager, ModuleIdentityProviderServiceBuilder identityProviderServiceBuilder, Uri workloadUri) : base(identityManager, identityProviderServiceBuilder, workloadUri) { }
public AccountController(UserManager<ApplicationUser> userManager, IIdentityManager<ApplicationUser> roleManager) { this.UserManager = userManager ?? new UserManager<ApplicationUser>(new UserStore<ApplicationUser>(new ApplicationDbContext())); this.RoleManager = roleManager ?? new IdentityManager<ApplicationUser>(this.UserManager); }
public LogoutViewModel(IIdentityManager identityManager) { _identityManager = identityManager; }
internal SymbolType(IExpression sourceExpression, int tParamCount, IIdentityManager manager) : this(sourceExpression, manager, ExpandTParamNames(tParamCount)) { }
public UserService(IIdentityManager unitOfWork) { db = unitOfWork; }
internal SymbolType(string name, IIdentityManager identityManager, int tParamCount) : this(name, identityManager, ExpandTParamNames(tParamCount)) { }
public ProductCategoryService(List <IBaseBeforeAddingEntityLogic> baseBeforeAddingEntityLogics, List <BaseAfterAddingEntityLogic> baseAfterAddingEntityLogics, List <IBaseAfterUpdatingEntityLogic> baseAfterUpdateEntityLogics, List <IBaseBeforeUpdatingEntityLogic> baseBeforeUpdateEntityLogics, List <IBaseBeforeDeleteEntityLogic> baseBeforeDeleteEntityLogics, List <BaseAfterDeleteEntityLogic> baseAfterDeleteEntityLogics, IIdentityManager identityManager, IRestrictedItemAccessManager accessManager, IProductCategoryDataService categoryData, IUnitOfWork unitOfWork, IFieldDefentionFacade fieldDefentionFacade, IMetaDataDataService metaDataService, IProductDataService productDataService) : base( baseBeforeAddingEntityLogics, baseAfterAddingEntityLogics, baseAfterUpdateEntityLogics, baseBeforeUpdateEntityLogics, baseBeforeDeleteEntityLogics, baseAfterDeleteEntityLogics, identityManager, accessManager, categoryData) { _categoryData = categoryData; _unitOfWork = unitOfWork; _fieldDefentionFacade = fieldDefentionFacade; _metaDataService = metaDataService; _productDataService = productDataService; }
internal SymbolType(string name, int genericParameterCount, string _namespace, IIdentityManager identityManager) : this(name, identityManager, genericParameterCount) { this._namespace = _namespace; }
public GuildConfigController(ILogger <GuildConfigController> logger, IDatabase database, IOptions <InternalConfig> config, IIdentityManager identityManager, IDiscordAPIInterface discordInterface, IFilesHandler filesHandler) { this.logger = logger; this.database = database; this.config = config; this.identityManager = identityManager; this.discord = discordInterface; this.filesHandler = filesHandler; }
public ImpersonateController() : base() { this._ampServiceLayer = new AMPServiceLayer(); this._identityManager = new DemoIdentityManager(); }
public ModCaseTableController(ILogger <ModCaseTableController> logger, IDatabase database, IOptions <InternalConfig> config, IIdentityManager identityManager, IDiscordAPIInterface discordInterface, IDiscordAnnouncer modCaseAnnouncer, IFilesHandler filesHandler, IPunishmentHandler punishmentHandler) { this.logger = logger; this.database = database; this.config = config; this.identityManager = identityManager; this.discordAnnouncer = modCaseAnnouncer; this.discord = discordInterface; this.filesHandler = filesHandler; this.punishmentHandler = punishmentHandler; }
public CategoryService(List <IBaseBeforeAddingEntityLogic> baseBeforeAddingEntityLogics, List <BaseAfterAddingEntityLogic> baseAfterAddingEntityLogics, List <IBaseAfterUpdatingEntityLogic> baseAfterUpdateEntityLogics, List <IBaseBeforeUpdatingEntityLogic> baseBeforeUpdateEntityLogics, List <IBaseBeforeDeleteEntityLogic> baseBeforeDeleteEntityLogics, List <BaseAfterDeleteEntityLogic> baseAfterDeleteEntityLogics, IIdentityManager identityManager, IRestrictedItemAccessManager accessManager, ICategoryDataService dataSrv, IUnitOfWork unitOfWork, IUrlBuilder urlBuilder, IFieldDefentionFacade fieldDefentionFacade, IMetaDataDataService metaDataService, IEntityDataService entityDataService) : base(baseBeforeAddingEntityLogics, baseAfterAddingEntityLogics, baseAfterUpdateEntityLogics, baseBeforeUpdateEntityLogics, baseBeforeDeleteEntityLogics, baseAfterDeleteEntityLogics, identityManager, accessManager, dataSrv) { _dataSrv = dataSrv; _unitOfWork = unitOfWork; _urlBuilder = urlBuilder; _fieldDefentionFacade = fieldDefentionFacade; _metaDataService = metaDataService; _entityDataService = entityDataService; }
public EntityService(List <IBaseBeforeAddingEntityLogic> baseBeforeAddingEntityLogics, List <BaseAfterAddingEntityLogic> baseAfterAddingEntityLogics, List <IBaseAfterUpdatingEntityLogic> baseAfterUpdateEntityLogics, List <IBaseBeforeUpdatingEntityLogic> baseBeforeUpdateEntityLogics, List <IBaseBeforeDeleteEntityLogic> baseBeforeDeleteEntityLogics, List <BaseAfterDeleteEntityLogic> baseAfterDeleteEntityLogics, IIdentityManager identityManager, IRestrictedItemAccessManager accessManager, IEntityDataService dataSrv, ISecurityLogger securityLogger, IEntityFacade entityFacade, IUnitOfWork unitOfWork) : base( baseBeforeAddingEntityLogics, baseAfterAddingEntityLogics, baseAfterUpdateEntityLogics, baseBeforeUpdateEntityLogics, baseBeforeDeleteEntityLogics, baseAfterDeleteEntityLogics, identityManager, accessManager, dataSrv) { _dataSrv = dataSrv; _securityLogger = securityLogger; _entityFacade = entityFacade; _unitOfWork = unitOfWork; }
public IdentityService(IIdentityManager manager) { _manager = manager; }
public NotificationControllerNew(IIdentityManager accountManager, IHttpContextAccessor httpAccessor, IMapper mapper, IUnitOfWork <EventDbContext> unitOfWork, ILogger <NotificationController> logger) { _notificationHelper = new EntityControllerHelper <Notification>(accountManager, httpAccessor, mapper, unitOfWork, logger); _notificationHelper.GetIncludeEvent += NotificationController_GetIncludeEvent; }
public LogActionFilter(ILogManager logManager, IApplicationManager applicationManager, IIdentityManager identityManager) { _logManager = logManager; _applicationManager = applicationManager; _identityManager = identityManager; }
//private IClassType baseType; internal SymbolType(IExpression sourceExpression, IIdentityManager manager) { this.sourceExpression = sourceExpression; this.sourceSelector = ExpressionSelection; this.manager = manager; }
public DataInitialization(IIdentityManager identityManager, IMediator mediator) { this.IdentityManager = identityManager; this.Mediator = mediator; }