Method ResolveAsync
- Namespace
- MailFathom.Infrastructure.Secrets.References
- Assembly
- MailFathom.Infrastructure.dll
ResolveAsync(SecretReference, CancellationToken)
Retrieves the material the reference names.
Task<SecretResolutionResult> ResolveAsync(SecretReference reference, CancellationToken cancellationToken)
Parameters
referenceSecretReferenceThe parsed reference, whose scheme equals Scheme.
cancellationTokenCancellationTokenCancels the retrieval.
Returns
- Task<SecretResolutionResult>
The material, whose ownership passes to the caller, or a named failure.