Welcome to the Bot Framework SDK for .NET repository, which is the home for the libraries and packages that enable developers to build sophisticated bot applications using .NET.
if (string.IsNullOrWhiteSpace(connectionName) || !(turnContext.Adapter is IExtendedUserTokenProvider tokenExchangeProvider))
{
// The adapter may choose not to support token exchange, in which case we fallback to showing an oauth card to the user.
return false;
}
CloudAdapter doesn't support IExtendedUserTokenProvider. It uses UserTokenClient from TurnContext.TurnState. See UserTokenAccess for an example on how to support both.
CloudAdapter doesn't support IExtendedUserTokenProvider. It uses UserTokenClient from TurnContext.TurnState. See UserTokenAccess for an example on how to support both.