LogtoResource.WithTrustProxyHeader
Method
type LogtoResource interface { // ... omitted for brevity WithTrustProxyHeader(trustProxyHeader bool) LogtoResource}Signature
method
WithTrustProxyHeader builderConfigures the Logto resource to enable or disable the trust proxy header behavior.
WithTrustProxyHeader(trustProxyHeader bool) LogtoResourceParameters
trustProxyHeader boolA value indicating whether to trust the proxy header.Returns
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: