ข้ามไปยังเนื้อหา

Class MicrosoftGraphInvitationDeliveryAzureIdentityOptions

เนื้อหานี้ยังไม่ได้แปลเป็นภาษาไทย แสดงเป็นภาษาอังกฤษแทน

Namespace: Cephalon.MultiTenancy.Governance.MicrosoftGraphDelivery.AzureIdentity.Configuration
Assembly: Cephalon.MultiTenancy.Governance.MicrosoftGraphDelivery.AzureIdentity.dll

Configures Azure Identity token acquisition for Microsoft Graph tenant-invitation delivery.

public sealed class MicrosoftGraphInvitationDeliveryAzureIdentityOptions

objectMicrosoftGraphInvitationDeliveryAzureIdentityOptions

object.Equals(object?), object.Equals(object?, object?), object.GetHashCode(), object.GetType(), object.ReferenceEquals(object?, object?), object.ToString()

This companion package only supplies a Microsoft Graph bearer token through Azure.Identity. The Microsoft Graph sender still owns the sendMail request, while Microsoft Entra application registration, permissions, mailbox access policy, and credential lifecycle remain outside the Cephalon engine boundary.

MicrosoftGraphInvitationDeliveryAzureIdentityOptions()

Section titled “ MicrosoftGraphInvitationDeliveryAzureIdentityOptions()”

Initializes a new instance of the class.

public MicrosoftGraphInvitationDeliveryAzureIdentityOptions()

Gets or sets the Microsoft Entra authority host used for token acquisition.

public string? AuthorityHost { get; set; }

string?

Supported aliases are AzurePublicCloud, AzureGovernment, and AzureChina. Hosts can also provide an absolute HTTPS authority URI for a sovereign or private cloud.

Gets or sets a value indicating whether the Azure Identity token provider should be registered.

public bool Enabled { get; set; }

bool

Gets or sets a value indicating whether interactive browser authentication should be excluded.

public bool ExcludeInteractiveBrowserCredential { get; set; }

bool

The default is true so production hosts do not accidentally launch browser prompts.

Gets or sets a value indicating whether managed identity authentication should be excluded.

public bool ExcludeManagedIdentityCredential { get; set; }

bool

The default keeps managed identity available because hosted Azure, workload identity, and service-style invitation delivery are the primary production scenarios for this package.

Gets or sets the client id for a user-assigned managed identity.

public string? ManagedIdentityClientId { get; set; }

string?

Leave this value empty to allow to use a system-assigned managed identity or another credential source from its chain.

Gets or sets the Microsoft Graph scopes requested from the configured Azure credential.

public IReadOnlyList<string> Scopes { get; set; }

IReadOnlyList<string>

The default is https://graph.microsoft.com/.default, which asks Microsoft Entra ID for the app’s configured application permissions such as Microsoft Graph Mail.Send.

Gets or sets the Microsoft Entra tenant id used by .

public string? TenantId { get; set; }

string?

FromConfiguration(IConfiguration, string)

Section titled “ FromConfiguration(IConfiguration, string)”

Binds Azure Identity token-provider options from configuration.

public static MicrosoftGraphInvitationDeliveryAzureIdentityOptions FromConfiguration(IConfiguration configuration, string sectionPath = "Engine")

configuration IConfiguration

The application configuration root.

sectionPath string

The configuration section path that contains the engine settings. The default is Engine.

MicrosoftGraphInvitationDeliveryAzureIdentityOptions

The bound Azure Identity token-provider options.