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 11package org .cryptomator .integrations .keychain ;
22
33import org .cryptomator .integrations .common .IntegrationsLoader ;
4+ import org .cryptomator .integrations .common .NamedServiceProvider ;
45import org .jetbrains .annotations .ApiStatus ;
56import org .jetbrains .annotations .Blocking ;
67import org .jetbrains .annotations .Nls ;
1112/**
1213 * This is the interface used by Cryptomator to store passwords securely in external keychains, such as system keychains or password managers.
1314 */
14- public interface KeychainAccessProvider {
15+ public interface KeychainAccessProvider extends NamedServiceProvider {
1516
1617 /**
1718 * Loads all available KeychainAccessProvider.
@@ -23,14 +24,6 @@ static Stream<KeychainAccessProvider> get() {
2324 return IntegrationsLoader .loadAll (KeychainAccessProvider .class ).filter (KeychainAccessProvider ::isSupported );
2425 }
2526
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-
3427 /**
3528 * Associates a passphrase with a given key and a name for that key.
3629 * <p>
You can’t perform that action at this time.
0 commit comments