| Package | Description |
|---|---|
| com.google.cloud.tools.jib.http | |
| com.google.cloud.tools.jib.registry |
| Modifier and Type | Method and Description |
|---|---|
static Authorization |
Authorization.fromBasicCredentials(String username,
String secret) |
static Authorization |
Authorization.fromBasicToken(String token) |
static Authorization |
Authorization.fromBearerToken(String token) |
| Modifier and Type | Method and Description |
|---|---|
Request.Builder |
Request.Builder.setAuthorization(Authorization authorization)
Sets the
Authorization header. |
| Modifier and Type | Method and Description |
|---|---|
Authorization |
RegistryAuthenticator.authenticatePull(Credential credential)
Authenticates permissions to pull.
|
Authorization |
RegistryAuthenticator.authenticatePush(Credential credential)
Authenticates permission to pull and push.
|
| Modifier and Type | Method and Description |
|---|---|
RegistryClient.Factory |
RegistryClient.Factory.setAuthorization(Authorization authorization)
Sets the authentication credentials to use to authenticate with the registry.
|
Copyright © 2019. All rights reserved.