Huggingface.js documentation

Interface : AuthInfo

Hugging Face's logo
Join the Hugging Face community

and get access to the augmented documentation experience

to get started

Interface : AuthInfo

Propriétés

accessToken

• Optional accessToken : Object

Déclaration de type

NomType
createdAtDate
displayNamestring
roleAccessTokenRole

Défini dans

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


expiresAt

• Optional expiresAt : Date

Défini dans

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


type

• type : AuthType

Défini dans

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

Update on GitHub