123456789101112131415161718192021222324252627 |
- using Supabase;
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Text;
- using System.Threading.Tasks;
- namespace UnitTestTripHelper.SupabaseConnect
- {
- public static class Connect
- {
- public static async Task<Client> Domain()
- {
- string url = "https://obwzsxsrvwiaclwfymzf.supabase.co";
- string key = "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJzdXBhYmFzZSIsInJlZiI6Im9id3pzeHNydndpYWNsd2Z5bXpmIiwicm9sZSI6ImFub24iLCJpYXQiOjE3Mjc4OTUwNTMsImV4cCI6MjA0MzQ3MTA1M30.M0hBhdqpRT2Mxw9B_1WNuQvv3myhUeRH7YjagV24fOw";
- SupabaseOptions options = new SupabaseOptions
- {
- AutoConnectRealtime = true
- };
- Client supabase = new Client(url, key, options);
- await supabase.InitializeAsync();
- return supabase;
- }
- }
- }
|