Freigeben über


Microsoft.Identity.Web.Resource Namespace

Classes

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.

RequiredScopeOrAppPermissionAttribute

This attribute is used on a controller, pages, or controller actions to declare (and validate) the scopes or app permissions required by a web API. These scopes or app permissions 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-or-app-permissions-attribute.

RolesRequiredHttpContextExtensions

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

ScopesRequiredHttpContextExtensions

Extension class providing the extension methods for 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).