You've already forked linux-packaging-mono
							
							
		
			
				
	
	
		
			18 lines
		
	
	
		
			568 B
		
	
	
	
		
			C#
		
	
	
	
	
	
			
		
		
	
	
			18 lines
		
	
	
		
			568 B
		
	
	
	
		
			C#
		
	
	
	
	
	
| // Copyright (c) Microsoft Corporation. All rights reserved. See License.txt in the project root for license information.
 | |
| 
 | |
| using System.Security.Principal;
 | |
| 
 | |
| namespace System.Web.Helpers.AntiXsrf.Test
 | |
| {
 | |
|     // An IClaimUidExtractor that can be passed to MoQ
 | |
|     public abstract class MockableClaimUidExtractor : IClaimUidExtractor
 | |
|     {
 | |
|         public abstract object ExtractClaimUid(IIdentity identity);
 | |
| 
 | |
|         BinaryBlob IClaimUidExtractor.ExtractClaimUid(IIdentity identity)
 | |
|         {
 | |
|             return (BinaryBlob)ExtractClaimUid(identity);
 | |
|         }
 | |
|     }
 | |
| }
 |