microsoft/teams.net
Publicmirrored fromhttps://github.com/microsoft/teams.netAvailable
core/samples/A2ABot/TurnIdentity.cs
8lines · modecode
| 1 | // Copyright (c) Microsoft Corporation. |
| 2 | // Licensed under the MIT License. |
| 3 | |
| 4 | namespace A2ABot; |
| 5 | |
| 6 | // Per-turn user identity captured by the Teams handler and threaded into the |
| 7 | // agent so the handoff tool can read it via AsyncLocal. |
| 8 | internal sealed record TurnIdentity(string AadObjectId, string UserName, string TenantId, string ServiceUrl); |