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

    Function getProfileAll

    • Get all the Profile Resources discoverable from a WebID Profile.

      A WebID Profile may be any RDF resource on the Web, it doesn't have to be a Solid resource. That is why, in order to expose a Solid-enabled part of their profile, some WebID profiles link to one or more Extended Profile Resources, which may are Solid resources. A WebID resource should be public, so getProfileAll will issue an unauthenticated request to the WebID, and only use the provided authenticated fetch (if any) to access extended profile documents.

      Type Parameters

      Parameters

      • webId: string

        WebID of the agent you want the profile of.

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

        Optional parameter

        • options.webIdProfile: The data retrieved when looking up the WebID. This will be fetched if not provided.
        • 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>
        • OptionalwebIdProfile?: T

      Returns Promise<ProfileAll<T>>

      Promise resolving to an array of [[SolidDataset]], each corresponding to a personal profile document discoverable from the WebID Profile Document. If none are found, the WebID profile document itself is returned.

      1.16.0

    • Get all the Profile Resources discoverable from a WebID Profile.

      A WebID Profile may be any RDF resource on the Web, it doesn't have to be a Solid resource. That is why, in order to expose a Solid-enabled part of their profile, some WebID profiles link to one or more Extended Profile Resources, which may are Solid resources. A WebID resource should be public, so getProfileAll will issue an unauthenticated request to the WebID, and only use the provided authenticated fetch (if any) to access extended profile documents.

      Parameters

      • webId: string

        WebID of the agent you want the profile of.

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

        Optional parameter

        • options.webIdProfile: The data retrieved when looking up the WebID. This will be fetched if not provided.
        • 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>
        • webIdProfile: undefined

      Returns Promise<ProfileAll<Readonly<{}> & WithResourceInfo & {}>>

      Promise resolving to an array of [[SolidDataset]], each corresponding to a personal profile document discoverable from the WebID Profile Document. If none are found, the WebID profile document itself is returned.

      1.16.0