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

Libraries/Microsoft.Teams.Api/Activities/Invokes/SignIn/TokenExchangeActivity.cs

34lines · modecode

1// Copyright (c) Microsoft Corporation. All rights reserved.
2// Licensed under the MIT License.
3
4using System.Text.Json.Serialization;
5
6using Microsoft.Teams.Common;
7
8namespace Microsoft.Teams.Api.Activities.Invokes;
9
10public partial class Name : StringEnum
11{
12 public partial class SignIn : StringEnum
13 {
14 public static readonly SignIn TokenExchange = new("signin/tokenExchange");
15 public bool IsTokenExchange => TokenExchange.Equals(Value);
16 }
17}
18
19public static partial class SignIn
20{
21 public class TokenExchangeActivity() : SignInActivity(Name.SignIn.TokenExchange)
22 {
23 /// <summary>
24 /// A value that is associated with the activity.
25 /// </summary>
26 [JsonPropertyName("value")]
27 [JsonPropertyOrder(32)]
28 public new required Api.SignIn.ExchangeToken Value
29 {
30 get => (Api.SignIn.ExchangeToken)base.Value!;
31 set => base.Value = value;
32 }
33 }
34}