File tree Expand file tree Collapse file tree 2 files changed +9
-9
lines changed Expand file tree Collapse file tree 2 files changed +9
-9
lines changed Original file line number Diff line number Diff line change 6
6
//
7
7
8
8
import Foundation
9
+ import _Helpers
9
10
10
11
@available ( * , deprecated, renamed: " AuthClient " )
11
12
public typealias GoTrueClient = AuthClient
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