zeroframework/Services/Identity/ZeroFramework.IdentityServer.API/Models/Consents/ProcessConsentResult.cs

22 lines
535 B
C#
Raw Normal View History

2023-12-05 09:22:48 +00:00
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; }
}
}