• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

supabase / supabase-swift / 27268863635

10 Jun 2026 10:06AM UTC coverage: 81.389% (+0.2%) from 81.163%
27268863635

Pull #1009

github

web-flow
Merge 38470faff into a4e684d97
Pull Request #1009: fix(auth): recognize ?error= query param in implicit grant redirect URLs

3 of 3 new or added lines in 1 file covered. (100.0%)

6 existing lines in 2 files now uncovered.

7220 of 8871 relevant lines covered (81.39%)

31.09 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

41.67
/Sources/Auth/Storage/KeychainLocalStorage.swift
1
#if !os(Windows) && !os(Linux) && !os(Android)
2
  import Foundation
3

4
  /// ``AuthLocalStorage`` implementation using Keychain. This is the default local storage used by the library.
5
  public struct KeychainLocalStorage: AuthLocalStorage {
6
    private let keychain: Keychain
7

8
    public init(service: String? = "supabase.gotrue.swift", accessGroup: String? = nil) {
1✔
9
      keychain = Keychain(service: service, accessGroup: accessGroup)
1✔
10
    }
1✔
11

12
    public func store(key: String, value: Data) throws {
×
13
      try keychain.set(value, forKey: key)
×
14
    }
×
15

16
    public func retrieve(key: String) throws -> Data? {
4✔
17
      try keychain.data(forKey: key)
4✔
UNCOV
18
    }
×
19

20
    public func remove(key: String) throws {
×
21
      try keychain.deleteItem(forKey: key)
×
22
    }
×
23
  }
24
#endif
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc