Authenticated user.

interface User {
    get(key: string): any;
    getName(): string;
    readonly [key: string]: unknown;
}

Indexable

  • readonly [key: string]: unknown

    may have extra keys

Methods

Methods

  • support for old Stateful getter access.

    Parameters

    • key: string

      any key

    Returns any

  • Returns the name of this user.

    Returns string