Class MicrosoftIdentityBlazorServiceCollectionExtensions
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
IServerSideBlazorBuilderService 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
IServiceCollectionService collection.
Returns
- IServiceCollection
The service collection.