Skip to content

Class MicrosoftGraphInvitationDeliveryServiceCollectionExtensions

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

Adds Microsoft Graph sendMail invitation delivery services to a Cephalon host.

public static class MicrosoftGraphInvitationDeliveryServiceCollectionExtensions

objectMicrosoftGraphInvitationDeliveryServiceCollectionExtensions

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

The named HTTP client used by the Microsoft Graph invitation delivery client.

public const string HttpClientName = "Cephalon.MultiTenancy.Governance.MicrosoftGraphDelivery"

string

AddCephalonMicrosoftGraphInvitationDelivery(IServiceCollection, IConfiguration, Action<MicrosoftGraphInvitationDeliveryOptions>?)

Section titled “ AddCephalonMicrosoftGraphInvitationDelivery(IServiceCollection, IConfiguration, Action<MicrosoftGraphInvitationDeliveryOptions>?)”

Adds Microsoft Graph invitation delivery using configuration as the primary source of sendMail settings.

public static IServiceCollection AddCephalonMicrosoftGraphInvitationDelivery(this IServiceCollection services, IConfiguration configuration, Action<MicrosoftGraphInvitationDeliveryOptions>? configure = null)

services IServiceCollection

The target service collection.

configuration IConfiguration

The application configuration root.

configure Action<MicrosoftGraphInvitationDeliveryOptions>?

An optional callback that can extend or override the configuration-driven setup.

IServiceCollection

The same service collection for further registration.

AddCephalonMicrosoftGraphInvitationDelivery(IServiceCollection, Action<MicrosoftGraphInvitationDeliveryOptions>?)

Section titled “ AddCephalonMicrosoftGraphInvitationDelivery(IServiceCollection, Action<MicrosoftGraphInvitationDeliveryOptions>?)”

Adds Microsoft Graph invitation delivery using code-first configuration.

public static IServiceCollection AddCephalonMicrosoftGraphInvitationDelivery(this IServiceCollection services, Action<MicrosoftGraphInvitationDeliveryOptions>? configure = null)

services IServiceCollection

The target service collection.

configure Action<MicrosoftGraphInvitationDeliveryOptions>?

An optional callback that configures the Microsoft Graph invitation delivery sender.

IServiceCollection

The same service collection for further registration.