Huggingface.js documentation

الواجهة: AuthInfo

Hugging Face's logo
Join the Hugging Face community

and get access to the augmented documentation experience

to get started

الواجهة: AuthInfo

الخصائص

accessToken

• Optional accessToken: Object

إعلان النوع

الاسمالنوع
createdAtDate
displayNamestring
roleAccessTokenRole

معرّف في

packages/hub/src/lib/who-am-i.ts:55


expiresAt

• expiresAt Optional: Date

معرّف في

packages/hub/src/lib/who-am-i.ts:60


النوع

• النوع: AuthType

معرّف في

packages/hub/src/lib/who-am-i.ts:54

Update on GitHub