@dxos/react-client
Preparing search index...
index
FakeAgentHostingProvider
Class FakeAgentHostingProvider
Implements
AgentHostingProviderClient
Index
Constructors
constructor
Methods
create
Agent
destroy
Agent
get
Agent
init
Constructors
constructor
new
FakeAgentHostingProvider
(
_throw
?:
boolean
)
:
FakeAgentHostingProvider
Parameters
Optional
_throw
:
boolean
Returns
FakeAgentHostingProvider
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
authToken
:
any
Returns
boolean
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Methods
create
Agent
destroy
Agent
get
Agent
init
@dxos/react-client
Loading...
Initialize the client, potentially using the authToken to check authorization.