8 [CollectionName(
"ApiKeys")]
12 [Index(
"Owner",
"Key")]
15 private static readonly
object[] approvedSources =
new object[]
18 typeof(Persistence.NeuroLedger.NeuroLedgerProvider),
19 typeof(Content.Markdown.Web.MarkdownToHtmlConverter),
21 Account.FromUpdateObject
24 private string objectId =
null;
25 private string key =
string.Empty;
26 private string secret =
string.Empty;
27 private string owner =
string.Empty;
29 private DateTime created = DateTime.MinValue;
30 private DateTime firstAccount = DateTime.MinValue;
31 private DateTime lastAccount = DateTime.MinValue;
32 private long maxAccounts = 0;
33 private long nrCreated = 0;
34 private long nrDeleted = 0;
41 public string ObjectId
44 set => this.objectId = value;
50 set => this.key = value;
53 [DefaultValueStringEmpty]
72 set => this.owner = value;
75 [DefaultValueStringEmpty]
79 set => this.eMail = value;
82 [DefaultValueDateTimeMinValue]
83 public DateTime Created
86 set => this.created = value;
89 [DefaultValueDateTimeMinValue]
90 public DateTime FirstAccount
92 get => this.firstAccount;
93 set => this.firstAccount = value;
96 [DefaultValueDateTimeMinValue]
97 public DateTime LastAccount
99 get => this.lastAccount;
100 set => this.lastAccount = value;
104 public long MaxAccounts
106 get => this.maxAccounts;
107 set => this.maxAccounts = value;
111 public long NrCreated
113 get => this.nrCreated;
114 set => this.nrCreated = value;
118 public long NrDeleted
120 get => this.nrDeleted;
121 set => this.nrDeleted = value;
Represents a case-insensitive string.
static readonly CaseInsensitiveString Empty
Empty case-insensitive string
Static class containing methods that can be used to make sure calls are made from appropriate locatio...
static void CallFromSource(params string[] Sources)
Makes sure the call is made from one of the listed sources.
Contains information about a broker account.
Service Module hosting the XMPP broker and its components.
TypeNameSerialization
How the type name should be serialized.