-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy pathIdentityMappingModel.cs
30 lines (27 loc) · 1.06 KB
/
IdentityMappingModel.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
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See LICENSE.md in the project root for license information.
namespace ACS.Solution.Authentication.Server.Models
{
/// <summary>
/// The identity mapping object storted in Microsoft Graph Open Extension.
/// </summary>
public class IdentityMapping
{
/// <summary>
/// Represent the name of identity mapping key.
/// </summary>
public const string IdentityMappingKeyName = "acsUserIdentity";
/// <summary>
/// Creates a new instance of IdentityMapping using the provided acsUserIdentity.
/// </summary>
/// <param name="acsUserIdentity">Identifier representing a user in Azure Communication Services.</param>
public IdentityMapping(string acsUserIdentity)
{
ACSUserIdentity = acsUserIdentity;
}
/// <summary>
/// Gets or sets unique Azure Communication Services identity.
/// </summary>
public string ACSUserIdentity { get; set; }
}
}