QVeris
运行任务
文档目录

AgentDelegationCredentialProviderOptions

Configuration for AgentDelegationCredentialProvider.

属性

clientId

clientId: string

Registered confidential Agent Runtime client id.

clientSecret

clientSecret: string

Registered confidential Agent Runtime client secret. Never logged or persisted by the provider.

constraints?

optional constraints?: AgentDelegationConstraints

Optional narrowing constraints.

exchangeTimeoutMs?

optional exchangeTimeoutMs?: number

Maximum token-exchange duration in milliseconds. Defaults to 30000.

expirySkewSeconds?

optional expirySkewSeconds?: number

Refresh skew applied to the in-memory token cache. Defaults to 30 seconds.

fetch?

optional fetch?: (input, init?) => Promise<Response>

Optional fetch implementation for controlled runtimes and tests.

参数

input

string | URL | Request

init?

RequestInit

返回

Promise<Response>

resource

resource: string

Exact QVeris resource/audience for the delegated token.

scopes

scopes: readonly string[]

Maximum scope set that may be requested by this provider.

subjectCredentialProvider

subjectCredentialProvider: CredentialProvider

Supplies the user's OAuth access token used as the RFC 8693 subject token.

tokenEndpoint

tokenEndpoint: string

Exact published OAuth token endpoint, for example https://qveris.ai/api/v1/oauth/token.


这个页面对你有帮助吗?