mirror of
https://github.com/oceanprotocol/ocean.js.git
synced 2024-11-26 20:39:05 +01:00
add credentials to service type
This commit is contained in:
parent
eb6d84edce
commit
6cdf69547c
@ -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}
|
||||
|
Loading…
x
Reference in New Issue
Block a user