Skip to content

Commit 8d52d70

Browse files
committed
fix: adds change credential method to client
1 parent 28b19ff commit 8d52d70

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

src/main/java/com/cryptomarket/sdk/rest/CryptomarketRestClient.java

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,14 @@
4848
*/
4949
public interface CryptomarketRestClient extends Closeable {
5050

51+
/**
52+
* Changes the user credentials used for authentication in calls
53+
*
54+
* @param apiKey the user public key used in new calls
55+
* @param apiSecret the user secret key used in new calls
56+
*/
57+
public void changeCredentials(String apiKey, String apiSecret);
58+
5159
/// PUBLIC CALLS///
5260

5361
/**

0 commit comments

Comments
 (0)