// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.
using Microsoft.Agents.Builder;
using Microsoft.Agents.Extensions.Teams.Connector;
using Microsoft.Agents.Extensions.Teams.Models;
namespace {{YOUR_NAMESPACE}}.SSO
{
///
/// Helper class used to wrap static method and simplify unit test.
///
internal class TeamsInfoWrapper : ITeamsInfo
{
public Task GetTeamsMemberAsync(ITurnContext context, string userId, CancellationToken cancellationToken = default)
{
return TeamsInfo.GetMemberAsync(context, userId, cancellationToken);
}
}
}