Beispiel #1
0
 public JwtFactory(IOptions <JwtIssuerOptions> jwtOptions)
 {
     _jwtOptions = jwtOptions.Value;
     ThrowIfInvalidOptions(_jwtOptions);
 }
 public AuthAuthenticationService(UserManager <AppUser> userManager, IJwtFactory jwtFactory, IOptions <JwtIssuerOptions> jwtOptions)
 {
     _userManager = userManager;
     _jwtFactory  = jwtFactory;
     _jwtOptions  = jwtOptions.Value;
 }