public static Task <TokenResponse> GetUserTokenAsync(this ConnectorClient connectorClient, IActivity activity, string connectionName, string magicCode)
        {
            var userId = activity.From.Id;
            var client = new OAuthApiClient(new MicrosoftAppCredentials());

            return(client.GetUserTokenAsync(userId, connectionName, magicCode));
        }