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.

ClaimConstants

Constants for claim types.

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).

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.

MicrosoftIdentityAppAuthenticationMessageHandler

A DelegatingHandler implementation that add an authorization header with a token for the application.

MicrosoftIdentityAppCallsWebApiAuthenticationBuilder

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

MicrosoftIdentityAuthenticationBaseMessageHandler

Base class for Microsoft Identity authentication message handlers.

MicrosoftIdentityAuthenticationBaseOptions

Base options passed-in to authenticate with Microsoft Identity.

MicrosoftIdentityAuthenticationMessageHandlerHttpClientBuilderExtensions

Extension for IHttpClientBuilder for startup initialization of Microsoft Identity authentication handlers.

MicrosoftIdentityAuthenticationMessageHandlerOptions

Options passed-in to Microsoft Identity message handlers.

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.

MicrosoftIdentityUserAuthenticationMessageHandler

A DelegatingHandler implementation that add an authorization header with a token on behalf of the current user.

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.

PolicyBuilderExtensions

Extensions for building the RequiredScope policy during application startup.

RequiredScopeExtensions

Extensions for building the required scope attribute during application startup.

RequiredScopeOrAppPermissionExtensions

Extensions for building the required scope or app permission attribute during application startup.

ScopeAuthorizationRequirement

Implements an IAuthorizationRequirement which requires at least one instance of the specified claim type, and, if allowed values are specified, the claim value must be any of the allowed values.

ScopeOrAppPermissionAuthorizationRequirement

Implements an IAuthorizationRequirement which requires at least one instance of the specified claim type, and, if allowed values are specified, the claim value must be any of the allowed values.

ServiceCollectionExtensions

Extensions for IServiceCollection for startup initialization of web APIs.

TokenAcquisitionAppTokenCredential

Azure SDK token credential for App tokens based on the ITokenAcquisition service.

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

IAuthRequiredScopeMetadata

This is the metadata that describes required auth scopes for a given endpoint in a web API. It's the underlying data structure the requirement ScopeAuthorizationRequirement will look for in order to validate scopes in the scope claims.

IAuthRequiredScopeOrAppPermissionMetadata

This is the metadata that describes required auth scopes or app permissions for a given endpoint in a web API. It's the underlying data structure the requirement ScopeOrAppPermissionAuthorizationRequirement will look for in order to validate scopes in the scope claims or app permissions in the roles claim.

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.

IMicrosoftIdentityAuthenticationDelegatingHandlerFactory

Interface to a class that provides the DelegatingHandler that adds an authorization header with a token for the application.

ITokenAcquisition

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