public class AuthConfig extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
AuthConfig.Builder |
| Modifier and Type | Field and Description |
|---|---|
static AuthConfig |
EMPTY_AUTH_CONFIG |
| Constructor and Description |
|---|
AuthConfig(Map<String,String> params) |
AuthConfig(String credentialsEncoded,
String email)
Constructor which takes an base64 encoded credentials in the form 'user:password'
|
AuthConfig(String username,
String password,
String email,
String auth) |
| Modifier and Type | Method and Description |
|---|---|
static AuthConfig |
fromRegistryAuthConfig(RegistryAuthConfig registryAuthConfig,
RegistryAuthConfig.Kind kind,
Function<String,String> decryptor) |
String |
getAuth() |
String |
getPassword() |
String |
getUsername() |
String |
toHeaderValue() |
public static final AuthConfig EMPTY_AUTH_CONFIG
public String getUsername()
public String getPassword()
public String getAuth()
public String toHeaderValue()
public static AuthConfig fromRegistryAuthConfig(RegistryAuthConfig registryAuthConfig, RegistryAuthConfig.Kind kind, Function<String,String> decryptor)
Copyright © 2020. All rights reserved.