Documentation Coverage Report
Current view: top level - Azure/Tests/Cqrs.Azure.ServiceBus.Tests.Integration - GuidAuthenticationTokenHelper.cs Hit Total Coverage
Version: 2.2 Artefacts: 3 3 100.0 %
Date: 2017-09-22

          Line data    Source code
       1             : using System;
       2             : using Cqrs.Authentication;
       3             : 
       4             : namespace Cqrs.Azure.ServiceBus.Tests.Integration
       5             : {
       6             :         /// <summary>
       7             :         /// A test <see cref="IAuthenticationTokenHelper{TAuthenticationToken}"/> that always 
       8             :         /// returns <see cref="Guid.Empty"/>
       9             :         /// </summary>
      10             :         public class GuidAuthenticationTokenHelper : IAuthenticationTokenHelper<Guid>
      11           1 :         {
      12             :                 #region IAuthenticationTokenHelper<Guid> Members
      13             : 
      14             :                 /// <summary>
      15             :                 /// Gets <see cref="Guid.Empty"/>
      16             :                 /// </summary>
      17             :                 /// <returns><see cref="Guid.Empty"/></returns>
      18           1 :                 public Guid GetAuthenticationToken()
      19             :                 {
      20             :                         return Guid.Empty;
      21             :                 }
      22             : 
      23             :                 /// <summary>
      24             :                 /// Does nothing
      25             :                 /// </summary>
      26             :                 /// <returns><see cref="Guid.Empty"/></returns>
      27           1 :                 public Guid SetAuthenticationToken(Guid permissionScope)
      28             :                 {
      29             :                         return Guid.Empty;
      30             :                 }
      31             : 
      32             :                 #endregion
      33             :         }
      34             : }

Generated by: LCOV version 1.10