Microsoft.Identity.Web.Resource Namespace

Classes

AadIssuerValidator

Generic class that validates token issuer from the provided Azure AD authority.

JwtBearerMiddlewareDiagnostics

Diagnostics for the JwtBearer middleware (used in web APIs).

MicrosoftIdentityIssuerValidatorFactory

Factory class for creating the IssuerValidator per authority.

OpenIdConnectMiddlewareDiagnostics

Diagnostics used in the OpenID Connect middleware (used in web apps).

RequiredScopeAttribute

This attribute is used on a controller, pages, or controller actions to declare (and validate) the scopes required by a web API. These scopes can be declared in two ways: hardcoding them, or declaring them in the configuration. Depending on your choice, use either one or the other of the constructors. For details, see https://aka.ms/ms-id-web/required-scope-attribute.

RolesRequiredHttpContextExtensions

Extension class providing the extension methods for System.Net.Http.HttpContent that can be used in web APIs to validate the roles in controller actions.

ScopesRequiredHttpContextExtensions

Extension class providing the extension methods for System.Net.Http.HttpContent that can be used in web APIs to validate scopes in controller actions. We recommend using instead the RequiredScope Attribute on the controller, the page or the action. See https://aka.ms/ms-id-web/required-scope-attribute.

Interfaces

IJwtBearerMiddlewareDiagnostics

Interface implemented by diagnostics for the JWT Bearer middleware.

IOpenIdConnectMiddlewareDiagnostics

Diagnostics used in the OpenID Connect middleware (used in web apps).