All Downloads are FREE. Search and download functionalities are using the official Maven repository.

de.gesellix.docker.client.authentication.ManageAuthentication Maven / Gradle / Ivy

The newest version!
package de.gesellix.docker.client.authentication;

import de.gesellix.docker.authentication.AuthConfig;
import de.gesellix.docker.client.EngineResponseContent;
import de.gesellix.docker.remote.api.SystemAuthResponse;

import java.io.File;
import java.util.Map;

public interface ManageAuthentication {

  Map getAllAuthConfigs();

  Map getAllAuthConfigs(File dockerCfgOrNull);

  AuthConfig readDefaultAuthConfig();

  AuthConfig readAuthConfig(String hostnameOrNull, File dockerCfgOrNull);

  AuthConfig resolveAuthConfigForImage(String image);

  String retrieveEncodedAuthTokenForImage(String image);

  String encodeAuthConfig(AuthConfig authConfig);

  String encodeAuthConfigs(Map authConfigs);

  EngineResponseContent auth(de.gesellix.docker.remote.api.AuthConfig authDetails);
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy