Table of Contents

Method Unauthenticated

Namespace
MailFathom.AI.Providers
Assembly
MailFathom.AI.dll

Unauthenticated(IReadOnlyList<ProviderEndpointHeader>?, IReadOnlyList<IDisposable>?)

Builds the credential of an endpoint that asks for none, which presents nothing.

public static ProviderEndpointCredential Unauthenticated(IReadOnlyList<ProviderEndpointHeader>? extraHeaders = null, IReadOnlyList<IDisposable>? extraHeaderMaterial = null)

Parameters

extraHeaders IReadOnlyList<ProviderEndpointHeader>

The resolved headers every request carries, or null where the endpoint declared none.

extraHeaderMaterial IReadOnlyList<IDisposable>

The secret material those headers were read from, released when this credential is.

Returns

ProviderEndpointCredential

The credential.

Remarks

A value rather than a null credential, so every caller goes on receiving one and the request that carries no authentication is a declared shape instead of a missing object nobody has to handle. It carries headers like any other shape, because a gateway that admits a caller by being reachable may still route by one.