addRequestCredentials
Require verifiable credentials for this service specifically.
The service-level counterpart of AssetBuilder.addRequestCredentials. The policy server merges both when deciding whether a presentation is needed.
Usage
import { } from '@deltadao/nautilus'
.(., [
{ : 'VerifiableId', : 'jwt_vc_json' }
]) Each entry can carry its own policies, a policy name or { policy, args }, checked against that credential only. nautilus stores each one JSON-encoded ('signature' becomes '"signature"'), the form the policy server parses and the enterprise market writes; the policy server skips a per-credential policy that is not valid JSON.
{ type: 'gx:LegalPerson', format: 'jwt_vc_json', policies: ['signature'] }Returns
- Type:
ServiceBuilder
The service builder instance, to chain further calls with.