public class RegistryAuthenticator extends Object
| Modifier and Type | Method and Description |
|---|---|
Authorization |
authenticatePull()
Authenticates permissions to pull.
|
Authorization |
authenticatePush()
Authenticates permission to pull and push.
|
RegistryAuthenticator |
setAuthorization(Authorization authorization)
Sets an
Authorization header to authenticate with. |
public RegistryAuthenticator setAuthorization(@Nullable Authorization authorization)
Authorization header to authenticate with.public Authorization authenticatePull() throws RegistryAuthenticationFailedException
public Authorization authenticatePush() throws RegistryAuthenticationFailedException
Copyright © 2018. All rights reserved.