Class FakeAgentHostingProvider
FakeAgentHostingProvider
Class Declared in packages/sdk/client/src/services/fake-agent-hosting-provider.ts:10
Constructors
constructor(_clientConfig, _halo)
Returns: FakeAgentHostingProvider
Arguments:
_clientConfig
: Config
_halo
: Halo
Properties
Methods
createAgent(invitationCode, identityKey)
Returns: Promise<string>
Arguments:
invitationCode
: string
identityKey
: string
destroyAgent(agentID)
Returns: Promise<boolean>
Arguments:
agentID
: string
getAgent(agentID)
Returns: Promise<"null" | string>
Arguments:
agentID
: string
init(authToken)
Initialize the client, potentially using the authToken to check authorization.
Returns: boolean
Arguments:
authToken
: any