public static bool IsDisabled(this JwtBearerAuthenticationConfiguration jwtBearerAuthenticationConfiguration) => !jwtBearerAuthenticationConfiguration.IsEnabled();
public static bool HasOpenApiClient(this JwtBearerAuthenticationConfiguration jwtBearerAuthenticationConfiguration) => jwtBearerAuthenticationConfiguration.IsEnabled() && jwtBearerAuthenticationConfiguration.OpenApi != null;