File tree 4 files changed +10
-2
lines changed
4 files changed +10
-2
lines changed Original file line number Diff line number Diff line change @@ -22,7 +22,8 @@ def __init__(
22
22
persist_session : bool = True ,
23
23
storage : AsyncSupportedStorage = AsyncMemoryStorage (),
24
24
http_client : Optional [AsyncClient ] = None ,
25
- flow_type : AuthFlowType = "implicit"
25
+ flow_type : AuthFlowType = "implicit" ,
26
+ verify : bool = True ,
26
27
):
27
28
"""Instantiate SupabaseAuthClient instance."""
28
29
if headers is None :
@@ -38,4 +39,5 @@ def __init__(
38
39
storage = storage ,
39
40
http_client = http_client ,
40
41
flow_type = flow_type ,
42
+ verify = verify ,
41
43
)
Original file line number Diff line number Diff line change @@ -237,6 +237,7 @@ def _init_storage_client(
237
237
def _init_supabase_auth_client (
238
238
auth_url : str ,
239
239
client_options : ClientOptions ,
240
+ verify : bool = True ,
240
241
) -> AsyncSupabaseAuthClient :
241
242
"""Creates a wrapped instance of the GoTrue Client."""
242
243
return AsyncSupabaseAuthClient (
@@ -246,6 +247,7 @@ def _init_supabase_auth_client(
246
247
storage = client_options .storage ,
247
248
headers = client_options .headers ,
248
249
flow_type = client_options .flow_type ,
250
+ verify = verify ,
249
251
)
250
252
251
253
@staticmethod
Original file line number Diff line number Diff line change @@ -22,7 +22,8 @@ def __init__(
22
22
persist_session : bool = True ,
23
23
storage : SyncSupportedStorage = SyncMemoryStorage (),
24
24
http_client : Optional [SyncClient ] = None ,
25
- flow_type : AuthFlowType = "implicit"
25
+ flow_type : AuthFlowType = "implicit" ,
26
+ verify : bool = True ,
26
27
):
27
28
"""Instantiate SupabaseAuthClient instance."""
28
29
if headers is None :
@@ -38,4 +39,5 @@ def __init__(
38
39
storage = storage ,
39
40
http_client = http_client ,
40
41
flow_type = flow_type ,
42
+ verify = verify ,
41
43
)
Original file line number Diff line number Diff line change @@ -237,6 +237,7 @@ def _init_storage_client(
237
237
def _init_supabase_auth_client (
238
238
auth_url : str ,
239
239
client_options : ClientOptions ,
240
+ verify : bool = True ,
240
241
) -> SyncSupabaseAuthClient :
241
242
"""Creates a wrapped instance of the GoTrue Client."""
242
243
return SyncSupabaseAuthClient (
@@ -246,6 +247,7 @@ def _init_supabase_auth_client(
246
247
storage = client_options .storage ,
247
248
headers = client_options .headers ,
248
249
flow_type = client_options .flow_type ,
250
+ verify = verify ,
249
251
)
250
252
251
253
@staticmethod
You can’t perform that action at this time.
0 commit comments