We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1b01f95 commit 09e2804Copy full SHA for 09e2804
Sources/SwiftTrader/Model/Kucoin/KucoinAuthentication.swift renamed to Sources/SwiftTrader/Model/Kucoin/KucoinAuth.swift
@@ -1,6 +1,6 @@
1
//
2
-// KucoinAuthentication.swift
3
-//
+// KucoinAuth.swift
+//
4
5
// Created by Fernando Fernandes on 29.01.22.
6
@@ -9,7 +9,18 @@ import Foundation
9
10
/// Holds data required to authenticate the requests against Kucoin APIs.
11
public struct KucoinAuth {
12
+
13
+ // MARK: - Properties
14
15
public let apiKey: String
16
public let apiSecret: String
17
public let apiPassphrase: String
18
19
+ // MARK: - Lifecycle
20
21
+ public init(apiKey: String, apiSecret: String, apiPassphrase: String) {
22
+ self.apiKey = apiKey
23
+ self.apiSecret = apiSecret
24
+ self.apiPassphrase = apiPassphrase
25
+ }
26
}
0 commit comments