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

    Interface AccessGrantWrapper

    This class wraps all the accessor functions on a raw Access Grant JSON object. It wraps all the supported Access Grants data models, namely GConsent.

    const rawGrant = await getAccessGrantFromRedirectUrl(someUrl, { fetch: session.fetch });
    const grant = new AccessGrant(grant);
    const grantOwner = grant.getResourceOwner();
    interface AccessGrantWrapper {
        getAccessModes(): AccessModes;
        getExpirationDate(): undefined | Date;
        getId(): string;
        getInbox(): undefined | string;
        getInherit(): boolean;
        getIssuanceDate(): Date;
        getIssuer(): string;
        getPurposes(): string[];
        getRequest(): undefined | string;
        getRequestor(): string;
        getResourceOwner(): undefined | string;
        getResources(): string[];
        getTypes(): string[];
    }
    Index

    Methods