protected BaseController(INotificator notificator, IJwtUser appUser) { this.Notificator = notificator; this.AppUser = appUser; }
public AuthController(INotificator notificator, IJwtUser user, IOptions <FacebookAuthSettings> facebookAuthSettings, AuthenticationService authenticationService) : base(notificator, user) { this.FacebookAuthSettings = facebookAuthSettings.Value; this.AuthenticationService = authenticationService; }
public AuthenticationService(UserManager <User> userManager, SignInManager <User> signInManager, IJwtUser user, IOptions <JwtSettings> jwtSettings, IOptions <FacebookAuthSettings> facebookAuthSettings, IOptions <RefreshTokenSettings> refreshTokenSettings, IdentityDbContext context, IMapper mapper) { this.UserManager = userManager; this.SignInManager = signInManager; this.JwtSettings = jwtSettings.Value; this.FacebookAuthSettings = facebookAuthSettings.Value; this.RefreshTokenSettings = refreshTokenSettings.Value; this.Context = context; this.Mapper = mapper; }