scrivito
Version:
Scrivito is a professional, yet easy to use SaaS Enterprise Content Management Service, built for digital agencies and medium to large businesses. It is completely maintenance-free, cost-effective, and has unprecedented performance and security.
32 lines (26 loc) • 474 B
text/typescript
export interface UserData {
id: string;
name: string;
email: string;
picture: string | null;
}
/** @public */
export class User {
/** @internal */
constructor(
/** @internal */
private readonly userData: UserData
) {}
id(): string {
return this.userData.id;
}
name(): string {
return this.userData.name;
}
email(): string {
return this.userData.email;
}
picture(): string | null {
return this.userData.picture;
}
}