InMemoryDapperMaticAccessRepository
Namespace: MJCZone.DapperMatic.AspNetCore.Repositories
Assembly: MJCZone.DapperMatic.AspNetCore
Summary
Keeps policies and tenants in memory, for the life of the process: the default.
Inheritance
Implemented Interfaces:
public
Contents
Constructors (1) | Methods (14)
Constructors
InMemoryDapperMaticAccessRepository
csharp
InMemoryDapperMaticAccessRepository()Methods
GetAsync
csharp
Task<DapperMaticAccessDocument> GetAsync()Returns
Type: Task<DapperMaticAccessDocument>
SavePolicyAsync
csharp
Task SavePolicyAsync()Returns
Type: Task
DeletePolicyAsync
csharp
Task<bool> DeletePolicyAsync()Returns
Type: Task<bool>
SaveTenantAsync
csharp
Task SaveTenantAsync()Returns
Type: Task
DeleteTenantAsync
csharp
Task<bool> DeleteTenantAsync()Returns
Type: Task<bool>
SaveWebhookAsync
csharp
Task SaveWebhookAsync()Returns
Type: Task
DeleteWebhookAsync
csharp
Task<bool> DeleteWebhookAsync()Returns
Type: Task<bool>
SaveServiceAccountAsync
csharp
Task SaveServiceAccountAsync()Returns
Type: Task
DeleteServiceAccountAsync
csharp
Task<bool> DeleteServiceAccountAsync()Returns
Type: Task<bool>
ReplaceAsync
csharp
Task ReplaceAsync()Returns
Type: Task
GetType
csharp
GetType()ToString
csharp
ToString()Equals
csharp
Equals()GetHashCode
csharp
GetHashCode()