microsoft/teams.net

Public

mirrored fromhttps://github.com/microsoft/teams.netAvailable

CodeCommitsIssuesPull requestsActionsInsightsSecurity
feature/pabot-httpcontext-botid

Branches

Tags

  • No tags available.
0Branches0Tags
Go to file
Add file
Code

Clone

HTTPS

Download ZIP

core/samples/A2ABot/TurnIdentity.cs

8lines · modecode

1// Copyright (c) Microsoft Corporation.
2// Licensed under the MIT License.
3
4namespace 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.
8internal sealed record TurnIdentity(string AadObjectId, string UserName, string TenantId, string ServiceUrl);
9