Beispiel #1
0
 public ControllerBase(IDomainContextResolver resolver, ILocalizationService localization)
 {
     this.Localization = localization;
     this.Resolver     = resolver;
 }
Beispiel #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;
 }
Beispiel #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;
 }
Beispiel #5
0
 public AuditService(ILogger <AuditService> logger, IDomainContextResolver resolver)
 {
     this.logger   = logger;
     this.resolver = resolver;
 }
Beispiel #6
0
 public ContentController(IDomainContextResolver resolver, ILocalizationService localization)
 {
     this.localization = localization;
     this.resolver     = resolver;
 }
Beispiel #7
0
 public ContentController(IDomainContextResolver resolver, ILocalizationService localization) : base(resolver, localization)
 {
 }
Beispiel #8
0
 public ProfileController(CultureService cultureService, IManageProfileService profileService, IDomainContextResolver resolver, ILocalizationService localization) : base(resolver, localization)
 {
     this.cultureService = cultureService;
     this.profileService = profileService;
 }