interface IUserContext {
    accountAcquisitionDate: string;
    accountId: string;
    authenticatedId: string;
    clearAuthenticatedUserContext(): void;
    config: any;
    id: string;
    isNewUser?: boolean;
    isUserCookieSet?: boolean;
    localId: string;
    setAuthenticatedUserContext(authenticatedUserId: string, accountId?: string, storeInCookie?: boolean): void;
    update(userId?: string): void;
}

Hierarchy (view full)

Properties

accountAcquisitionDate: string

The account acquisition date.

accountId: string

The account ID.

authenticatedId: string

Authenticated user id

config: any

The telemetry configuration.

id: string

The user ID.

isNewUser?: boolean

A flag indicating whether this represents a new user

isUserCookieSet?: boolean

A flag indicating whether the user cookie has been set

localId: string

The localId

Methods

  • Parameters

    • authenticatedUserId: string
    • OptionalaccountId: string
    • OptionalstoreInCookie: boolean

    Returns void