mirror of
https://gitee.com/dotnetchina/OpenAuth.Net.git
synced 2026-07-15 03:43:47 +08:00
🔄refactor: 使用OpenIddict 重构Identity
This commit is contained in:
@@ -1,22 +1,8 @@
|
||||
// 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.
|
||||
|
||||
|
||||
using IdentityServer4.Models;
|
||||
|
||||
namespace OpenAuth.IdentityServer.Quickstart.Home
|
||||
namespace OpenAuth.IdentityServer.Quickstart.Home
|
||||
{
|
||||
public class ErrorViewModel
|
||||
{
|
||||
public ErrorViewModel()
|
||||
{
|
||||
}
|
||||
|
||||
public ErrorViewModel(string error)
|
||||
{
|
||||
Error = new ErrorMessage { Error = error };
|
||||
}
|
||||
|
||||
public ErrorMessage Error { get; set; }
|
||||
public string ErrorId { get; set; }
|
||||
public string ErrorMessage { get; set; }
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user