Aspirerelease/17.0
Watch Aspire live streamsDocsTry Aspire

WithTrustProxyHeader

Method
📦 CommunityToolkit.Aspire.Hosting.Logto v13.6.1
func (LogtoResource) WithTrustProxyHeader(trustProxyHeader bool) LogtoResource

Signature

methodWithTrustProxyHeaderbuilder
Configures the Logto resource to enable or disable the trust proxy header behavior.
WithTrustProxyHeader(trustProxyHeader bool) LogtoResource
trustProxyHeaderboolA value indicating whether to trust the proxy header.
LogtoResource

The resource builder for the configured Logto resource.

Returns a handle; failures surface later via Err().

Applies to

This method applies to the following types: