Skip to content

@pod-os/core


@pod-os/core / ProfileGateway

Class: ProfileGateway

Defined in: profile/ProfileGateway.ts:8

Gateway for profile-related operations on Solid Pods and the store.

Since

0.24.0

Constructors

Constructor

new ProfileGateway(store): ProfileGateway

Defined in: profile/ProfileGateway.ts:9

Parameters

store

Store

Returns

ProfileGateway

Methods

fetchProfile()

fetchProfile(webId): Promise\<WebIdProfile>

Defined in: profile/ProfileGateway.ts:17

Fetches the profile for the given WebID and all linked documents

Parameters

webId

string

The WebID to fetch the profile for

Returns

Promise\<WebIdProfile>

The fetched profile

Since

0.24.0