Esempio n. 1
0
 public static bool IsDisabled(this JwtBearerAuthenticationConfiguration jwtBearerAuthenticationConfiguration) =>
 !jwtBearerAuthenticationConfiguration.IsEnabled();
Esempio n. 2
0
 public static bool HasOpenApiClient(this JwtBearerAuthenticationConfiguration jwtBearerAuthenticationConfiguration) =>
 jwtBearerAuthenticationConfiguration.IsEnabled() &&
 jwtBearerAuthenticationConfiguration.OpenApi != null;