@inrupt/solid-client
    Preparing search index...

    Function getResourceInfoWithAccessDatasets

    • function is still experimental and subject to change, even in a non-major release.
      

      Fetch information about a Resource, and:

      • if the Resource is governed by an ACR: its associated Access Control Resource (if available to the current user), and all the Access Control Policies referred to therein, if available to the current user.
      • if the Resource is governed by an ACL: its associated Resource ACL (if available to the current user), or its Fallback ACL if it does not exist.

      Parameters

      • url: string | Url

        URL of the Resource information about which to fetch.

      • Optionaloptions: { fetch?: (input: URL | RequestInfo, init?: RequestInit) => Promise<Response> }

        Optional parameter options.fetch: An alternative fetch function to make the HTTP request, compatible with the browser-native fetch API.

        • Optionalfetch?: (input: URL | RequestInfo, init?: RequestInit) => Promise<Response>

      Returns Promise<WithResourceInfo & {} & (WithAcl | WithAcp)>

      Information about a Resource and either the ACL access data or the ACR access data, if available to the current user.

      1.6.0