-
Notifications
You must be signed in to change notification settings - Fork 4.5k
/
JwtClaimChecks.cs
37 lines (31 loc) · 1.41 KB
/
JwtClaimChecks.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
36
37
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// <auto-generated/>
#nullable disable
using System.Collections.Generic;
using Azure.Core;
namespace Azure.ResourceManager.AppService.Models
{
/// <summary> The configuration settings of the checks that should be made while validating the JWT Claims. </summary>
public partial class JwtClaimChecks
{
/// <summary> Initializes a new instance of JwtClaimChecks. </summary>
public JwtClaimChecks()
{
AllowedGroups = new ChangeTrackingList<string>();
AllowedClientApplications = new ChangeTrackingList<string>();
}
/// <summary> Initializes a new instance of JwtClaimChecks. </summary>
/// <param name="allowedGroups"> The list of the allowed groups. </param>
/// <param name="allowedClientApplications"> The list of the allowed client applications. </param>
internal JwtClaimChecks(IList<string> allowedGroups, IList<string> allowedClientApplications)
{
AllowedGroups = allowedGroups;
AllowedClientApplications = allowedClientApplications;
}
/// <summary> The list of the allowed groups. </summary>
public IList<string> AllowedGroups { get; }
/// <summary> The list of the allowed client applications. </summary>
public IList<string> AllowedClientApplications { get; }
}
}