IAuthorizationService IAuthorizationService IAuthorizationService Interface

Definition

Checks policy based permissions for a user

public interface IAuthorizationService
type IAuthorizationService = interface
Public Interface IAuthorizationService
Derived

Methods

AuthorizeAsync(ClaimsPrincipal, Object, IEnumerable<IAuthorizationRequirement>) AuthorizeAsync(ClaimsPrincipal, Object, IEnumerable<IAuthorizationRequirement>) AuthorizeAsync(ClaimsPrincipal, Object, IEnumerable<IAuthorizationRequirement>)

Checks if a user meets a specific set of requirements for the specified resource

AuthorizeAsync(ClaimsPrincipal, Object, String) AuthorizeAsync(ClaimsPrincipal, Object, String) AuthorizeAsync(ClaimsPrincipal, Object, String)

Checks if a user meets a specific authorization policy

Extension Methods

AuthorizeAsync(IAuthorizationService, ClaimsPrincipal, AuthorizationPolicy) AuthorizeAsync(IAuthorizationService, ClaimsPrincipal, AuthorizationPolicy) AuthorizeAsync(IAuthorizationService, ClaimsPrincipal, AuthorizationPolicy)

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

AuthorizeAsync(IAuthorizationService, ClaimsPrincipal, Object, AuthorizationPolicy) AuthorizeAsync(IAuthorizationService, ClaimsPrincipal, Object, AuthorizationPolicy) AuthorizeAsync(IAuthorizationService, ClaimsPrincipal, Object, AuthorizationPolicy)

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

AuthorizeAsync(IAuthorizationService, ClaimsPrincipal, Object, IAuthorizationRequirement) AuthorizeAsync(IAuthorizationService, ClaimsPrincipal, Object, IAuthorizationRequirement) AuthorizeAsync(IAuthorizationService, ClaimsPrincipal, Object, IAuthorizationRequirement)

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

AuthorizeAsync(IAuthorizationService, ClaimsPrincipal, String) AuthorizeAsync(IAuthorizationService, ClaimsPrincipal, String) AuthorizeAsync(IAuthorizationService, ClaimsPrincipal, String)

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

Applies to