Skip to content

Commit

Permalink
fix: add init
Browse files Browse the repository at this point in the history
  • Loading branch information
ieow committed Feb 19, 2024
1 parent 2e52eaf commit 0c075e9
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions Sources/CustomAuth/CustomAuth.swift
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,11 @@ var tsSdkLogType = OSLogType.default
public struct TorusKeyData {
public let torusKey : TorusKey
public var userInfo : [String: Any]

public init(torusKey: TorusKey, userInfo: [String : Any]) {
self.torusKey = torusKey
self.userInfo = userInfo
}
}

/// Provides integration of an iOS app with Torus CustomAuth.
Expand Down

0 comments on commit 0c075e9

Please sign in to comment.