DenoAppResource.WithDenoAllowAll

Method
📦 Aspire.Hosting.JavaScript v17.0.0
type DenoAppResource interface {
// ... omitted for brevity
WithDenoAllowAll(options ...*WithDenoAllowAllOptions) DenoAppResource
}

Signature

methodWithDenoAllowAllbuilder
Controls the blanket -A/--allow-all grant.
WithDenoAllowAll(options ...*WithDenoAllowAllOptions) DenoAppResource
options...*WithDenoAllowAllOptionsOptional settings, described under Options.

Optional parameters are passed in a trailing options ...*WithDenoAllowAllOptions argument.

Enabled*boolWhether to emit -A/--allow-all. Pass false to grant only permissions configured with WithDenoAllow.
DenoAppResource

The resource builder.

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

Defined on

This method is defined on the following type: