mirror of
https://gitee.com/dotnetchina/OpenAuth.Net.git
synced 2025-10-25 02:09:01 +08:00
转移.net core 3.1,为.NET 5做准备
This commit is contained in:
16
OpenAuth.Identity/Quickstart/Consent/ConsentOptions.cs
Normal file
16
OpenAuth.Identity/Quickstart/Consent/ConsentOptions.cs
Normal file
@@ -0,0 +1,16 @@
|
||||
// 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 ConsentOptions
|
||||
{
|
||||
public static bool EnableOfflineAccess = true;
|
||||
public static string OfflineAccessDisplayName = "Offline Access";
|
||||
public static string OfflineAccessDescription = "Access to your applications and resources, even when you are offline";
|
||||
|
||||
public static readonly string MustChooseOneErrorMessage = "You must pick at least one permission";
|
||||
public static readonly string InvalidSelectionErrorMessage = "Invalid selection";
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user