public class RegistryAuthenticator extends Object
| Modifier and Type | Method and Description |
|---|---|
Authorization |
authenticatePull(Credential credential)
Authenticates permissions to pull.
|
Authorization |
authenticatePush(Credential credential)
Authenticates permission to pull and push.
|
public Authorization authenticatePull(@Nullable Credential credential) throws RegistryAuthenticationFailedException
credential - the credential used to authenticateAuthorization authenticating the pullRegistryAuthenticationFailedException - if authentication failspublic Authorization authenticatePush(@Nullable Credential credential) throws RegistryAuthenticationFailedException
credential - the credential used to authenticateAuthorization authenticating the pushRegistryAuthenticationFailedException - if authentication failsCopyright © 2019. All rights reserved.