mirror of
				https://gitee.com/dotnetchina/OpenAuth.Net.git
				synced 2025-10-25 10:19:01 +08:00 
			
		
		
		
	转移.net core 3.1,为.NET 5做准备
This commit is contained in:
		
							
								
								
									
										26
									
								
								OpenAuth.Identity/Quickstart/Grants/GrantsViewModel.cs
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										26
									
								
								OpenAuth.Identity/Quickstart/Grants/GrantsViewModel.cs
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,26 @@ | ||||
| // Copyright (c) Brock Allen & Dominick Baier. All rights reserved. | ||||
| // Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information. | ||||
|  | ||||
|  | ||||
| using System; | ||||
| using System.Collections.Generic; | ||||
|  | ||||
| namespace OpenAuth.IdentityServer.Quickstart.Grants | ||||
| { | ||||
|     public class GrantsViewModel | ||||
|     { | ||||
|         public IEnumerable<GrantViewModel> Grants { get; set; } | ||||
|     } | ||||
|  | ||||
|     public class GrantViewModel | ||||
|     { | ||||
|         public string ClientId { get; set; } | ||||
|         public string ClientName { get; set; } | ||||
|         public string ClientUrl { get; set; } | ||||
|         public string ClientLogoUrl { get; set; } | ||||
|         public DateTime Created { get; set; } | ||||
|         public DateTime? Expires { get; set; } | ||||
|         public IEnumerable<string> IdentityGrantNames { get; set; } | ||||
|         public IEnumerable<string> ApiGrantNames { get; set; } | ||||
|     } | ||||
| } | ||||
		Reference in New Issue
	
	Block a user
	 ÂëÉñ
					ÂëÉñ