@dxos/client
Preparing search index...
index
AgentHostingProviderClient
Interface AgentHostingProviderClient
interface
AgentHostingProviderClient
{
createAgent
(
invitationCode
:
string
,
identityKey
:
string
,
)
:
Promise
<
string
>
;
destroyAgent
(
agentID
:
string
)
:
Promise
<
boolean
>
;
getAgent
(
agentID
:
string
)
:
Promise
<
null
|
string
>
;
init
(
authToken
?:
any
)
:
boolean
;
}
Implemented by
AgentManagerClient
FakeAgentHostingProvider
Index
Methods
create
Agent
destroy
Agent
get
Agent
init
Methods
create
Agent
createAgent
(
invitationCode
:
string
,
identityKey
:
string
)
:
Promise
<
string
>
Parameters
invitationCode
:
string
identityKey
:
string
Returns
Promise
<
string
>
destroy
Agent
destroyAgent
(
agentID
:
string
)
:
Promise
<
boolean
>
Parameters
agentID
:
string
Returns
Promise
<
boolean
>
get
Agent
getAgent
(
agentID
:
string
)
:
Promise
<
null
|
string
>
Parameters
agentID
:
string
Returns
Promise
<
null
|
string
>
init
init
(
authToken
?:
any
)
:
boolean
Initialize the client, potentially using the authToken to check authorization.
Parameters
Optional
authToken
:
any
Returns
boolean
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Methods
create
Agent
destroy
Agent
get
Agent
init
@dxos/client
Loading...
Initialize the client, potentially using the authToken to check authorization.