File tree Expand file tree Collapse file tree 2 files changed +13
-9
lines changed Expand file tree Collapse file tree 2 files changed +13
-9
lines changed Original file line number Diff line number Diff line change 5
5
// Created by Guilherme Souza on 14/12/23.
6
6
//
7
7
8
+ import _Helpers
8
9
import Foundation
9
10
11
+ #if canImport(FoundationNetworking)
12
+ import FoundationNetworking
13
+ #endif
14
+
10
15
@available ( * , deprecated, renamed: " AuthClient " )
11
16
public typealias GoTrueClient = AuthClient
12
17
Original file line number Diff line number Diff line change @@ -7,14 +7,13 @@ public protocol AuthLocalStorage: Sendable {
7
7
}
8
8
9
9
extension AuthClient . Configuration {
10
- public static let defaultLocalStorage : AuthLocalStorage = {
11
- #if os(iOS) || os(macOS) || os(watchOS) || os(tvOS)
12
- KeychainLocalStorage (
13
- service : " supabase.gotrue.swift " ,
14
- accessGroup : nil
15
- )
16
- #elseif os(Windows)
10
+ #if os(iOS) || os(macOS) || os(watchOS) || os(tvOS)
11
+ public static let defaultLocalStorage : AuthLocalStorage = KeychainLocalStorage (
12
+ service : " supabase.gotrue.swift " ,
13
+ accessGroup : nil
14
+ )
15
+ #elseif os(Windows )
16
+ public static let defaultLocalStorage : AuthLocalStorage =
17
17
WinCredLocalStorage ( service: " supabase.gotrue.swift " )
18
- #endif
19
- } ( )
18
+ #endif
20
19
}
You can’t perform that action at this time.
0 commit comments