Huggingface.js documentation

Interfaz: AuthInfo

Hugging Face's logo
Join the Hugging Face community

and get access to the augmented documentation experience

to get started

Interfaz: AuthInfo

Propiedades

accessToken

• Optional accessToken: Object

Declaración de tipo

NombreTipo
createdAtDate
displayNamestring
roleAccessTokenRole

Definido en

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


expiresAt

• Optional expiresAt: Date

Definido en

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


type

• tipo: AuthType

Definido en

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

Update on GitHub