@inrupt/solid-client-access-grants / verify

Module: verify#

Import this module for the access API functions available to an entity verifying issued credentials for access over a resource.

Functions#

isValidAccessGrant#

isValidAccessGrant(vc, options?): Promise<{ checks: string[] ; errors: string[] ; warnings: string[] }>

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

Since

0.4.0

Parameters#

Name

Type

Description

vc

string | URL | VerifiableCredential

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

options

AccessBaseOptions & { verificationEndpoint?: string }

Optional properties to customise the request behaviour.

Returns#

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

An object containing checks, warnings, and errors.

Defined in#

src/verify/isValidAccessGrant.ts:40