Skip to content

Commit 8c779e4

Browse files
committed
Deprecate methods that are superseded by their three-param variants
1 parent bb3696f commit 8c779e4

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/main/java/org/cryptomator/integrations/keychain/KeychainAccessProvider.java

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,9 @@ public interface KeychainAccessProvider {
1818
* @param key Key used to retrieve the passphrase via {@link #loadPassphrase(String)}.
1919
* @param passphrase The secret to store in this keychain.
2020
* @throws KeychainAccessException If storing the password failed
21+
* @deprecated Please use {@link #storePassphrase(String, String, CharSequence)} instead
2122
*/
23+
@Deprecated
2224
void storePassphrase(String key, CharSequence passphrase) throws KeychainAccessException;
2325

2426
/**
@@ -56,7 +58,9 @@ default void storePassphrase(String key, String displayName, CharSequence passph
5658
* @param key Unique key previously used while {@link #storePassphrase(String, CharSequence) storing a passphrase}.
5759
* @param passphrase The secret to be updated in this keychain.
5860
* @throws KeychainAccessException If changing the password failed
61+
* @deprecated Please use {@link #changePassphrase(String, String, CharSequence)} instead
5962
*/
63+
@Deprecated
6064
void changePassphrase(String key, CharSequence passphrase) throws KeychainAccessException;
6165

6266
/**

0 commit comments

Comments
 (0)