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?
optionalconstraints?:AgentDelegationConstraints
Optional narrowing constraints.
exchangeTimeoutMs?
optionalexchangeTimeoutMs?:number
Maximum token-exchange duration in milliseconds. Defaults to 30000.
expirySkewSeconds?
optionalexpirySkewSeconds?:number
Refresh skew applied to the in-memory token cache. Defaults to 30 seconds.
fetch?
optionalfetch?: (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.
