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

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 MicrosoftGraphInvitationDeliveryAzureIdentityServiceCollectionExtensions

objectMicrosoftGraphInvitationDeliveryAzureIdentityServiceCollectionExtensions

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

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)

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.

IServiceCollection

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)

services IServiceCollection

The target service collection.

configure Action<MicrosoftGraphInvitationDeliveryAzureIdentityOptions>?

An optional callback that configures token acquisition.

IServiceCollection

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)

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.

IServiceCollection

The same service collection for further registration.

This overload is useful for tests, shared host credential factories, or applications that want to provide a specific such as .