Class UserManager

The user API service manager.

Hierarchy

Implements

Constructors

Properties

_connectionFailure: any
_identity: any
_isReady: any
_permissions: any
_pollSpecs: any
_ready: any
_userChanged: any
serverSettings: ServerConnection.ISettings

The server settings for the manager.

Accessors

  • get connectionFailure(): ISignal<this, Error>
  • A signal emitted when there is a connection failure.

    Returns ISignal<this, Error>

  • get disposed(): ISignal<this, void>
  • A signal emitted when the delegate is disposed.

    Returns ISignal<this, void>

  • get identity(): IIdentity
  • Get the most recently fetched identity.

    Returns IIdentity

  • get isActive(): boolean
  • Whether the manager is active.

    Returns boolean

  • get isDisposed(): boolean
  • Test whether the delegate has been disposed.

    Returns boolean

  • get isReady(): boolean
  • Test whether the manager is ready.

    Returns boolean

  • get ready(): Promise<void>
  • A promise that fulfills when the manager is ready.

    Returns Promise<void>

Methods

  • Dispose of the resources used by the manager.

    Returns void

  • Force a refresh of the specs from the server.

    Returns Promise<void>

    A promise that resolves when the specs are fetched.

    Notes

    This is intended to be called only in response to a user action, since the manager maintains its internal state.

  • Execute a request to the server to poll the user and update state.

    Returns Promise<void>

Generated using TypeDoc