예제 #1
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;
 }
예제 #2
0
 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;
 }