mirror of
https://github.com/oceanprotocol/ocean.js.git
synced 2024-11-26 20:39:05 +01:00
Merge pull request #1855 from oceanprotocol/feature/credentials-on-service-level
add credentials to service type
This commit is contained in:
commit
fdfe741013
@ -1,4 +1,5 @@
|
|||||||
import { ConsumerParameter } from './ConsumerParameter'
|
import { ConsumerParameter } from './ConsumerParameter'
|
||||||
|
import { Credentials } from './Credentials'
|
||||||
|
|
||||||
export interface PublisherTrustedAlgorithm {
|
export interface PublisherTrustedAlgorithm {
|
||||||
/**
|
/**
|
||||||
@ -80,6 +81,12 @@ export interface Service {
|
|||||||
*/
|
*/
|
||||||
serviceEndpoint: string
|
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.
|
* Describing how long the service can be used after consumption is initiated.
|
||||||
* @type {number}
|
* @type {number}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user