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

Propriedades

accessToken

• Optional accessToken: Object

Declaração de tipo

NomeTipo
createdAtDate
displayNamestring
roleAccessTokenRole

Definido em

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


expiresAt

• Optional expiresAt: Date

Definido em

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


type

• tipo: AuthType

Definido em

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

Update on GitHub