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; }
public AuthController(IAntiforgery antiForgeryService, ILocalAuthenticationService authService, IOptions <Toucan.Server.Config> serverConfig, ISignupService signupService, IVerificationProvider verificationProvider, ITokenProviderService <Token> tokenService) { this.antiForgeryService = antiForgeryService; this.authService = authService; this.serverConfig = serverConfig.Value; this.signupService = signupService; this.tokenService = tokenService; this.verificationProvider = verificationProvider; }