public JwtFactory(IJwtTokenHandler jwtTokenHandler, JwtIssuerOptions jwtOptions)
 {
     _jwtTokenHandler = jwtTokenHandler;
     _jwtOptions      = jwtOptions;
     ThrowIfInvalidOptions(_jwtOptions);
 }
 public JwtFactory(IJwtTokenHandler jwtTokenHandler, IOptions <JwtIssuerOptions> jwtOptions)
 {
     _jwtTokenHandler = jwtTokenHandler;
     _jwtOptions      = jwtOptions.Value;
     ThrowIfInvalidOptions(_jwtOptions);
 }