-
Notifications
You must be signed in to change notification settings - Fork 4.5k
/
OpenIdConnectLogin.cs
36 lines (30 loc) · 1.33 KB
/
OpenIdConnectLogin.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
// 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 login flow of the custom Open ID Connect provider. </summary>
public partial class OpenIdConnectLogin
{
/// <summary> Initializes a new instance of OpenIdConnectLogin. </summary>
public OpenIdConnectLogin()
{
Scopes = new ChangeTrackingList<string>();
}
/// <summary> Initializes a new instance of OpenIdConnectLogin. </summary>
/// <param name="nameClaimType"> The name of the claim that contains the users name. </param>
/// <param name="scopes"> A list of the scopes that should be requested while authenticating. </param>
internal OpenIdConnectLogin(string nameClaimType, IList<string> scopes)
{
NameClaimType = nameClaimType;
Scopes = scopes;
}
/// <summary> The name of the claim that contains the users name. </summary>
public string NameClaimType { get; set; }
/// <summary> A list of the scopes that should be requested while authenticating. </summary>
public IList<string> Scopes { get; }
}
}