using System;
using Newtonsoft.Json;
namespace xIdentityModels.Models {
///
/// represent a system wide action result
///
public class XActionResponse {
///
/// ActionToken
///
/// a hashed string which carry required info for doing system actions.
[JsonProperty (
"token",
Required = Required.Default,
NullValueHandling = NullValueHandling.Ignore)]
public string Token { get; set; }
///
/// ActionToken Lifetime
///
/// an instance of DateTime which represent token expiration time
[JsonProperty (
"expiration",
Required = Required.DisallowNull,
NullValueHandling = NullValueHandling.Ignore)]
public DateTime Expiration { get; set; }
}
}