Dela via


AuthorizationServiceExtensions Class

Definition

Extension methods for IAuthorizationService.

public ref class AuthorizationServiceExtensions abstract sealed
public static class AuthorizationServiceExtensions
type AuthorizationServiceExtensions = class
Public Module AuthorizationServiceExtensions
Inheritance
AuthorizationServiceExtensions

Methods

AuthorizeAsync(IAuthorizationService, ClaimsPrincipal, AuthorizationPolicy)

Checks if a user meets a specific authorization policy against the specified resource.

AuthorizeAsync(IAuthorizationService, ClaimsPrincipal, Object, AuthorizationPolicy)

Checks if a user meets a specific authorization policy against the specified resource.

AuthorizeAsync(IAuthorizationService, ClaimsPrincipal, Object, IAuthorizationRequirement)

Checks if a user meets a specific requirement for the specified resource

AuthorizeAsync(IAuthorizationService, ClaimsPrincipal, String)

Checks if a user meets a specific authorization policy against the specified resource.

Applies to