Skip to content

Interface IMicrosoftGraphInvitationDeliveryAccessTokenProvider

Namespace: Cephalon.MultiTenancy.Governance.MicrosoftGraphDelivery.Services
Assembly: Cephalon.MultiTenancy.Governance.MicrosoftGraphDelivery.dll

Provides bearer tokens for Microsoft Graph invitation delivery requests.

public interface IMicrosoftGraphInvitationDeliveryAccessTokenProvider

Hosts can replace this service to integrate Azure.Identity, managed identity, workload identity, a token cache, or another organization-specific OAuth flow without changing the Cephalon invitation dispatcher.

Gets a bearer token that authorizes the Microsoft Graph sendMail request.

ValueTask<string?> GetAccessTokenAsync(CancellationToken cancellationToken = default)

cancellationToken CancellationToken

A token that cancels token acquisition.

ValueTask<string?>

The bearer token without the Bearer scheme prefix.