refreshService

fun refreshService(id: String, type: String)

Set refresh service.

Per W3C VC data model, id is the refresh service URI (which also serves as the endpoint) and type identifies the service type (e.g., "ManualRefreshService2020").

Parameters

id

Must be a valid URI for the refresh service endpoint

type

Service type identifier

Throws

if any parameter is blank or id is not a valid URI