Links
Comment on page

App user

Declaration

const currentUser: AppUser

Interface

interface AppUser {
id: string;
userGroupIds: string[]
displayName?: string;
email: string;
profileImageUrl?: string;
isAnonymous: boolean;
isEmailVerified: boolean;
userAttributes(): { [key: string]: any };
setUserAttribute(key: string, value: any): Promise<void>;
​
signOut(): Promise<void>;
}