withTrustProxyHeader

Method
📦 CommunityToolkit.Aspire.Hosting.Logto v13.6.1
interface LogtoResource {
// ... omitted for brevity
withTrustProxyHeader(trustProxyHeader: boolean): LogtoResource;
}

Signature

methodwithTrustProxyHeaderbuilder
Configures the Logto resource to enable or disable the trust proxy header behavior.
withTrustProxyHeader(trustProxyHeader: boolean): LogtoResource
trustProxyHeaderbooleanA value indicating whether to trust the proxy header.
LogtoResource

Applies to

This method applies to the following types: