Microsoft.Identity.Web Namespace

Classes

AadIssuerValidatorOptions

Options passed-in to create the AadIssuerValidator object.

AccountExtensions

Extension methods for IAccount.

AppServicesAuthenticationBuilderExtensions

Extension methods related to App Services authentication (Easy Auth).

AppServicesAuthenticationDefaults

Default values related to AppServiceAuthentication handler.

AppServicesAuthenticationHandler

App service authentication handler.

AppServicesAuthenticationInformation

Information about the App Services configuration on the host.

AppServicesAuthenticationOptions

Options for Azure App Services authentication.

AppServicesAuthenticationTokenAcquisition

Implementation of ITokenAcquisition for App Services authentication (EasyAuth).

AuthorizeForScopesAttribute

Filter used on a controller action to trigger incremental consent.

AzureFunctionsAuthenticationHttpContextExtension

Extensions for AzureFunctionsAuthenticationHttpContextExtension.

CertificateDescription

Description of a certificate.

ClaimConstants

Constants for claim types.

ClaimsPrincipalExtensions

Extensions for ClaimsPrincipal.

ClaimsPrincipalFactory

Factory class to create ClaimsPrincipal objects.

Constants

General constants for Microsoft Identity Web.

CookiePolicyOptionsExtensions

Extension class containing cookie policies (work around for same site).

DefaultCertificateLoader

Certificate Loader. Only use when loading a certificate from a daemon application, or an ASP NET app, using MSAL .NET directly. For an ASP NET Core app, Microsoft Identity Web will handle the certificate loading for you.

IConfidentialClientApplication app;
ICertificateLoader certificateLoader = new DefaultCertificateLoader();
    certificateLoader.LoadIfNeeded(config.CertificateDescription);

   app = ConfidentialClientApplicationBuilder.Create(config.ClientId)
          .WithCertificate(config.CertificateDescription.Certificate)
          .WithAuthority(new Uri(config.Authority))
          .Build();
DownstreamWebApi

Implementation for the downstream web API.

DownstreamWebApiExtensions

Extension methods to support downstream web API services.

DownstreamWebApiGenericExtensions

Extensions for the downstream web API.

DownstreamWebApiOptions

Options passed-in to call downstream web APIs. To call Microsoft Graph, see rather MicrosoftGraphOptions in the Microsoft.Identity.Web.MicrosoftGraph assembly.

MicrosoftIdentityAppCallsWebApiAuthenticationBuilder

Authentication builder returned by the EnableTokenAcquisitionToCallDownstreamApi methods enabling you to decide token cache implementations.

MicrosoftIdentityBaseAuthenticationBuilder

Base class for web app and web API Microsoft Identity authentication builders.

MicrosoftIdentityBlazorServiceCollectionExtensions

Extensions for IServerSideBlazorBuilder for startup initialization of web APIs.

MicrosoftIdentityConsentAndConditionalAccessHandler

Handler for Blazor specific APIs to handle incremental consent and conditional access.

MicrosoftIdentityOptions

Options for configuring authentication using Azure Active Directory. It has both AAD and B2C configuration attributes.

MicrosoftIdentityWebApiAuthenticationBuilder

Authentication builder for a web API.

MicrosoftIdentityWebApiAuthenticationBuilderExtensions

Extensions for AuthenticationBuilder for startup initialization of web APIs.

MicrosoftIdentityWebApiAuthenticationBuilderWithConfiguration

Builder for web API authentication with configuration.

MicrosoftIdentityWebApiServiceCollectionExtensions

Extension for IServiceCollection for startup initialization of web APIs.

MicrosoftIdentityWebAppAuthenticationBuilder

Authentication builder specific for Microsoft identity platform.

MicrosoftIdentityWebAppAuthenticationBuilderExtensions

Extensions for the AuthenticationBuilder for startup initialization.

MicrosoftIdentityWebAppAuthenticationBuilderWithConfiguration

Builder for a Microsoft identity web app authentication where configuration is available for EnableTokenAcquisitionToCallDownstreamApi.

MicrosoftIdentityWebAppServiceCollectionExtensions

Extension for IServiceCollection for startup initialization.

MicrosoftIdentityWebChallengeUserException

Microsoft Identity Web specific exception class for use in Blazor or Razor pages to process the user challenge. Handles the MsalUiRequiredException.

ServiceCollectionExtensions

Extensions for IServiceCollection for startup initialization of web APIs.

TokenAcquisitionOptions

Options passed-in to create the token acquisition object which calls into MSAL .NET.

TokenAcquisitionTokenCredential

Azure SDK token credential based on the ITokenAcquisition service.

Interfaces

ICertificateLoader

Interface to implement loading of a certificate. Only use when loading a certificate from a daemon application, or an ASP NET app, using MSAL .NET directly. For an ASP NET Core app, Microsoft Identity Web will handle the certificate loading for you.

IConfidentialClientApplication app;
ICertificateLoader certificateLoader = new DefaultCertificateLoader();
    certificateLoader.LoadIfNeeded(config.CertificateDescription);

   app = ConfidentialClientApplicationBuilder.Create(config.ClientId)
          .WithCertificate(config.CertificateDescription.Certificate)
          .WithAuthority(new Uri(config.Authority))
          .Build();
IDownstreamWebApi

Interface used to call a downstream web API, for instance from controllers.

ILoginErrorAccessor

Provides access to get or set the current error status. The default implementation will use TempData and be enabled when run under Development.

ITokenAcquisition

Interface for the token acquisition service (encapsulating MSAL.NET).

Enums

CertificateSource

Source for a certificate.