Skip to content

Commit 09e2804

Browse files
author
Fernando Fernandes
committed
Make KucoinAuth public
1 parent 1b01f95 commit 09e2804

File tree

1 file changed

+13
-2
lines changed

1 file changed

+13
-2
lines changed
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
//
2-
// KucoinAuthentication.swift
3-
//
2+
// KucoinAuth.swift
3+
//
44
//
55
// Created by Fernando Fernandes on 29.01.22.
66
//
@@ -9,7 +9,18 @@ import Foundation
99

1010
/// Holds data required to authenticate the requests against Kucoin APIs.
1111
public struct KucoinAuth {
12+
13+
// MARK: - Properties
14+
1215
public let apiKey: String
1316
public let apiSecret: String
1417
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+
}
1526
}

0 commit comments

Comments
 (0)