Options
All
  • Public
  • Public/Protected
  • All
Menu

Class ConnectionService

Used for setting up connections between Meeco Users to allow the secure sharing of data (see also ShareService)

Hierarchy

  • Service<ConnectionApi>
    • ConnectionService

Index

Constructors

constructor

Properties

Protected environment

environment: Environment

Protected keystoreAPIFactory

keystoreAPIFactory: KeystoreAPIFactory

Protected logger

logger: IFullLogger

Protected vaultAPIFactory

vaultAPIFactory: VaultAPIFactory

Methods

createConnection

fetchConnectionWithId

  • fetchConnectionWithId(credentials: IVaultToken, connectionId: string): Promise<Connection>

findConnectionBetween

  • findConnectionBetween(fromUser: IVaultToken, toUser: IVaultToken): Promise<{ fromUserConnection: Connection; toUserConnection: Connection }>

get

  • get(credentials: IVaultToken, connectionId: string): Promise<Connection>

getAPI

list

listAll

listConnections

setLogger

  • setLogger(logger: Logger): void

Generated using TypeDoc