-
Notifications
You must be signed in to change notification settings - Fork 9.9k
/
ApplicationProfiles.cs
35 lines (29 loc) · 1.24 KB
/
ApplicationProfiles.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
31
32
33
34
35
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
namespace Microsoft.AspNetCore.ApiAuthorization.IdentityServer;
/// <summary>
/// Constants for the different application profiles for applications in an authorization server.
/// </summary>
public static class ApplicationProfiles
{
/// <summary>
/// The application is an external API registered with the authorization server.
/// </summary>
public const string API = "API";
/// <summary>
/// The application is an API that coexists with the authorization server.
/// </summary>
public const string IdentityServerJwt = "IdentityServerJwt";
/// <summary>
/// The application is an external single page application registered with the authorization server.
/// </summary>
public const string SPA = "SPA";
/// <summary>
/// The application is a single page application that coexists with the authorization server.
/// </summary>
public const string IdentityServerSPA = "IdentityServerSPA";
/// <summary>
/// The application is a native application like a mobile or desktop application.
/// </summary>
public const string NativeApp = "NativeApp";
}