LogtoResource.WithTrustProxyHeader

Method
📦 CommunityToolkit.Aspire.Hosting.Logto v13.6.1
type LogtoResource interface {
// ... omitted for brevity
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().

Defined on

This method is defined on the following type: