yavsc/src/Yavsc.Server/Models/Access/ProcessConsentResult.cs

21 lines
667 B
C#
Raw Normal View History

2024-11-06 13:00:34 +00:00
// 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.
2025-02-08 20:06:24 +00:00
using IdentityServer8.Models;
2024-11-06 13:00:34 +00:00
namespace Yavsc.Models.Access
{
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; }
}
}