KlusterKite  0.0.0
A framework to create scalable and redundant services based on awesome Akka.Net project.
KlusterKite.Security.Attributes Namespace Reference

Classes

class  AccessTicket
 The authenticated user session More...
 
class  AuthenticationResult
 The result of the authentication procedure More...
 
interface  IClient
 The description of the client applications More...
 
interface  IClientProvider
 Provides API for oAuth 2 authentication to get and check clients (client applications) More...
 
interface  ICrucialObject
 Places a flag on data object to mark it crucial. Used in logging and some other scenarios. More...
 
interface  ITokenManager
 Generic token manager. Provides full stack utilities to work with user authentication sessions and corresponding tokens More...
 
interface  IUser
 The general interface to represent user in the system More...
 
class  MoqTokenManager
 Token manager for test purposes More...
 
class  PrivilegeDescription
 The description of the privilege More...
 
class  PrivilegeDescriptionAttribute
 Describes privilege More...
 
class  PrivilegesContainerAttribute
 Marks static classes as containers of used privileges. All public string constants will be treated as defined privilege. It is recommended to place such classes in widely spread clint libraries More...
 
class  RefreshTicket
 The unique data to identify the user More...
 
class  RequestContext
 The full operation request description More...
 
class  TokenResponse
 The token description More...
 
class  Utils
 The bundle of utils for current library More...
 

Enumerations

enum  EnPrivilegeTarget { EnPrivilegeTarget.Undefined = 0, EnPrivilegeTarget.Client = 1, EnPrivilegeTarget.User = 2, EnPrivilegeTarget.ClientAndUser = 3 }
 The target of privilege to apply More...
 
enum  EnSecurityLogType {
  EnSecurityLogType.DataReadGranted, EnSecurityLogType.DataCreateGranted, EnSecurityLogType.DataUpdateGranted, EnSecurityLogType.DataDeleteGranted,
  EnSecurityLogType.OperationGranted, EnSecurityLogType.AuthenticationGranted, EnSecurityLogType.AuthenticationDenied, EnSecurityLogType.OperationDenied
}
 The log record type More...
 
enum  EnSeverity { EnSeverity.Trivial, EnSeverity.Crucial }
 The operation severity from the security point of view More...
 

Enumeration Type Documentation

◆ EnPrivilegeTarget

The target of privilege to apply

Enumerator
Undefined 

The privilege target is undefined

Client 

Clients (applications) can be granted with this privilege

User 

Users can be granted with this privilege

ClientAndUser 

Both clients and users can be granted with this privilege

Definition at line 18 of file EnPrivilegeTarget.cs.

◆ EnSecurityLogType

The log record type

Enumerator
DataReadGranted 

Data read operation was successful

DataCreateGranted 

Data create operation was successful

DataUpdateGranted 

Data update / change operation was successful

DataDeleteGranted 

Data removal operation was successful

OperationGranted 

Some uncategorized operation was successfully made

AuthenticationGranted 

Authentication grant was successful

AuthenticationDenied 

Unsuccessful authentication attempt

OperationDenied 

Attempt to make unauthorized operation

Definition at line 15 of file EnSecurityLogType.cs.

◆ EnSeverity

The operation severity from the security point of view

Enumerator
Trivial 

Trivial (non dangerous) operation

Crucial 

Crucial operation for the whole application

Definition at line 15 of file EnSeverity.cs.