using System.Text.Json.Serialization; namespace Socialvoid.Security { /// /// A SessionIdentification object allows the client to identify the /// session it's using and prove that it is the owner of the session; /// it proves as a identification effort and security effort. /// Most methods that requires authentication or some sort of identity /// will require you to pass on this object as a parameter under /// `session_identification`; missing parameters or invalid security values /// will cause the request to fail as it's validated upon request. /// since: v0.0.0 /// public sealed class SessionIdentification { //------------------------------------------------- #region Constant's Region // some members here #endregion //------------------------------------------------- #region static Properties Region // some members here #endregion //------------------------------------------------- #region Properties Region /// /// The ID of the session obtained when establishing a session. /// since: v0.0.0 /// [JsonPropertyName("session_id")] public string SessionID { get; set; } /// /// The Public Hash of the client used when establishing the session. /// since: v0.0.0 /// [JsonPropertyName("client_public_hash")] public string ClientPublicHash { get; set; } /// /// The session challenge answer revolving around the client's /// private hash, the same client used to establish the session. /// since: v0.0.0 /// [JsonPropertyName("challenge_answer")] public string ChallengeAnswer { get; internal set; } #endregion //------------------------------------------------- #region static field's Region // some members here #endregion //------------------------------------------------- #region field's Region // some members here #endregion //------------------------------------------------- #region static event field's Region // some members here #endregion //------------------------------------------------- #region event field's Region // some members here #endregion //------------------------------------------------- #region Constructor's Region /// /// /// public SessionIdentification() { } #endregion //------------------------------------------------- #region Destructor's Region // some members here #endregion //------------------------------------------------- #region Initialize Method's Region // some methods here #endregion //------------------------------------------------- #region Graphical Method's Region // some methods here #endregion //------------------------------------------------- #region event Method's Region // some methods here #endregion //------------------------------------------------- #region overrided Method's Region // some methods here #endregion //------------------------------------------------- #region ordinary Method's Region // some methods here #endregion //------------------------------------------------- #region Get Method's Region // some methods here #endregion //------------------------------------------------- #region Set Method's Region // some methods here #endregion //------------------------------------------------- #region static Method's Region // some methods here #endregion //------------------------------------------------- } }