Class MicrosoftGraphInvitationDeliveryAzureIdentityServiceCollectionExtensions
เนื้อหานี้ยังไม่ได้แปลเป็นภาษาไทย แสดงเป็นภาษาอังกฤษแทน
Namespace: Cephalon.MultiTenancy.Governance.MicrosoftGraphDelivery.AzureIdentity.Hosting
Assembly: Cephalon.MultiTenancy.Governance.MicrosoftGraphDelivery.AzureIdentity.dll
Adds Azure Identity token acquisition for Microsoft Graph invitation delivery.
public static class MicrosoftGraphInvitationDeliveryAzureIdentityServiceCollectionExtensionsInheritance
Section titled “Inheritance”object ← MicrosoftGraphInvitationDeliveryAzureIdentityServiceCollectionExtensions
Inherited Members
Section titled “Inherited Members”object.Equals(object?), object.Equals(object?, object?), object.GetHashCode(), object.GetType(), object.MemberwiseClone(), object.ReferenceEquals(object?, object?), object.ToString()
Methods
Section titled “Methods”AddCephalonMicrosoftGraphInvitationDeliveryAzureIdentity(IServiceCollection, IConfiguration, Action<MicrosoftGraphInvitationDeliveryAzureIdentityOptions>?)
Section titled “ AddCephalonMicrosoftGraphInvitationDeliveryAzureIdentity(IServiceCollection, IConfiguration, Action<MicrosoftGraphInvitationDeliveryAzureIdentityOptions>?)”Adds the Azure Identity token provider using configuration as the primary source of token-acquisition settings.
public static IServiceCollection AddCephalonMicrosoftGraphInvitationDeliveryAzureIdentity(this IServiceCollection services, IConfiguration configuration, Action<MicrosoftGraphInvitationDeliveryAzureIdentityOptions>? configure = null)Parameters
Section titled “Parameters”services IServiceCollection
The target service collection.
configuration IConfiguration
The application configuration root.
configure Action<MicrosoftGraphInvitationDeliveryAzureIdentityOptions>?
An optional callback that can extend or override configuration-driven settings.
Returns
Section titled “Returns”The same service collection for further registration.
AddCephalonMicrosoftGraphInvitationDeliveryAzureIdentity(IServiceCollection, Action<MicrosoftGraphInvitationDeliveryAzureIdentityOptions>?)
Section titled “ AddCephalonMicrosoftGraphInvitationDeliveryAzureIdentity(IServiceCollection, Action<MicrosoftGraphInvitationDeliveryAzureIdentityOptions>?)”Adds the Azure Identity token provider using code-first configuration.
public static IServiceCollection AddCephalonMicrosoftGraphInvitationDeliveryAzureIdentity(this IServiceCollection services, Action<MicrosoftGraphInvitationDeliveryAzureIdentityOptions>? configure = null)Parameters
Section titled “Parameters”services IServiceCollection
The target service collection.
configure Action<MicrosoftGraphInvitationDeliveryAzureIdentityOptions>?
An optional callback that configures token acquisition.
Returns
Section titled “Returns”The same service collection for further registration.
AddCephalonMicrosoftGraphInvitationDeliveryAzureIdentity(IServiceCollection, TokenCredential, Action<MicrosoftGraphInvitationDeliveryAzureIdentityOptions>?)
Section titled “ AddCephalonMicrosoftGraphInvitationDeliveryAzureIdentity(IServiceCollection, TokenCredential, Action<MicrosoftGraphInvitationDeliveryAzureIdentityOptions>?)”Adds the Azure Identity token provider with an explicit credential instance.
public static IServiceCollection AddCephalonMicrosoftGraphInvitationDeliveryAzureIdentity(this IServiceCollection services, TokenCredential credential, Action<MicrosoftGraphInvitationDeliveryAzureIdentityOptions>? configure = null)Parameters
Section titled “Parameters”services IServiceCollection
The target service collection.
credential TokenCredential
The credential used to acquire Microsoft Graph access tokens.
configure Action<MicrosoftGraphInvitationDeliveryAzureIdentityOptions>?
An optional callback that configures token acquisition.
Returns
Section titled “Returns”The same service collection for further registration.
Remarks
Section titled “Remarks”This overload is useful for tests, shared host credential factories, or applications that want to provide a
specific