File tree Expand file tree Collapse file tree 4 files changed +10
-2
lines changed Expand file tree Collapse file tree 4 files changed +10
-2
lines changed Original file line number Diff line number Diff line change @@ -22,7 +22,8 @@ def __init__(
2222 persist_session : bool = True ,
2323 storage : AsyncSupportedStorage = AsyncMemoryStorage (),
2424 http_client : Optional [AsyncClient ] = None ,
25- flow_type : AuthFlowType = "implicit"
25+ flow_type : AuthFlowType = "implicit" ,
26+ verify : bool = True ,
2627 ):
2728 """Instantiate SupabaseAuthClient instance."""
2829 if headers is None :
@@ -38,4 +39,5 @@ def __init__(
3839 storage = storage ,
3940 http_client = http_client ,
4041 flow_type = flow_type ,
42+ verify = verify ,
4143 )
Original file line number Diff line number Diff line change @@ -237,6 +237,7 @@ def _init_storage_client(
237237 def _init_supabase_auth_client (
238238 auth_url : str ,
239239 client_options : ClientOptions ,
240+ verify : bool = True ,
240241 ) -> AsyncSupabaseAuthClient :
241242 """Creates a wrapped instance of the GoTrue Client."""
242243 return AsyncSupabaseAuthClient (
@@ -246,6 +247,7 @@ def _init_supabase_auth_client(
246247 storage = client_options .storage ,
247248 headers = client_options .headers ,
248249 flow_type = client_options .flow_type ,
250+ verify = verify ,
249251 )
250252
251253 @staticmethod
Original file line number Diff line number Diff line change @@ -22,7 +22,8 @@ def __init__(
2222 persist_session : bool = True ,
2323 storage : SyncSupportedStorage = SyncMemoryStorage (),
2424 http_client : Optional [SyncClient ] = None ,
25- flow_type : AuthFlowType = "implicit"
25+ flow_type : AuthFlowType = "implicit" ,
26+ verify : bool = True ,
2627 ):
2728 """Instantiate SupabaseAuthClient instance."""
2829 if headers is None :
@@ -38,4 +39,5 @@ def __init__(
3839 storage = storage ,
3940 http_client = http_client ,
4041 flow_type = flow_type ,
42+ verify = verify ,
4143 )
Original file line number Diff line number Diff line change @@ -237,6 +237,7 @@ def _init_storage_client(
237237 def _init_supabase_auth_client (
238238 auth_url : str ,
239239 client_options : ClientOptions ,
240+ verify : bool = True ,
240241 ) -> SyncSupabaseAuthClient :
241242 """Creates a wrapped instance of the GoTrue Client."""
242243 return SyncSupabaseAuthClient (
@@ -246,6 +247,7 @@ def _init_supabase_auth_client(
246247 storage = client_options .storage ,
247248 headers = client_options .headers ,
248249 flow_type = client_options .flow_type ,
250+ verify = verify ,
249251 )
250252
251253 @staticmethod
You can’t perform that action at this time.
0 commit comments