import {UserProfile} from 'app/common/LoginSessionAPI'; import {Client} from 'app/server/lib/Client'; export interface ILoginSession { clients: Set; getEmail(): Promise; getSessionProfile(): Promise; // Log out clearSession(): Promise; // For testing only. If no email address, profile is wiped, otherwise it is set. testSetProfile(profile: UserProfile|null): Promise; updateTokenForTesting(idToken: string): Promise; getCurrentTokenForTesting(): Promise; useTestToken(idToken: string): Promise; }