Documentation Coverage Report
Current view: top level - Cqrs/Authentication - ISingleSignOnToken.cs Hit Total Coverage
Version: 2.2 Artefacts: 1 1 100.0 %
Date: 2017-09-22

          Line data    Source code
       1             : #region Copyright
       2             : // // -----------------------------------------------------------------------
       3             : // // <copyright company="Chinchilla Software Limited">
       4             : // //   Copyright Chinchilla Software Limited. All rights reserved.
       5             : // // </copyright>
       6             : // // -----------------------------------------------------------------------
       7             : #endregion
       8             : 
       9             : using System;
      10             : using System.ComponentModel.DataAnnotations;
      11             : using System.Runtime.Serialization;
      12             : 
      13             : namespace Cqrs.Authentication
      14             : {
      15             :         /// <summary>
      16             :         /// An authentication token with expiry and an issue time information.
      17             :         /// </summary>
      18             :         public interface ISingleSignOnToken
      19             :         {
      20             :                 /// <summary>
      21             :                 /// The authentication token.
      22             :                 /// </summary>
      23             :                 [Required]
      24             :                 [DataMember]
      25             :                 string Token { get; set; }
      26             : 
      27             :                 /// <summary>
      28             :                 /// The <see cref="DateTime"/> this token should expire.
      29             :                 /// </summary>
      30             :                 [Required]
      31             :                 [DataMember]
      32             :                 DateTime TimeOfExpiry { get; set; }
      33             : 
      34             :                 /// <summary>
      35             :                 /// The <see cref="DateTime"/> this token was issued.
      36             :                 /// </summary>
      37             :                 [Required]
      38             :                 [DataMember]
      39             :                 DateTime DateIssued { get; set; }
      40             : 
      41             :                 /// <summary>
      42             :                 /// Serialises this token to a string.
      43             :                 /// </summary>
      44           1 :                 string Serialise();
      45             :         }
      46             : }

Generated by: LCOV version 1.10