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

The description of the privilege More...

Public Member Functions

 PrivilegeDescription ([NotNull]string assemblyName, [CanBeNull]string description, [NotNull]string privilege, [CanBeNull]string action=null, EnPrivilegeTarget target=EnPrivilegeTarget.ClientAndUser)
 Initializes a new instance of the PrivilegeDescription class. More...
 
override string ToString ()
 

Properties

string AssemblyName [get]
 Gets the container assembly name More...
 
string Description [get]
 Gets the privilege description More...
 
string Action [get]
 Gets the exact controller action name More...
 
string Privilege [get]
 Gets the privilege More...
 
EnPrivilegeTarget Target [get]
 Gets the target to grant privilege to More...
 

Detailed Description

The description of the privilege

Definition at line 17 of file PrivilegeDescription.cs.

Constructor & Destructor Documentation

◆ PrivilegeDescription()

KlusterKite.Security.Attributes.PrivilegeDescription.PrivilegeDescription ( [NotNull] string  assemblyName,
[CanBeNull] string  description,
[NotNull] string  privilege,
[CanBeNull] string  action = null,
EnPrivilegeTarget  target = EnPrivilegeTarget.ClientAndUser 
)

Initializes a new instance of the PrivilegeDescription class.

Parameters
assemblyNameThe assembly name.
descriptionThe description.
privilegeThe privilege.
actionthe exact controller action name
targetThe target to grant privilege to

Definition at line 37 of file PrivilegeDescription.cs.

Member Function Documentation

◆ ToString()

override string KlusterKite.Security.Attributes.PrivilegeDescription.ToString ( )

Definition at line 86 of file PrivilegeDescription.cs.

Property Documentation

◆ Action

string KlusterKite.Security.Attributes.PrivilegeDescription.Action
get

Gets the exact controller action name

Definition at line 70 of file PrivilegeDescription.cs.

◆ AssemblyName

string KlusterKite.Security.Attributes.PrivilegeDescription.AssemblyName
get

Gets the container assembly name

Definition at line 56 of file PrivilegeDescription.cs.

◆ Description

string KlusterKite.Security.Attributes.PrivilegeDescription.Description
get

Gets the privilege description

Definition at line 63 of file PrivilegeDescription.cs.

◆ Privilege

string KlusterKite.Security.Attributes.PrivilegeDescription.Privilege
get

Gets the privilege

Definition at line 77 of file PrivilegeDescription.cs.

◆ Target

EnPrivilegeTarget KlusterKite.Security.Attributes.PrivilegeDescription.Target
get

Gets the target to grant privilege to

Definition at line 83 of file PrivilegeDescription.cs.


The documentation for this class was generated from the following file: