Skip to main content

WebDIDProvider.addService() method​

Signature:

addService({ identifier, service, options }: {
identifier: IIdentifier;
service: IService;
options?: any;
}, context: IContext): Promise<any>;

Parameters​

Parameter

Type

Description

{ identifier, service, options }

{ identifier: IIdentifier; service: IService; options?: any; }

context

IContext

**Returns:**

Promise<any>