22 lines
535 B
C#
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; }
|
|||
|
}
|
|||
|
}
|