Skip to content

Commit

Permalink
Swifts worst problem.. added a public init to the struct
Browse files Browse the repository at this point in the history
  • Loading branch information
radmakr committed Jul 9, 2023
1 parent 46c9dff commit 6771885
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions Sources/Vault/Vault.swift
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,12 @@ public struct KeychainConfiguration {
public let serviceName: String
public let accessGroup: String?
public let accountName: String

public init(serviceName: String, accessGroup: String?, accountName: String) {
self.serviceName = serviceName
self.accessGroup = accessGroup
self.accountName = accountName
}
}

public enum VaultError: Error {
Expand Down

0 comments on commit 6771885

Please sign in to comment.