Table of Contents

Class MicrosoftIdentityBlazorServiceCollectionExtensions

Namespace
Microsoft.Identity.Web
Assembly
Microsoft.Identity.Web.dll

Extensions for IServerSideBlazorBuilder for startup initialization of web APIs.

public static class MicrosoftIdentityBlazorServiceCollectionExtensions
Inheritance
MicrosoftIdentityBlazorServiceCollectionExtensions
Inherited Members

Methods

AddMicrosoftIdentityConsentHandler(IServerSideBlazorBuilder)

Add the incremental consent and conditional access handler for Blazor server side pages.

public static IServerSideBlazorBuilder AddMicrosoftIdentityConsentHandler(this IServerSideBlazorBuilder builder)

Parameters

builder IServerSideBlazorBuilder

Service side blazor builder.

Returns

IServerSideBlazorBuilder

The builder.

AddMicrosoftIdentityConsentHandler(IServiceCollection)

Add the incremental consent and conditional access handler for web app pages, Razor pages, controllers, views, etc...

public static IServiceCollection AddMicrosoftIdentityConsentHandler(this IServiceCollection services)

Parameters

services IServiceCollection

Service collection.

Returns

IServiceCollection

The service collection.