DenoAppResource.withDenoAllow

Method
📦 Aspire.Hosting.JavaScript v17.0.0
interface DenoAppResource {
// ... omitted for brevity
withDenoAllow(
kind: DenoPermissionKind,
values: string[]): DenoAppResource;
}

Signature

methodwithDenoAllowbuilder
Grants a Deno permission, optionally scoped to the supplied values.
withDenoAllow(
kind: DenoPermissionKind,
values: string[]): DenoAppResource
kindDenoPermissionKindThe permission to grant.
valuesstring[]Optional values that scope the permission. When empty, all access of the selected kind is allowed.
DenoAppResource

Defined on

This method is defined on the following type: