File tree Expand file tree Collapse file tree 1 file changed +2
-9
lines changed
src/main/java/org/cryptomator/integrations/keychain Expand file tree Collapse file tree 1 file changed +2
-9
lines changed Original file line number Diff line number Diff line change 1
1
package org .cryptomator .integrations .keychain ;
2
2
3
3
import org .cryptomator .integrations .common .IntegrationsLoader ;
4
+ import org .cryptomator .integrations .common .NamedServiceProvider ;
4
5
import org .jetbrains .annotations .ApiStatus ;
5
6
import org .jetbrains .annotations .Blocking ;
6
7
import org .jetbrains .annotations .Nls ;
11
12
/**
12
13
* This is the interface used by Cryptomator to store passwords securely in external keychains, such as system keychains or password managers.
13
14
*/
14
- public interface KeychainAccessProvider {
15
+ public interface KeychainAccessProvider extends NamedServiceProvider {
15
16
16
17
/**
17
18
* Loads all available KeychainAccessProvider.
@@ -23,14 +24,6 @@ static Stream<KeychainAccessProvider> get() {
23
24
return IntegrationsLoader .loadAll (KeychainAccessProvider .class ).filter (KeychainAccessProvider ::isSupported );
24
25
}
25
26
26
- /**
27
- * A name to display in UI elements. If required, this should be localized.
28
- *
29
- * @return user-friendly name (must not be null or empty)
30
- */
31
- @ Nls (capitalization = Nls .Capitalization .Title )
32
- String displayName ();
33
-
34
27
/**
35
28
* Associates a passphrase with a given key and a name for that key.
36
29
* <p>
You can’t perform that action at this time.
0 commit comments