Skip to content

Commit

Permalink
Merge pull request #1855 from oceanprotocol/feature/credentials-on-se…
Browse files Browse the repository at this point in the history
…rvice-level

add credentials to service type
  • Loading branch information
FilipMasar authored Oct 1, 2024
2 parents a2861ef + 6cdf695 commit fdfe741
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 fdfe741

Please sign in to comment.