public class AuthConfig extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
AuthConfig.AuthConfigBuilder |
| Modifier and Type | Field and Description |
|---|---|
static AuthConfig |
EMPTY_AUTH_CONFIG |
| Constructor and Description |
|---|
AuthConfig(String username,
String password,
String email,
String auth) |
AuthConfig(String username,
String password,
String email,
String auth,
String identityToken) |
| Modifier and Type | Method and Description |
|---|---|
static AuthConfig.AuthConfigBuilder |
builder() |
protected boolean |
canEqual(Object other) |
static String |
decryptPassword(String password,
UnaryOperator<String> decryptor) |
boolean |
equals(Object o) |
static AuthConfig |
fromCredentialsEncoded(String credentialsEncoded,
String email) |
static AuthConfig |
fromMap(Map<String,String> params) |
static AuthConfig |
fromRegistryAuthConfig(RegistryAuthConfig registryAuthConfig,
RegistryAuthConfig.Kind kind,
UnaryOperator<String> decryptor) |
String |
getAuth() |
String |
getAuthEncoded() |
String |
getEmail() |
String |
getIdentityToken() |
String |
getPassword() |
String |
getUsername() |
int |
hashCode() |
String |
toHeaderValue(org.eclipse.jkube.kit.common.KitLogger logger) |
public static final AuthConfig EMPTY_AUTH_CONFIG
public AuthConfig(String username, String password, String email, String auth, String identityToken)
public String toHeaderValue(org.eclipse.jkube.kit.common.KitLogger logger)
public static AuthConfig fromMap(Map<String,String> params)
public static AuthConfig fromCredentialsEncoded(String credentialsEncoded, String email)
public static AuthConfig fromRegistryAuthConfig(RegistryAuthConfig registryAuthConfig, RegistryAuthConfig.Kind kind, UnaryOperator<String> decryptor)
public static String decryptPassword(String password, UnaryOperator<String> decryptor)
public static AuthConfig.AuthConfigBuilder builder()
public String getUsername()
public String getPassword()
public String getEmail()
public String getAuth()
public String getIdentityToken()
public String getAuthEncoded()
protected boolean canEqual(Object other)
Copyright © 2023. All rights reserved.