Dela via


IAuthorizationService Interface

Definition

Checks policy based permissions for a user

public interface class IAuthorizationService
public interface IAuthorizationService
type IAuthorizationService = interface
Public Interface IAuthorizationService
Derived

Methods

AuthorizeAsync(ClaimsPrincipal, Object, IEnumerable<IAuthorizationRequirement>)

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

AuthorizeAsync(ClaimsPrincipal, Object, String)

Checks if a user meets a specific authorization policy

Extension 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