Skip to content

Commit 5eb9f7a

Browse files
committed
Update Supabase.swift
1 parent 30dd67d commit 5eb9f7a

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

Sources/Supabase/Supabase.swift

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,8 @@ import SupabaseStorage
1414
3. `realtime`
1515
4. `storage`
1616
Each class listed is available under `Supabase.{name}`, eg: `Supabase.auth`
17+
18+
For more usage information read the README.md
1719
*/
1820
public class Supabase {
1921
private var supabaseUrl: String
@@ -24,6 +26,7 @@ public class Supabase {
2426
private var authUrl: String
2527
private var storageUrl: String
2628

29+
/// Auth client for Supabase
2730
public var auth: GoTrueClient
2831

2932
/// Storage client for Supabase.
@@ -42,14 +45,15 @@ public class Supabase {
4245
return PostgrestClient(url: restUrl, headers: headers, schema: schema)
4346
}
4447

48+
/// Realtime client for Supabase
4549
private var realtime: RealtimeClient
4650

4751
/// Init `Supabase` with the provided parameters.
4852
/// - Parameters:
4953
/// - supabaseUrl: Unique Supabase project url
5054
/// - supabaseKey: Supabase anonymous API Key
5155
/// - schema: Database schema name, defaults to `public`
52-
/// - autoRefreshToken: Toggles whether `Supabase.auth` automatically refreshes the auth token. Defaults to `true`
56+
/// - autoRefreshToken: Toggles whether `Supabase.auth` automatically refreshes auth tokens. Defaults to `true`
5357
public init(
5458
supabaseUrl: String,
5559
supabaseKey: String,

0 commit comments

Comments
 (0)