public AuthenticationService(UserManager <IdentityUser> userManager, JwtFactory jwtFactory, IOptions <JwtIssuerOptions> jwtOptions) { _userManager = userManager; _jwtFactory = jwtFactory; _jwtOptions = jwtOptions.Value; }