Exemple #1
0
 public ControllerBase(IDomainContextResolver resolver, ILocalizationService localization)
 {
     this.Localization = localization;
     this.Resolver     = resolver;
 }
Exemple #2
0
 public AuthController(IAntiforgery antiForgeryService, ILocalAuthenticationService authService, CultureService cultureService, IOptions <Toucan.Server.Config> serverConfig, ISignupService signupService, ITokenProviderService <Token> tokenService, IDomainContextResolver resolver, ILocalizationService localization) : base(resolver, localization)
 {
     this.antiForgeryService = antiForgeryService;
     this.authService        = authService;
     this.cultureService     = cultureService;
     this.serverConfig       = serverConfig.Value;
     this.signupService      = signupService;
     this.tokenService       = tokenService;
 }
Exemple #3
0
 public ManageRoleController(IManageRoleService manageRoleService, IDomainContextResolver resolver, ILocalizationService localization) : base(resolver, localization)
 {
     this.manageRoleService = manageRoleService;
 }
 public ExternalAuthControllerController(IExternalAuthenticationService externalAuthService, IMemoryCache cache, ITokenProviderService <Token> tokenService, IDomainContextResolver resolver, ILocalizationService localization) : base(resolver, localization)
 {
     this.cache = cache;
     this.externalAuthService = externalAuthService;
     this.tokenService        = tokenService;
 }
Exemple #5
0
 public AuditService(ILogger <AuditService> logger, IDomainContextResolver resolver)
 {
     this.logger   = logger;
     this.resolver = resolver;
 }
Exemple #6
0
 public ContentController(IDomainContextResolver resolver, ILocalizationService localization)
 {
     this.localization = localization;
     this.resolver     = resolver;
 }
 public ContentController(IDomainContextResolver resolver, ILocalizationService localization) : base(resolver, localization)
 {
 }
Exemple #8
0
 public ProfileController(CultureService cultureService, IManageProfileService profileService, IDomainContextResolver resolver, ILocalizationService localization) : base(resolver, localization)
 {
     this.cultureService = cultureService;
     this.profileService = profileService;
 }