Method ResolveAsync
- Namespace
- Oscova.Agents
- Assembly
- Oscova.Agents.dll
ResolveAsync(string, string, CancellationToken)
Resolves a named field of a credential requested by a tool.
Task<string?> ResolveAsync(string credentialKey, string fieldName, CancellationToken ct = default)Parameters
credentialKeystring-
The stable key identifying the credential.
fieldNamestring-
The credential field to read.
ctCancellationToken-
A token that can cancel the lookup.
Returns
ResolveAsync(string, CancellationToken)
Resolves the value of a single-field credential.
Task<string?> ResolveAsync(string credentialKey, CancellationToken ct = default)Parameters
credentialKeystring-
The stable key identifying the credential.
ctCancellationToken-
A token that can cancel the lookup.