Skip to content

Commit

Permalink
add credentials to service type
Browse files Browse the repository at this point in the history
  • Loading branch information
FilipMasar committed Sep 24, 2024
1 parent eb6d84e commit 6cdf695
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions src/@types/DDO/Service.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import { ConsumerParameter } from './ConsumerParameter'
import { Credentials } from './Credentials'

export interface PublisherTrustedAlgorithm {
/**
Expand Down Expand Up @@ -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}
Expand Down

0 comments on commit 6cdf695

Please sign in to comment.