LCOV - code coverage report
Current view: top level - Cqrs.MongoDB/Repositories/Authentication - SingleSignOnToken.cs Hit Total Coverage
Test: doc-coverage.info Lines: 0 2 0.0 %
Date: 2017-07-26

          Line data    Source code
       1             : #region Copyright
       2             : // // -----------------------------------------------------------------------
       3             : // // <copyright company="cdmdotnet Limited">
       4             : // //   Copyright cdmdotnet Limited. All rights reserved.
       5             : // // </copyright>
       6             : // // -----------------------------------------------------------------------
       7             : #endregion
       8             : 
       9             : using System;
      10             : using System.ComponentModel.DataAnnotations;
      11             : using System.Runtime.Serialization;
      12             : using Cqrs.MongoDB.Entities;
      13             : using Cqrs.Authentication;
      14             : 
      15             : namespace Cqrs.MongoDB.Repositories.Authentication
      16             : {
      17             :         [Serializable]
      18             :         [DataContract]
      19             :         public class SingleSignOnToken : MongoEntity, ISingleSignOnToken
      20           0 :         {
      21             :                 [Required]
      22             :                 [DataMember]
      23             :                 public string Token { get; set; }
      24             : 
      25             :                 [Required]
      26             :                 [DataMember]
      27             :                 public DateTime TimeOfExpiry { get; set; }
      28             : 
      29             :                 [Required]
      30             :                 [DataMember]
      31             :                 public DateTime DateIssued { get; set; }
      32             : 
      33           0 :                 public string Serialise()
      34             :                 {
      35             :                         return Token;
      36             :                 }
      37             :         }
      38             : }

Generated by: LCOV version 1.10