The authenticated user interface.

interface IAuthUser {
    type: User;
    getDisplayName(): string;
    getEmail(): string;
    getId(): string;
    setDisplayName(displayName: string): void;
    setEmail(email: string): void;
}

Hierarchy (view full)

Properties

type: User

The type of the node.

Methods

  • Get the display name of the user.

    Returns string

    The display name of the user.

  • Get the email of the user.

    Returns string

    The email of the user.

  • Get the ID of the node.

    Returns string

    The ID of the node.

  • Set the display name of the local user.

    Parameters

    • displayName: string

      The display name to set.

    Returns void

  • Set the email of the local user.

    Parameters

    • email: string

      The email to set.

    Returns void