-
Notifications
You must be signed in to change notification settings - Fork 9.9k
/
ApplicationProfilesPropertyValues.cs
30 lines (25 loc) · 1.31 KB
/
ApplicationProfilesPropertyValues.cs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
using Duende.IdentityServer.Models;
namespace Microsoft.AspNetCore.ApiAuthorization.IdentityServer;
/// <summary>
/// Constants for special values defined for specific <see cref="ApplicationProfilesPropertyNames" /> keys.
/// </summary>
public static class ApplicationProfilesPropertyValues
{
/// <summary>
/// The value given to <see cref="ApplicationProfilesPropertyNames.Clients"/> in <see cref="Resource.Properties"/> to indicate that the
/// resource can be accessed by all configured clients.
/// </summary>
public const string AllowAllApplications = "*";
/// <summary>
/// The value given to <see cref="ApplicationProfilesPropertyNames.Source"/> in <see cref="Resource.Properties"/> or <see cref="Client.Properties"/>
/// to indicate that the application was defined in configuration.
/// </summary>
public const string Configuration = nameof(Configuration);
/// <summary>
/// The value given to <see cref="ApplicationProfilesPropertyNames.Source"/> in <see cref="Resource.Properties"/>
/// to indicate that the resource was defined as a default identity resource.
/// </summary>
public const string Default = nameof(Default);
}