Table of Contents

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

reference SecretReference

The parsed reference, whose scheme equals Scheme.

cancellationToken CancellationToken

Cancels the retrieval.

Returns

Task<SecretResolutionResult>

The material, whose ownership passes to the caller, or a named failure.