DefaultDapperMaticPermissions
Namespace: MJCZone.DapperMatic.AspNetCore.Security
Assembly: MJCZone.DapperMatic.AspNetCore
Summary
Authorizes operations by the policies: nothing is allowed unless a policy grants it. Reading and writing rows is decided table by table, with each table's columns, as the rows are read or written; this lets those operations through to that.
Inheritance
Implemented Interfaces:
public
Contents
Constructors (1) | Methods (5)
Constructors
DefaultDapperMaticPermissions
Initializes a new instance of the DefaultDapperMaticPermissions class.
csharp
DefaultDapperMaticPermissions(DapperMaticPolicySet policies)Parameters
- policies (DapperMaticPolicySet) - The policies in force.
Methods
IsAuthorizedAsync
csharp
Task<bool> IsAuthorizedAsync()Returns
Type: Task<bool>
GetType
csharp
GetType()ToString
csharp
ToString()Equals
csharp
Equals()GetHashCode
csharp
GetHashCode()