DefaultAuthorizationService Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
The default implementation of an IAuthorizationService.
public ref class DefaultAuthorizationService : Microsoft::AspNetCore::Authorization::IAuthorizationService
public class DefaultAuthorizationService : Microsoft.AspNetCore.Authorization.IAuthorizationService
type DefaultAuthorizationService = class
interface IAuthorizationService
Public Class DefaultAuthorizationService
Implements IAuthorizationService
- Inheritance
-
DefaultAuthorizationService
- Implements
Constructors
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. |