Huggingface.js documentation
インターフェース: OAuthResult
@huggingface/inference
Inference Client を使用API リファレンス
クラス
HfInferenceInferenceClientInferenceClientEndpointInferenceClientErrorInferenceClientHubApiErrorInferenceClientInputErrorInferenceClientProviderApiErrorInferenceClientProviderOutputErrorInferenceClientRoutingError
インターフェース
AudioToAudioOutputAudioToAudioOutputElemBaseArgsBodyParamsHeaderParamsInferenceProviderMappingEntryLoggerオプションTextGenerationInputTextGenerationOutputTextGenerationStreamBestOfSequenceTextGenerationStreamDetailsTextGenerationStreamOutputTextGenerationStreamPrefillTokenTextGenerationStreamTokenUrlParams
モジュール
@huggingface/hub
Hub とのインタラクションAPI リファレンス
クラス
インターフェース
AuthInfoCachedFileInfoCachedRepoInfoCachedRevisionInfoCommitCopyFileCommitDataCommitDeletedEntryCommitEditFileCommitEditFileParamsCommitFileCommitInfoCommitOutputCopyDestinationCopyFilesEntryCopyProgressEventCopySource認証情報DatasetEntryFileDownloadInfoOutputHFCacheInfoJobVolumeLfsPathInfoListFileEntryMlxQuantizationConfigModelConfigModelDerivedFieldsModelEntryOAuthResultParallelDownloadOptionsPathInfoQuantizationConfigRangeEditCacheEntryRepoIdSafetensorsIndexJsonSafetensorsShardFileInfoSecurityFileStatusSpaceEntrySpaceResourceConfigSpaceResourceRequirementSpaceRuntimeTensorInfoUserInfoWhoAmIAppWhoAmIOrgWhoAmIUserXetFileInfoXetReadToken
@huggingface/mcp-client
@huggingface/tiny-agents
@huggingface/space-header
@huggingface/gguf
@huggingface/lerobot
@huggingface/usd-web-viewer
インターフェース: OAuthResult
プロパティ
accessToken
• accessToken: string
定義場所
packages/hub/src/lib/oauth-handle-redirect.ts:104
accessTokenExpiresAt
• accessTokenExpiresAt: Date
定義場所
packages/hub/src/lib/oauth-handle-redirect.ts:105
スコープ
• スコープ: string
付与されたスコープ
定義場所
packages/hub/src/lib/oauth-handle-redirect.ts:114
state
• Optional state: string
OAuthプロバイダーへの元のリクエストで、OAuthプロバイダーに渡されるstate。
定義場所
packages/hub/src/lib/oauth-handle-redirect.ts:110
userInfo
• userInfo: UserInfo
定義場所
packages/hub/src/lib/oauth-handle-redirect.ts:106
Update on GitHub