Table of Contents

Method FromEntra

Namespace
MailFathom.AI.Embeddings
Assembly
MailFathom.AI.dll

FromEntra(EntraCredentialDeclaration, IDisposable?)

Builds a credential that presents a Microsoft Entra access token.

public static EmbeddingEndpointCredential FromEntra(EntraCredentialDeclaration declaration, IDisposable? resolvedMaterial)

Parameters

declaration EntraCredentialDeclaration

What the credential is built from.

resolvedMaterial IDisposable

The secret material the declaration's own secret was read from, released when this credential is, or null when the shape holds none.

Returns

EmbeddingEndpointCredential

The credential.

Exceptions

ArgumentNullException

Thrown when declaration is null.