Interface AgentContext

interface AgentContext {
    agentManager: types.AgentManager;
    useAgent: (() => undefined | types.HttpAgent);
    useAgentState: (() => types.AgentState);
    useAuth: ((options?) => UseAuthReturnType);
    useAuthState: (() => types.AuthState);
    useUserPrincipal: (() => undefined | types.Principal);
}

Hierarchy (view full)

Properties

agentManager: types.AgentManager
useAgent: (() => undefined | types.HttpAgent)

Type declaration

useAgentState: (() => types.AgentState)

Type declaration

useAuth: ((options?) => UseAuthReturnType)

Type declaration

useAuthState: (() => types.AuthState)

Type declaration

useUserPrincipal: (() => undefined | types.Principal)

Type declaration