addRequestCredentials
Require verifiable credentials to access the asset.
New in DDO v5, and the core of credential-gated access. Each entry names a credential type and the format it must be presented in.
See the identity guide for the consumer side.
Usage
import { } from '@deltadao/nautilus'
.(., [
{ : 'VerifiableId', : 'jwt_vc_json' },
{ : 'UniversityDegree', : 'jwt_vc_json' }
]) Returns
- Type:
AssetBuilder
The asset builder instance, to chain further calls with.