Skip to main content
Module

x/dynablox_opencloud/mod.ts>OpenCloudClient#canAccessResource

A Roblox OpenCloud API wrapper for Deno and NodeJS written in TypeScript.
Latest
method OpenCloudClient.prototype.canAccessResource
import { OpenCloudClient } from "https://deno.land/x/dynablox_opencloud@v0.2.2/mod.ts";

Errors if the API key can not access the resource.

Type Parameters

ScopeType extends Scope["scopeType"]

Parameters

scopeType: ScopeType
  • The scope type.
parts: Extract<Scope, { scopeType: ScopeType; }>["targetParts"]
  • The target parts.
operation: Extract<Scope, { scopeType: ScopeType; }>["operations"][number]
  • The operation.
partsOptional: boolean[]
  • The optional parts.