Huggingface.js documentation

Giao diện: AuthInfo

Hugging Face's logo
Join the Hugging Face community

and get access to the augmented documentation experience

to get started

Giao diện: AuthInfo

Thuộc tính

accessToken

• Optional accessToken: Object

Khai báo kiểu

TênLoại
createdAtDate
displayNamestring
roleAccessTokenRole

Được định nghĩa trong

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


expiresAt

• expiresAt Optional: Date

Được định nghĩa trong

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


type

• type: AuthType

Được định nghĩa trong

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

Update on GitHub