Table of Contents

Class StatelessClient

Namespace
Supabase
Assembly
Supabase.dll

A Static class representing a Supabase Client.

public static class StatelessClient
Inheritance
StatelessClient
Inherited Members

Methods

From<T>(string, string, SupabaseOptions?)

Gets the Postgrest client to prepare for a query.

public static SupabaseTable<T> From<T>(string supabaseUrl, string supabaseKey, SupabaseOptions? options = null) where T : BaseModel, new()

Parameters

supabaseUrl string
supabaseKey string
options SupabaseOptions

Returns

SupabaseTable<T>

Type Parameters

T

Functions(string, string, SupabaseOptions?)

Supabase Edge functions allow you to deploy and invoke edge functions.

public static IFunctionsClient Functions(string supabaseUrl, string supabaseKey, SupabaseOptions? options = null)

Parameters

supabaseUrl string
supabaseKey string
options SupabaseOptions

Returns

IFunctionsClient

GetAuthOptions(string, string?, SupabaseOptions?)

Returns an instance of ClientOptions given a provided url and key.

public static ClientOptions GetAuthOptions(string supabaseUrl, string? supabaseKey = null, SupabaseOptions? options = null)

Parameters

supabaseUrl string
supabaseKey string
options SupabaseOptions

Returns

ClientOptions

GetRestOptions(string?, SupabaseOptions?)

Returns an instance of ClientOptions for a given supabase key.

public static ClientOptions GetRestOptions(string? supabaseKey = null, SupabaseOptions? options = null)

Parameters

supabaseKey string
options SupabaseOptions

Returns

ClientOptions

Rpc(string, string, string, Dictionary<string, object>, SupabaseOptions?)

Runs a remote procedure.

public static Task<BaseResponse> Rpc(string supabaseUrl, string supabaseKey, string procedureName, Dictionary<string, object> parameters, SupabaseOptions? options = null)

Parameters

supabaseUrl string
supabaseKey string
procedureName string
parameters Dictionary<string, object>
options SupabaseOptions

Returns

Task<BaseResponse>

Storage(string, string?, SupabaseOptions?)

Supabase Storage allows you to manage user-generated content, such as photos or videos.

public static IStorageClient<Bucket, FileObject> Storage(string supabaseUrl, string? supabaseKey = null, SupabaseOptions? options = null)

Parameters

supabaseUrl string
supabaseKey string
options SupabaseOptions

Returns

IStorageClient<Bucket, FileObject>