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

    Function isValidAccessGrant

    • Makes a request to the access server to verify the validity of a given Verifiable Credential.

      Parameters

      • vc: string | URL | VerifiableCredential | DatasetWithId

        Either a VC, or a URL to a VC, to be verified.

      • options: {
            fetch?: {
                (input: URL | RequestInfo, init?: RequestInit): Promise<Response>;
                (input: string | URL | Request, init?: RequestInit): Promise<Response>;
            };
            verificationEndpoint?: string;
        } = {}

        Optional properties to customise the request behaviour.

        • Optionalfetch?: {
              (input: URL | RequestInfo, init?: RequestInit): Promise<Response>;
              (input: string | URL | Request, init?: RequestInit): Promise<Response>;
          }
        • OptionalverificationEndpoint?: string

      Returns Promise<{ checks: string[]; errors: string[]; warnings: string[] }>

      An object containing checks, warnings, and errors.

      0.4.0