zeroframework/Services/Identity/ZeroFramework.IdentityServer.API/Models/Consents/ProcessConsentResult.cs
2023-12-05 17:22:48 +08:00

22 lines
535 B
C#

using Duende.IdentityServer.Models;
namespace ZeroFramework.IdentityServer.API.Models.Consents
{
public class ProcessConsentResult
{
public bool IsRedirect => RedirectUri != null;
public string? RedirectUri { get; set; }
public Client? Client { get; set; }
public bool ShowView => ViewModel != null;
public ConsentViewModel? ViewModel { get; set; }
public bool HasValidationError => ValidationError != null;
public string? ValidationError { get; set; }
}
}