Skip to content

Commit c8bd419

Browse files
committed
fix(swift): Self.keychainService → keychainService (instance member after static→instance change)
1 parent c97ee9e commit c8bd419

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

swift/Sources/Authon/SessionManager.swift

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -66,8 +66,8 @@ final class SessionManager {
6666
// Delete any existing item first
6767
let deleteQuery: [String: Any] = [
6868
kSecClass as String: kSecClassGenericPassword,
69-
kSecAttrService as String: Self.keychainService,
70-
kSecAttrAccount as String: Self.keychainAccount
69+
kSecAttrService as String: keychainService,
70+
kSecAttrAccount as String: keychainAccount
7171
]
7272
SecItemDelete(deleteQuery as CFDictionary)
7373

@@ -85,8 +85,8 @@ final class SessionManager {
8585
func clearKeychain() {
8686
let query: [String: Any] = [
8787
kSecClass as String: kSecClassGenericPassword,
88-
kSecAttrService as String: Self.keychainService,
89-
kSecAttrAccount as String: Self.keychainAccount
88+
kSecAttrService as String: keychainService,
89+
kSecAttrAccount as String: keychainAccount
9090
]
9191
SecItemDelete(query as CFDictionary)
9292
}

0 commit comments

Comments
 (0)