Table of Contents

Method ResolveAsync

Namespace
MailFathom.Infrastructure.ObjectStorage
Assembly
MailFathom.Infrastructure.dll

ResolveAsync(CancellationToken)

Resolves the credential the next request presents.

Task<ObjectStorageCredential> ResolveAsync(CancellationToken cancellationToken)

Parameters

cancellationToken CancellationToken

Cancels the retrieval, including at the file-system boundary.

Returns

Task<ObjectStorageCredential>

The credential, whose ownership passes to the caller.

Exceptions

InvalidOperationException

Thrown when a configured reference could not be resolved, which is a deployment an operator has to repair rather than a failure to retry.