1 instantiation of CertificateTrustConfigurationCallbackAnnotationContext
Aspire.Hosting (1)
ApplicationModel\CertificateTrustExecutionConfigurationGatherer.cs (1)
93var callbackContext = new CertificateTrustConfigurationCallbackAnnotationContext
5 references to CertificateTrustConfigurationCallbackAnnotationContext
Aspire.Hosting (5)
ApplicationModel\CertificateTrustConfigurationCallbackAnnotation.cs (2)
13public sealed class CertificateTrustConfigurationCallbackAnnotation(Func<CertificateTrustConfigurationCallbackAnnotationContext, Task> callback) : IResourceAnnotation 18public Func<CertificateTrustConfigurationCallbackAnnotationContext, Task> Callback { get; } = callback ?? throw new ArgumentNullException(nameof(callback));
ApplicationModel\CertificateTrustExecutionConfigurationGatherer.cs (2)
93var callbackContext = new CertificateTrustConfigurationCallbackAnnotationContext 146/// Collection of custom certificate bundle generators added via the <see cref="CertificateTrustConfigurationCallbackAnnotationContext.CreateCustomBundle"/> method, keyed by the bundle's relative path under the root certificates path. The value is a function that generates the bundle contents as a byte array given a collection of X509 certificates and a cancellation token.
ResourceBuilderExtensions.cs (1)
2691public static IResourceBuilder<TResource> WithCertificateTrustConfiguration<TResource>(this IResourceBuilder<TResource> builder, Func<CertificateTrustConfigurationCallbackAnnotationContext, Task> callback)