Skip to main content

Class FakeAgentHostingProvider


Class FakeAgentHostingProvider

Declared in packages/sdk/client/dist/types/src/services/fake-agent-hosting-provider.d.ts:2

Constructors

constructor([_throw])

Returns: FakeAgentHostingProvider

Arguments:

_throw: boolean

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