Huggingface.js 文档
接口: AuthInfo
加入 Hugging Face 社区
并获得增强的文档体验
开始使用
接口: AuthInfo
属性
accessToken
• Optional
accessToken: Object
类型声明
名称 | 类型 |
---|---|
createdAt | Date |
displayName | string |
role | AccessTokenRole |
定义于
expiresAt
• Optional
expiresAt: Date
定义于
type
• type: AuthType