withDenoAllow
Method
interface DenoAppResource { // ... omitted for brevity withDenoAllow( kind: DenoPermissionKind, values: string[]): DenoAppResource;}Signature
method
withDenoAllow builderGrants a Deno permission, optionally scoped to the supplied values.
withDenoAllow( kind: DenoPermissionKind, values: string[]): DenoAppResourceParameters
kindDenoPermissionKind The permission to grant.valuesstring[]Optional values that scope the permission. When empty, all access of the selected kind is allowed.Returns
DenoAppResource Applies to
This method applies to the following types: