-
Notifications
You must be signed in to change notification settings - Fork 4.8k
/
AzureActiveDirectoryValidation.cs
40 lines (34 loc) · 2.01 KB
/
AzureActiveDirectoryValidation.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
38
39
40
// 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.Applications.Containers.Models
{
/// <summary> The configuration settings of the Azure Active Directory token validation flow. </summary>
public partial class AzureActiveDirectoryValidation
{
/// <summary> Initializes a new instance of AzureActiveDirectoryValidation. </summary>
public AzureActiveDirectoryValidation()
{
AllowedAudiences = new ChangeTrackingList<string>();
}
/// <summary> Initializes a new instance of AzureActiveDirectoryValidation. </summary>
/// <param name="jwtClaimChecks"> The configuration settings of the checks that should be made while validating the JWT Claims. </param>
/// <param name="allowedAudiences"> The list of audiences that can make successful authentication/authorization requests. </param>
/// <param name="defaultAuthorizationPolicy"> The configuration settings of the default authorization policy. </param>
internal AzureActiveDirectoryValidation(JwtClaimChecks jwtClaimChecks, IList<string> allowedAudiences, DefaultAuthorizationPolicy defaultAuthorizationPolicy)
{
JwtClaimChecks = jwtClaimChecks;
AllowedAudiences = allowedAudiences;
DefaultAuthorizationPolicy = defaultAuthorizationPolicy;
}
/// <summary> The configuration settings of the checks that should be made while validating the JWT Claims. </summary>
public JwtClaimChecks JwtClaimChecks { get; set; }
/// <summary> The list of audiences that can make successful authentication/authorization requests. </summary>
public IList<string> AllowedAudiences { get; }
/// <summary> The configuration settings of the default authorization policy. </summary>
public DefaultAuthorizationPolicy DefaultAuthorizationPolicy { get; set; }
}
}