ic-reactor
Example
GitHub
Preparing search index...
core
classes
AgentManager
Class AgentManager
Hierarchy (
View Summary
)
AgentManager
types
.
CreateReactorCoreReturnType
Index
Constructors
constructor
Properties
agent
Store
auth
Store
get
Agent
State
subscribe
Agent
State
get
Auth
State
subscribe
Auth
State
Methods
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
Auth
get
Identity
get
Principal
Constructors
constructor
new
AgentManager
(
options
?:
types
.
AgentManagerParameters
)
:
classes
.
AgentManager
Parameters
Optional
options
:
types
.
AgentManagerParameters
Returns
classes
.
AgentManager
Properties
agent
Store
agentStore
:
types
.
AgentStore
auth
Store
authStore
:
types
.
AuthStore
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
;
}
= ...
Methods
initialize
Agent
initializeAgent
()
:
Promise
<
void
>
Returns
Promise
<
void
>
subscribe
Agent
subscribeAgent
(
callback
:
(
agent
:
types
.
HttpAgent
)
=>
void
,
initialize
?:
boolean
,
)
:
()
=>
void
Parameters
callback
:
(
agent
:
types
.
HttpAgent
)
=>
void
initialize
:
boolean
= true
Returns
()
=>
void
unsubscribe
Agent
unsubscribeAgent
(
callback
:
(
agent
:
types
.
HttpAgent
)
=>
void
)
:
void
Parameters
callback
:
(
agent
:
types
.
HttpAgent
)
=>
void
Returns
void
update
Agent
updateAgent
(
options
?:
types
.
UpdateAgentParameters
)
:
Promise
<
void
>
Parameters
Optional
options
:
types
.
UpdateAgentParameters
Returns
Promise
<
void
>
authenticate
authenticate
()
:
Promise
<
types
.
Identity
>
Returns
Promise
<
types
.
Identity
>
login
login
(
options
?:
types
.
AuthClientLoginOptions
)
:
Promise
<
void
>
Parameters
Optional
options
:
types
.
AuthClientLoginOptions
Returns
Promise
<
void
>
logout
logout
(
options
?:
{
returnTo
?:
string
}
)
:
Promise
<
void
>
Parameters
Optional
options
:
{
returnTo
?:
string
}
Returns
Promise
<
void
>
get
Agent
getAgent
()
:
types
.
HttpAgent
Returns
types
.
HttpAgent
get
Agent
Host
getAgentHost
()
:
undefined
|
URL
Returns
undefined
|
URL
get
Agent
Host
Name
getAgentHostName
()
:
string
Returns
string
get
Is
Local
getIsLocal
()
:
boolean
Returns
boolean
is
Auth
Client
Initialized
isAuthClientInitialized
()
:
boolean
Returns
boolean
get
Network
getNetwork
()
:
"ic"
|
"local"
|
"remote"
Returns
"ic"
|
"local"
|
"remote"
get
Auth
getAuth
()
:
null
|
types
.
AuthClient
Returns
null
|
types
.
AuthClient
get
Identity
getIdentity
()
:
null
|
types
.
Identity
Returns
null
|
types
.
Identity
get
Principal
getPrincipal
()
:
null
|
types
.
Principal
Returns
null
|
types
.
Principal
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Properties
agent
Store
auth
Store
get
Agent
State
subscribe
Agent
State
get
Auth
State
subscribe
Auth
State
Methods
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
Auth
get
Identity
get
Principal
Example
GitHub
ic-reactor
Loading...