Skip to content

Commit 1c9894c

Browse files
committed
Comment out social auth example and remove marketplace tests
Commented out the InAppWallet social auth example in Program.cs for clarity or to disable execution. Removed the Thirdweb.MarketplaceExtensions.Tests.cs file, eliminating all related marketplace extension tests.
1 parent 7ae8427 commit 1c9894c

File tree

2 files changed

+21
-397
lines changed

2 files changed

+21
-397
lines changed

Thirdweb.Console/Program.cs

Lines changed: 21 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -34,27 +34,27 @@
3434

3535
#endregion
3636

37-
#region User Wallets
38-
39-
var inAppWalletOAuth = await InAppWallet.Create(client: client, authProvider: AuthProvider.Google);
40-
if (!await inAppWalletOAuth.IsConnected())
41-
{
42-
_ = await inAppWalletOAuth.LoginWithOauth(
43-
isMobile: false,
44-
(url) =>
45-
{
46-
var psi = new ProcessStartInfo { FileName = url, UseShellExecute = true };
47-
_ = Process.Start(psi);
48-
},
49-
"thirdweb://",
50-
new InAppWalletBrowser()
51-
);
52-
}
53-
var inAppWalletOAuthAddress = await inAppWalletOAuth.GetAddress();
54-
Console.WriteLine($"InAppWallet OAuth address: {inAppWalletOAuthAddress}");
55-
56-
var inAppWalletAuthDetails = inAppWalletOAuth.GetUserAuthDetails();
57-
Console.WriteLine($"InAppWallet OAuth auth details: {JsonConvert.SerializeObject(inAppWalletAuthDetails, Formatting.Indented)}");
37+
#region User Wallets (Social Auth Example)
38+
39+
// var inAppWalletOAuth = await InAppWallet.Create(client: client, authProvider: AuthProvider.Google);
40+
// if (!await inAppWalletOAuth.IsConnected())
41+
// {
42+
// _ = await inAppWalletOAuth.LoginWithOauth(
43+
// isMobile: false,
44+
// (url) =>
45+
// {
46+
// var psi = new ProcessStartInfo { FileName = url, UseShellExecute = true };
47+
// _ = Process.Start(psi);
48+
// },
49+
// "thirdweb://",
50+
// new InAppWalletBrowser()
51+
// );
52+
// }
53+
// var inAppWalletOAuthAddress = await inAppWalletOAuth.GetAddress();
54+
// Console.WriteLine($"InAppWallet OAuth address: {inAppWalletOAuthAddress}");
55+
56+
// var inAppWalletAuthDetails = inAppWalletOAuth.GetUserAuthDetails();
57+
// Console.WriteLine($"InAppWallet OAuth auth details: {JsonConvert.SerializeObject(inAppWalletAuthDetails, Formatting.Indented)}");
5858

5959
#endregion
6060

0 commit comments

Comments
 (0)