Huggingface.js documentation

Interface: WhoAmIUser

Hugging Face's logo
Join the Hugging Face community

and get access to the augmented documentation experience

to get started

Interface: WhoAmIUser

Properties

avatarUrl

avatarUrl: string

Defined in

hub/src/lib/who-am-i.ts:18


canPay

canPay: boolean

Defined in

hub/src/lib/who-am-i.ts:17


email

email: string

Defined in

hub/src/lib/who-am-i.ts:11


emailVerified

emailVerified: boolean

Defined in

hub/src/lib/who-am-i.ts:12


fullname

fullname: string

Defined in

hub/src/lib/who-am-i.ts:16


id

id: string

Unique ID persistent across renames

Defined in

hub/src/lib/who-am-i.ts:9


isPro

isPro: boolean

Defined in

hub/src/lib/who-am-i.ts:13


name

name: string

Defined in

hub/src/lib/who-am-i.ts:15


orgs

orgs: WhoAmIOrg[]

Defined in

hub/src/lib/who-am-i.ts:14


periodEnd

periodEnd: null | number

Unix timestamp in seconds

Defined in

hub/src/lib/who-am-i.ts:22


type

type: "user"

Defined in

hub/src/lib/who-am-i.ts:10