Neuron®
The Neuron® is the basis for the creation of open and secure federated networks for smart societies.
Loading...
Searching...
No Matches
ProvisioningToken.cs
2
4{
8 public enum TokenType
9 {
13 User,
14
18 Device,
19
23 Service
24 }
25
29 [TypeName(TypeNameSerialization.None)]
30 public class ProvisioningToken
31 {
36 {
37 }
38
45 {
46 this.Token = Token;
47 this.Type = Type;
48 }
49
53 [DefaultValueStringEmpty]
54 public string Token { get; set; } = string.Empty;
55
59 public TokenType Type { get; set; }
60
64 [DefaultValueStringEmpty]
65 public string? FriendlyName { get; set; }
66
70 [DefaultValueNull]
71 public byte[]? Certificate { get; set; }
72 }
73}
ProvisioningToken()
A record of a token used in provisioning.
ProvisioningToken(string Token, TokenType Type)
A record of a token used in provisioning.
TypeNameSerialization
How the type name should be serialized.