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 269f4c6 commit f2cbee0Copy full SHA for f2cbee0
src/main/java/org/cryptomator/integrations/keychain/KeychainAccessProvider.java
@@ -5,6 +5,16 @@
5
*/
6
public interface KeychainAccessProvider {
7
8
+ /**
9
+ * A name to display in UI elements. If required, this should be localized.
10
+ *
11
+ * @return user-friendly name (must not be null or empty)
12
+ */
13
+ default String displayName() {
14
+ // FIXME remove default method in 1.0.0
15
+ return getClass().getSimpleName();
16
+ }
17
+
18
/**
19
* Associates a passphrase with a given key.
20
*
0 commit comments