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 IMicrosoftGraphInvitationDeliveryAccessTokenProviderRemarks
Section titled “Remarks”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.
Methods
Section titled “Methods”GetAccessTokenAsync(CancellationToken)
Section titled “ GetAccessTokenAsync(CancellationToken)”Gets a bearer token that authorizes the Microsoft Graph sendMail request.
ValueTask<string?> GetAccessTokenAsync(CancellationToken cancellationToken = default)Parameters
Section titled “Parameters”cancellationToken CancellationToken
A token that cancels token acquisition.
Returns
Section titled “Returns”The bearer token without the Bearer scheme prefix.