Options
All
  • Public
  • Public/Protected
  • All
Menu

Class UserManager

Hierarchy

Implements

  • UserManagerInterface

Constructors

constructor

Properties

Readonly cache

cache: Collection<string, User>

Readonly client

client: Client

Readonly holds

holds: typeof User

Methods

_add

  • _add(data: APIUser): User
  • Parameters

    • data: APIUser

    Returns User

_remove

  • _remove(data: User): boolean
  • Parameters

    Returns boolean

_upsert

fetch

  • fetch(id: string): Promise<User>
  • Parameters

    • id: string

    Returns Promise<User>

resolve

  • resolve(data: unknown): null | User
  • Parameters

    • data: unknown

    Returns null | User

resolveId

  • resolveId(data: unknown): null | string
  • Parameters

    • data: unknown

    Returns null | string

Generated using TypeDoc