mirror of
https://gitee.com/dotnetchina/OpenAuth.Net.git
synced 2025-10-27 03:09:16 +08:00
转移.net core 3.1,为.NET 5做准备
This commit is contained in:
19
OpenAuth.Identity/Quickstart/Consent/ProcessConsentResult.cs
Normal file
19
OpenAuth.Identity/Quickstart/Consent/ProcessConsentResult.cs
Normal file
@@ -0,0 +1,19 @@
|
||||
// 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.
|
||||
|
||||
|
||||
namespace OpenAuth.IdentityServer.Quickstart.Consent
|
||||
{
|
||||
public class ProcessConsentResult
|
||||
{
|
||||
public bool IsRedirect => RedirectUri != null;
|
||||
public string RedirectUri { get; set; }
|
||||
public string ClientId { get; set; }
|
||||
|
||||
public bool ShowView => ViewModel != null;
|
||||
public ConsentViewModel ViewModel { get; set; }
|
||||
|
||||
public bool HasValidationError => ValidationError != null;
|
||||
public string ValidationError { get; set; }
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user