mirror of
https://gitee.com/dotnetchina/OpenAuth.Net.git
synced 2025-07-15 14:04:41 +08:00
20 lines
661 B
C#
20 lines
661 B
C#
// 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; }
|
|
}
|
|
}
|