Partager via


MicrosoftIdentityBlazorServiceCollectionExtensions.AddMicrosoftIdentityConsentHandler Method

Definition

Overloads

AddMicrosoftIdentityConsentHandler(IServerSideBlazorBuilder)

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

AddMicrosoftIdentityConsentHandler(IServiceCollection)

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

AddMicrosoftIdentityConsentHandler(IServerSideBlazorBuilder)

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

public static Microsoft.Extensions.DependencyInjection.IServerSideBlazorBuilder AddMicrosoftIdentityConsentHandler (this Microsoft.Extensions.DependencyInjection.IServerSideBlazorBuilder builder);
static member AddMicrosoftIdentityConsentHandler : Microsoft.Extensions.DependencyInjection.IServerSideBlazorBuilder -> Microsoft.Extensions.DependencyInjection.IServerSideBlazorBuilder
<Extension()>
Public Function AddMicrosoftIdentityConsentHandler (builder As IServerSideBlazorBuilder) As IServerSideBlazorBuilder

Parameters

builder
IServerSideBlazorBuilder

Service side blazor builder.

Returns

The builder.

Applies to

AddMicrosoftIdentityConsentHandler(IServiceCollection)

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

public static Microsoft.Extensions.DependencyInjection.IServiceCollection AddMicrosoftIdentityConsentHandler (this Microsoft.Extensions.DependencyInjection.IServiceCollection services);
static member AddMicrosoftIdentityConsentHandler : Microsoft.Extensions.DependencyInjection.IServiceCollection -> Microsoft.Extensions.DependencyInjection.IServiceCollection
<Extension()>
Public Function AddMicrosoftIdentityConsentHandler (services As IServiceCollection) As IServiceCollection

Parameters

services
IServiceCollection

Service collection.

Returns

The service collection.

Applies to