public void Setup() { _gdprService = Resolve <IGdprService>(); _userService = Resolve <IUserService>(); _consentService = Resolve <IConsentService>(); _consentGroupService = Resolve <IConsentGroupService>(); }
public AccountChooserResponseGenerator(ISystemClock clock,ILogger<AuthorizeInteractionResponseGenerator> logger, IConsentService consent, IProfileService profile) :base(clock,logger,consent, profile) { }
public GdprService(IConsentLogService consentLogService, IConsentService consentService, ICryptographyService cryptographyService, IUserService userService) { _consentLogService = consentLogService; _consentService = consentService; _cryptographyService = cryptographyService; _userService = userService; }
/// <summary> /// Creates a partial service context with only some services (for tests). /// </summary> /// <remarks> /// <para>Using a true constructor for this confuses DI containers.</para> /// </remarks> public static ServiceContext CreatePartial( IContentService contentService = null, IMediaService mediaService = null, IContentTypeService contentTypeService = null, IMediaTypeService mediaTypeService = null, IDataTypeService dataTypeService = null, IFileService fileService = null, ILocalizationService localizationService = null, IPackagingService packagingService = null, IEntityService entityService = null, IRelationService relationService = null, IMemberGroupService memberGroupService = null, IMemberTypeService memberTypeService = null, IMemberService memberService = null, IUserService userService = null, ISectionService sectionService = null, IApplicationTreeService treeService = null, ITagService tagService = null, INotificationService notificationService = null, ILocalizedTextService localizedTextService = null, IAuditService auditService = null, IDomainService domainService = null, IMacroService macroService = null, IPublicAccessService publicAccessService = null, IExternalLoginService externalLoginService = null, IServerRegistrationService serverRegistrationService = null, IRedirectUrlService redirectUrlService = null, IConsentService consentService = null) { Lazy <T> Lazy <T>(T service) => service == null ? null : new Lazy <T>(() => service); return(new ServiceContext( Lazy(publicAccessService), Lazy(domainService), Lazy(auditService), Lazy(localizedTextService), Lazy(tagService), Lazy(contentService), Lazy(userService), Lazy(memberService), Lazy(mediaService), Lazy(contentTypeService), Lazy(mediaTypeService), Lazy(dataTypeService), Lazy(fileService), Lazy(localizationService), Lazy(packagingService), Lazy(serverRegistrationService), Lazy(entityService), Lazy(relationService), Lazy(treeService), Lazy(sectionService), Lazy(macroService), Lazy(memberTypeService), Lazy(memberGroupService), Lazy(notificationService), Lazy(externalLoginService), Lazy(redirectUrlService), Lazy(consentService))); }
public AuthorizeInteractionResponseGenerator(IConsentService consent, IUserService users, ILocalizationService localizationService) { _signIn = new SignInMessage(); _consent = consent; _users = users; _localizationService = localizationService; }
public AuthorizeInteractionResponseGenerator(CoreSettings core, IConsentService consent) { _signIn = new SignInMessage(); _core = core; _consent = consent; }
public AuthorizeInteractionResponseGenerator(CoreSettings settings, IConsentService consent) { _signIn = new SignInMessage(); _settings = settings; _consent = consent; }
public CustomAuthorizeInteractionResponseGenerator( IdentityServerOptions options, ISystemClock clock, ILogger <Duende.IdentityServer.ResponseHandling.AuthorizeInteractionResponseGenerator> logger, IConsentService consent, IProfileService profile) : base(options, clock, logger, consent, profile) { }
public AccountService(ITrueLayerDataApi trueLayerDataApi, IConsentService consentService, IRepository <List <Account>, string> accountRepository, ITransactionRepository <Transaction, string> transactionRepository) { _trueLayerDataApi = trueLayerDataApi; _consentService = consentService; _accountRepository = accountRepository; _transactionRepository = transactionRepository; }
/// <summary> /// Initializes a new instance of the <see cref="AuthorizeInteractionResponseGenerator"/> class. /// </summary> /// <param name="logger">The logger.</param> /// <param name="consent">The consent.</param> /// <param name="profile">The profile.</param> public AuthorizeInteractionResponseGenerator( ILogger <AuthorizeInteractionResponseGenerator> logger, IConsentService consent, IProfileService profile) { Logger = logger; Consent = consent; Profile = profile; }
public GdprController(IConsentService consentService, IGdprModelFactory gdprModelFactory, IConsentGroupService consentGroupService, IModelMapper modelMapper, IConsentLogService consentLogService, ICryptographyService cryptographyService, IUserService userService) { _consentService = consentService; _gdprModelFactory = gdprModelFactory; _consentGroupService = consentGroupService; _modelMapper = modelMapper; _consentLogService = consentLogService; _cryptographyService = cryptographyService; _userService = userService; }
public ImpersonateAuthorizeInteractionResponseGenerator( ISystemClock clock, ILogger <AuthorizeInteractionResponseGenerator> logger, IConsentService consent, IProfileService profile, IHttpContextAccessor http) : base(clock, logger, consent, profile) { _http = http; }
/// <summary> /// Initializes a new instance of the <see cref="AuthorizeInteractionResponseGenerator"/> class. /// </summary> /// <param name="logger">The logger.</param> /// <param name="options">The options.</param> /// <param name="consent">The consent.</param> /// <param name="profile">The profile.</param> public AuthorizeInteractionResponseGenerator( ILogger <AuthorizeInteractionResponseGenerator> logger, IdentityServerOptions options, IConsentService consent, IProfileService profile) { _logger = logger; _consent = consent; _profile = profile; }
public AccountChooserResponseGenerator( RoleManager <ApplicationRole> roleManager, IAppUserRoleRepository appUserRoleRepository, ISystemClock clock, ILogger <AuthorizeInteractionResponseGenerator> logger, IConsentService consent, IProfileService profile) : base(clock, logger, consent, profile) { _roleManager = roleManager; _appUserRoleRepository = appUserRoleRepository; }
/// <summary> /// Initializes a new instance of the <see cref="AuthorizeInteractionResponseGenerator"/> class. /// </summary> public ApiAuthorizeInteractionResponseGenerator( ISystemClock clock, ILogger <AuthorizeInteractionResponseGenerator> logger, IConsentService consent, IHttpContextAccessor httpContextAccessor) { Clock = clock; Logger = logger; Consent = consent; _httpContextAccessor = httpContextAccessor; }
/// <summary> /// Initializes a new instance of the <see cref="AuthorizeInteractionResponseGenerator"/> class. /// </summary> /// <param name="clock">The clock.</param> /// <param name="logger">The logger.</param> /// <param name="consent">The consent.</param> /// <param name="profile">The profile.</param> public AuthorizeInteractionResponseGenerator( ISystemClock clock, ILogger <AuthorizeInteractionResponseGenerator> logger, IConsentService consent, IProfileService profile) { Clock = clock; Logger = logger; Consent = consent; Profile = profile; }
public CustomInteractionGenerator( ISystemClock clock, ILogger <AuthorizeInteractionResponseGenerator> logger, IConsentService consent, IProfileService profile, IHttpContextAccessor http, IUserSession session) : base(clock, logger, consent, profile) { _http = http; _session = session; }
public AuthorizeInteractionResponseGenerator( ILogger <AuthorizeInteractionResponseGenerator> logger, IdentityServerOptions options, IConsentService consent, IUserService users, ILocalizationService localizationService) { _logger = logger; _options = options; _consent = consent; _users = users; _localizationService = localizationService; }
public AuthorizeInteractionResponseGenerator( ILogger<AuthorizeInteractionResponseGenerator> logger, IdentityServerOptions options, IConsentService consent, IProfileService profile, ILocalizationService localizationService) { _logger = logger; _options = options; _consent = consent; _profile = profile; _localizationService = localizationService; }
public ConsentController( IIdentityServerInteractionService interaction, IClientStore clientStore, IResourceStore resourceStore, IConsentService consentService, ILogger <ConsentController> logger) { _interaction = interaction; _clientStore = clientStore; _consentService = consentService; _consent = new ConsentService(interaction, clientStore, consentService, resourceStore, logger); }
/// <summary> /// Initializes a new instance of the <see cref="AuthorizeInteractionResponseGenerator"/> class. /// </summary> /// <param name="clock">The clock.</param> /// <param name="logger">The logger.</param> /// <param name="consent">The consent.</param> /// <param name="profile">The profile.</param> public NopApiAuthorizeInteractionResponseGenerator( ISystemClock clock, ILogger <AuthorizeInteractionResponseGenerator> logger, IConsentService consent, IProfileService profile, IHttpContextAccessor httpContextAccessor, IAuthenticationService authenticationService) { Clock = clock; Logger = logger; Consent = consent; Profile = profile; _httpContextAccessor = httpContextAccessor; _authenticationService = authenticationService; }
public AuthorizeInteractionResponseGenerator( ILogger<AuthorizeInteractionResponseGenerator> logger, IdentityServerOptions options, IConsentService consent, IUserService users, ILocalizationService localizationService) { _logger = logger; _options = options; _consent = consent; _users = users; _localizationService = localizationService; }
public ConsentService( IIdentityServerInteractionService interaction, IClientStore clientStore, IConsentService consentService, IResourceStore resourceStore, ILogger logger) { _interaction = interaction; _clientStore = clientStore; _consentService = consentService; _resourceStore = resourceStore; _logger = logger; }
public AuthorizeEndpointController( ILogger logger, AuthorizeRequestValidator validator, AuthorizeResponseGenerator responseGenerator, AuthorizeInteractionResponseGenerator interactionGenerator, IConsentService consentService, ICoreSettings settings) { _logger = logger; _settings = settings; _responseGenerator = responseGenerator; _interactionGenerator = interactionGenerator; _validator = validator; }
public AppAuthorizeInteractionResponseGenerator( UserManager userManager, SignInManager <ApplicationUser> signInManager, //IHttpContextAccessor httpContextAccessor, ISystemClock clock, ILogger <AuthorizeInteractionResponseGenerator> logger, IConsentService consent, IProfileService profile ) : base(clock, logger, consent, profile) { _systemClock = clock; _profileService = profile; //_httpContextAccessor = httpContextAccessor; _userManager = userManager; _signInManager = signInManager; }
public AuthenticationController(IAppAuthenticationService appAuthenticationService, UserSettings userSettings, SecuritySettings securitySettings, IUserRegistrationService userRegistrationService, IRoleService roleService, IUserService userService, ICryptographyService cryptographyService, IUserCodeService userCodeService, IPreviousPasswordService previousPasswordService, IConsentService consentService, IGdprService gdprService, IGdprModelFactory gdprModelFactory, IInviteRequestService inviteRequestService, AffiliateSettings affiliateSettings) { _appAuthenticationService = appAuthenticationService; _userSettings = userSettings; _securitySettings = securitySettings; _userRegistrationService = userRegistrationService; _roleService = roleService; _userService = userService; _cryptographyService = cryptographyService; _userCodeService = userCodeService; _previousPasswordService = previousPasswordService; _consentService = consentService; _gdprService = gdprService; _gdprModelFactory = gdprModelFactory; _inviteRequestService = inviteRequestService; _affiliateSettings = affiliateSettings; }
public CardController(ICardService cardService, IConsentService consentService) { _cardService = cardService; _contentService = contentService; }
public ConsentRuleEngine(IConsentService consentService) { this.consentService = consentService; }
public ConsentController(ILogger <ConsentController> logger, IConsentService consentService, IAccountService accountService, ITrueLayerDataApi trueLayerDataApi) { _logger = logger; _consentService = consentService; }
public ConsentController(IConsentService consentService) { _consentService = consentService ?? throw new ArgumentNullException(nameof(consentService)); }
public AuthorizeInteractionResponseGenerator(IConsentService consent, IUserService users) { _signIn = new SignInMessage(); _consent = consent; _users = users; }
public Consents(IKrisLogger logger, IConsentService consentService) : base(logger) { _ip = PrepareIp(); _consentService = consentService; }
public AuthorizeInteractionResponseGenerator(IConsentService consent) { _signIn = new SignInMessage(); _consent = consent; }
public RawHtmlWidget(IWidgetService widgetService, IGdprService gdprService, IConsentService consentService) { _widgetService = widgetService; _gdprService = gdprService; _consentService = consentService; }
public GdprController(IGdprService gdprService, IConsentService consentService, IGdprModelFactory gdprModelFactory) { _gdprService = gdprService; _consentService = consentService; _gdprModelFactory = gdprModelFactory; }