Class Token
Assembly: Aetheros.Schema.OneM2M.dll
Syntax
[Serializable]
[JsonObject("m2m:tk")]
public class Token : RegularResource
Properties
|
Edit this page
View Source
Audience
Declaration
[JsonProperty("tkau")]
public ICollection<string> Audience { get; set; }
Property Value
|
Edit this page
View Source
ChildResource
Declaration
[JsonProperty("ch")]
public ICollection<ChildResourceRef> ChildResource { get; set; }
Property Value
|
Edit this page
View Source
Extension
Declaration
[JsonProperty("tkex")]
public string Extension { get; set; }
Property Value
|
Edit this page
View Source
Holder
Declaration
[JsonProperty("tkhd")]
public string Holder { get; set; }
Property Value
|
Edit this page
View Source
Issuer
Declaration
[JsonProperty("tkis")]
public string Issuer { get; set; }
Property Value
|
Edit this page
View Source
NotAfter
Declaration
[JsonProperty("tkna")]
public DateTimeOffset? NotAfter { get; set; }
Property Value
|
Edit this page
View Source
NotBefore
Declaration
[JsonProperty("tknb")]
public DateTimeOffset NotBefore { get; set; }
Property Value
|
Edit this page
View Source
Permissions
Declaration
[JsonProperty("tkps")]
public TokenPermissionsItem Permissions { get; set; }
Property Value
|
Edit this page
View Source
Subscription
Declaration
[JsonProperty("m2m:sub")]
public ICollection<Subscription> Subscription { get; set; }
Property Value
|
Edit this page
View Source
TokenID
Pattern: ([a-zA-Z0-9\.\-,_]*)@([A-Za-z0-9\-_]*)(\.([A-Za-z0-9\-_])*)*.
Declaration
[RegularExpression("([a-zA-Z0-9\\.\\-,_]*)@([A-Za-z0-9\\-_]*)(\\.([A-Za-z0-9\\-_])*)*")]
[JsonProperty("tkid")]
public string TokenID { get; set; }
Property Value
|
Edit this page
View Source
TokenName
Declaration
[JsonProperty("tknm")]
public string TokenName { get; set; }
Property Value
|
Edit this page
View Source
TokenObject
Declaration
[JsonProperty("tkob")]
public string TokenObject { get; set; }
Property Value
|
Edit this page
View Source
Version
Declaration
[JsonProperty("vr")]
public string Version { get; set; }
Property Value