Table of Contents

Class MicrosoftAuthenticationServiceExtensions

Namespace
ProjectTemplate.Web.Authentication.Providers.Microsoft
Assembly
ProjectTemplate.Web.dll

Provides extension methods for registering Microsoft authentication provider services.

public static class MicrosoftAuthenticationServiceExtensions
Inheritance
MicrosoftAuthenticationServiceExtensions
Inherited Members

Methods

AddMicrosoftAuthentication(AuthenticationBuilder, ApplicationExternalAuthenticationProviderOptions)

Adds the Microsoft authentication provider registration.

public static AuthenticationBuilder AddMicrosoftAuthentication(this AuthenticationBuilder builder, ApplicationExternalAuthenticationProviderOptions options)

Parameters

builder AuthenticationBuilder

The authentication builder used to register authentication handlers.

options ApplicationExternalAuthenticationProviderOptions

The Microsoft provider options.

Returns

AuthenticationBuilder

The same AuthenticationBuilder instance for chaining.