ic-reactor
Example
GitHub
Preparing search index...
react
types
AgentManager
Interface AgentManager
interface
AgentManager
{
agentStore
:
types
.
AgentStore
;
authStore
:
types
.
AuthStore
;
initializeAgent
:
()
=>
Promise
<
void
>
;
subscribeAgent
:
(
callback
:
(
agent
:
types
.
HttpAgent
)
=>
void
,
initialize
?:
boolean
,
)
=>
()
=>
void
;
unsubscribeAgent
:
(
callback
:
(
agent
:
types
.
HttpAgent
)
=>
void
)
=>
void
;
updateAgent
:
(
options
?:
types
.
UpdateAgentParameters
)
=>
Promise
<
void
>
;
authenticate
:
()
=>
Promise
<
types
.
Identity
>
;
login
:
(
options
?:
types
.
AuthClientLoginOptions
)
=>
Promise
<
void
>
;
logout
:
(
options
?:
{
returnTo
?:
string
}
)
=>
Promise
<
void
>
;
getAgent
:
()
=>
types
.
HttpAgent
;
getAgentHost
:
()
=>
undefined
|
URL
;
getAgentHostName
:
()
=>
string
;
getIsLocal
:
()
=>
boolean
;
isAuthClientInitialized
:
()
=>
boolean
;
getNetwork
:
()
=>
"local"
|
"remote"
|
"ic"
;
getAgentState
:
()
=>
types
.
AgentState
;
subscribeAgentState
:
{
(
listener
:
(
selectedState
:
types
.
AgentState
,
previousSelectedState
:
types
.
AgentState
,
)
=>
void
,
)
:
()
=>
void
;
<
U
>
(
selector
:
(
state
:
types
.
AgentState
)
=>
U
,
listener
:
(
selectedState
:
U
,
previousSelectedState
:
U
)
=>
void
,
options
?:
{
equalityFn
?:
(
a
:
U
,
b
:
U
)
=>
boolean
;
fireImmediately
?:
boolean
;
}
,
)
:
()
=>
void
;
}
;
getAuthState
:
()
=>
types
.
AuthState
;
subscribeAuthState
:
{
(
listener
:
(
selectedState
:
types
.
AuthState
,
previousSelectedState
:
types
.
AuthState
,
)
=>
void
,
)
:
()
=>
void
;
<
U
>
(
selector
:
(
state
:
types
.
AuthState
)
=>
U
,
listener
:
(
selectedState
:
U
,
previousSelectedState
:
U
)
=>
void
,
options
?:
{
equalityFn
?:
(
a
:
U
,
b
:
U
)
=>
boolean
;
fireImmediately
?:
boolean
;
}
,
)
:
()
=>
void
;
}
;
getAuth
:
()
=>
null
|
types
.
AuthClient
;
getIdentity
:
()
=>
null
|
types
.
Identity
;
getPrincipal
:
()
=>
null
|
types
.
Principal
;
}
Hierarchy (
View Summary
)
AgentManager
types
.
CreateReactorCoreReturnType
Index
Properties
agent
Store
auth
Store
initialize
Agent
subscribe
Agent
unsubscribe
Agent
update
Agent
authenticate
login
logout
get
Agent
get
Agent
Host
get
Agent
Host
Name
get
Is
Local
is
Auth
Client
Initialized
get
Network
get
Agent
State
subscribe
Agent
State
get
Auth
State
subscribe
Auth
State
get
Auth
get
Identity
get
Principal
Properties
agent
Store
agentStore
:
types
.
AgentStore
auth
Store
authStore
:
types
.
AuthStore
initialize
Agent
initializeAgent
:
()
=>
Promise
<
void
>
subscribe
Agent
subscribeAgent
:
(
callback
:
(
agent
:
types
.
HttpAgent
)
=>
void
,
initialize
?:
boolean
,
)
=>
()
=>
void
unsubscribe
Agent
unsubscribeAgent
:
(
callback
:
(
agent
:
types
.
HttpAgent
)
=>
void
)
=>
void
update
Agent
updateAgent
:
(
options
?:
types
.
UpdateAgentParameters
)
=>
Promise
<
void
>
authenticate
authenticate
:
()
=>
Promise
<
types
.
Identity
>
login
login
:
(
options
?:
types
.
AuthClientLoginOptions
)
=>
Promise
<
void
>
logout
logout
:
(
options
?:
{
returnTo
?:
string
}
)
=>
Promise
<
void
>
get
Agent
getAgent
:
()
=>
types
.
HttpAgent
get
Agent
Host
getAgentHost
:
()
=>
undefined
|
URL
get
Agent
Host
Name
getAgentHostName
:
()
=>
string
get
Is
Local
getIsLocal
:
()
=>
boolean
is
Auth
Client
Initialized
isAuthClientInitialized
:
()
=>
boolean
get
Network
getNetwork
:
()
=>
"local"
|
"remote"
|
"ic"
get
Agent
State
getAgentState
:
()
=>
types
.
AgentState
subscribe
Agent
State
subscribeAgentState
:
{
(
listener
:
(
selectedState
:
types
.
AgentState
,
previousSelectedState
:
types
.
AgentState
,
)
=>
void
,
)
:
()
=>
void
;
<
U
>
(
selector
:
(
state
:
types
.
AgentState
)
=>
U
,
listener
:
(
selectedState
:
U
,
previousSelectedState
:
U
)
=>
void
,
options
?:
{
equalityFn
?:
(
a
:
U
,
b
:
U
)
=>
boolean
;
fireImmediately
?:
boolean
;
}
,
)
:
()
=>
void
;
}
get
Auth
State
getAuthState
:
()
=>
types
.
AuthState
subscribe
Auth
State
subscribeAuthState
:
{
(
listener
:
(
selectedState
:
types
.
AuthState
,
previousSelectedState
:
types
.
AuthState
,
)
=>
void
,
)
:
()
=>
void
;
<
U
>
(
selector
:
(
state
:
types
.
AuthState
)
=>
U
,
listener
:
(
selectedState
:
U
,
previousSelectedState
:
U
)
=>
void
,
options
?:
{
equalityFn
?:
(
a
:
U
,
b
:
U
)
=>
boolean
;
fireImmediately
?:
boolean
;
}
,
)
:
()
=>
void
;
}
get
Auth
getAuth
:
()
=>
null
|
types
.
AuthClient
get
Identity
getIdentity
:
()
=>
null
|
types
.
Identity
get
Principal
getPrincipal
:
()
=>
null
|
types
.
Principal
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Properties
agent
Store
auth
Store
initialize
Agent
subscribe
Agent
unsubscribe
Agent
update
Agent
authenticate
login
logout
get
Agent
get
Agent
Host
get
Agent
Host
Name
get
Is
Local
is
Auth
Client
Initialized
get
Network
get
Agent
State
subscribe
Agent
State
get
Auth
State
subscribe
Auth
State
get
Auth
get
Identity
get
Principal
Example
GitHub
ic-reactor
Loading...