File tree Expand file tree Collapse file tree 1 file changed +10
-5
lines changed Expand file tree Collapse file tree 1 file changed +10
-5
lines changed Original file line number Diff line number Diff line change @@ -119,17 +119,22 @@ export default class SupabaseClient {
119
119
return this . realtime . channels
120
120
}
121
121
122
- private _initSupabaseAuthClient ( settings : SupabaseClientOptions ) {
122
+ private _initSupabaseAuthClient ( {
123
+ autoRefreshToken,
124
+ persistSession,
125
+ detectSessionInUrl,
126
+ localStorage,
127
+ } : SupabaseClientOptions ) {
123
128
return new SupabaseAuthClient ( {
124
129
url : this . authUrl ,
125
130
headers : {
126
131
Authorization : `Bearer ${ this . supabaseKey } ` ,
127
132
apikey : `${ this . supabaseKey } ` ,
128
133
} ,
129
- autoRefreshToken : settings . autoRefreshToken ,
130
- persistSession : settings . persistSession ,
131
- detectSessionInUrl : settings . detectSessionInUrl ,
132
- localStorage : settings . localStorage ,
134
+ autoRefreshToken,
135
+ persistSession,
136
+ detectSessionInUrl,
137
+ localStorage,
133
138
} )
134
139
}
135
140
You can’t perform that action at this time.
0 commit comments