Neuron®
The Neuron® is the basis for the creation of open and secure federated networks for smart societies.
Loading...
Searching...
No Matches
NoAuthority.cs
2{
6 public class NoAuthority : Authority
7 {
12 public NoAuthority(string From)
13 : base(From)
14 {
15 }
16
24 public NoAuthority(string From, string[] DeviceTokens, string[] ServiceTokens,
25 string[] UserTokens)
26 : base(From, DeviceTokens, ServiceTokens, UserTokens)
27 {
28 }
29
35 public override bool HasPrivilege(string Privilege)
36 {
37 return false;
38 }
39 }
40}
Abstract base class for authorities.
Definition: Authority.cs:9
Origin of request has no authority.
Definition: NoAuthority.cs:7
NoAuthority(string From, string[] DeviceTokens, string[] ServiceTokens, string[] UserTokens)
Origin of request has no authority.
Definition: NoAuthority.cs:24
override bool HasPrivilege(string Privilege)
If the origin has a given privilege.
Definition: NoAuthority.cs:35
NoAuthority(string From)
Origin of request has no authority.
Definition: NoAuthority.cs:12