Class IdentitiesManager

Hierarchy

  • CreateDestroyStartStop
    • IdentitiesManager

Constructors

Properties

[initLock]: RWLockWriter
db: DB
gestaltGraph: GestaltGraph
identitiesDbPath: readonly (string | Buffer)[] = ...
identitiesTokensDbPath: readonly (string | Buffer)[] = ...

Tokens stores ProviderId -> ProviderTokens

keyRing: KeyRing
logger: Logger
providers: Map<ProviderId, Provider> = ...
sigchain: Sigchain

Accessors

  • get [destroyed](): boolean
  • Returns boolean

  • get [eventHandled](): ReadonlyWeakSet<Event>
  • Returns ReadonlyWeakSet<Event>

  • get [eventHandlers](): ReadonlyMap<string, Set<EventHandlerInfo>>
  • Returns ReadonlyMap<string, Set<EventHandlerInfo>>

  • get [eventTarget](): EventTarget
  • Returns EventTarget

  • get [handleEventError](): ((evt) => void)
  • Returns ((evt) => void)

      • (evt): void
      • Parameters

        • evt: EventError

        Returns void

  • get [running](): boolean
  • Returns boolean

  • get [statusP](): Promise<Status>
  • Returns Promise<Status>

  • get [status](): Status
  • Returns Status

Methods

  • Parameters

    • type: string
    • callback: null | EventListenerOrEventListenerObject
    • Optional options: boolean | AddEventListenerOptions

    Returns void

  • Parameters

    • event: Event

    Returns boolean

  • Parameters

    • type: string
    • callback: null | EventListenerOrEventListenerObject
    • Optional options: boolean | EventListenerOptions

    Returns void

  • Parameters

    • __namedParameters: {
          fresh?: boolean;
      } = {}
      • Optional fresh?: boolean

    Returns Promise<void>

Generated using TypeDoc