From 6cdf69547caaceb8f69689bdbc85694203b4e05b Mon Sep 17 00:00:00 2001 From: Filip Masar Date: Tue, 24 Sep 2024 15:35:08 +0200 Subject: [PATCH] add credentials to service type --- src/@types/DDO/Service.ts | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/@types/DDO/Service.ts b/src/@types/DDO/Service.ts index 256e164a3..6a794540a 100644 --- a/src/@types/DDO/Service.ts +++ b/src/@types/DDO/Service.ts @@ -1,4 +1,5 @@ import { ConsumerParameter } from './ConsumerParameter' +import { Credentials } from './Credentials' export interface PublisherTrustedAlgorithm { /** @@ -80,6 +81,12 @@ export interface Service { */ serviceEndpoint: string + /** + * Describes the credentials needed to access a service + * @type {Credentials} + */ + credentials?: Credentials + /** * Describing how long the service can be used after consumption is initiated. * @type {number}