microsoft/teams.net

Public

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

CodeCommitsIssuesPull requestsActionsInsightsSecurity
docs/update-release-process

Branches

Tags

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

Clone

HTTPS

Download ZIP

core/src/Microsoft.Teams.Apps/OAuth/SignInTokenExchangeValue.cs

30lines · modecode

1// Copyright (c) Microsoft Corporation.
2// Licensed under the MIT License.
3
4using System.Text.Json.Serialization;
5
6namespace Microsoft.Teams.Apps.OAuth;
7
8/// <summary>
9/// Value payload of the signin/tokenExchange invoke activity.
10/// </summary>
11public class SignInTokenExchangeValue
12{
13 /// <summary>
14 /// Unique identifier for this token exchange request, used for deduplication.
15 /// </summary>
16 [JsonPropertyName("id")]
17 public string? Id { get; set; }
18
19 /// <summary>
20 /// The OAuth connection name this exchange targets.
21 /// </summary>
22 [JsonPropertyName("connectionName")]
23 public string? ConnectionName { get; set; }
24
25 /// <summary>
26 /// The token provided by the Teams client for exchange.
27 /// </summary>
28 [JsonPropertyName("token")]
29 public string? Token { get; set; }
30}
31