File tree Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -14,6 +14,8 @@ import SupabaseStorage
14
14
3. `realtime`
15
15
4. `storage`
16
16
Each class listed is available under `Supabase.{name}`, eg: `Supabase.auth`
17
+
18
+ For more usage information read the README.md
17
19
*/
18
20
public class Supabase {
19
21
private var supabaseUrl : String
@@ -24,6 +26,7 @@ public class Supabase {
24
26
private var authUrl : String
25
27
private var storageUrl : String
26
28
29
+ /// Auth client for Supabase
27
30
public var auth : GoTrueClient
28
31
29
32
/// Storage client for Supabase.
@@ -42,14 +45,15 @@ public class Supabase {
42
45
return PostgrestClient ( url: restUrl, headers: headers, schema: schema)
43
46
}
44
47
48
+ /// Realtime client for Supabase
45
49
private var realtime : RealtimeClient
46
50
47
51
/// Init `Supabase` with the provided parameters.
48
52
/// - Parameters:
49
53
/// - supabaseUrl: Unique Supabase project url
50
54
/// - supabaseKey: Supabase anonymous API Key
51
55
/// - 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`
53
57
public init (
54
58
supabaseUrl: String ,
55
59
supabaseKey: String ,
You can’t perform that action at this time.
0 commit comments