public class AuthCmdImpl extends AbstrAuthCfgDockerCmd<AuthCmd,AuthResponse> implements AuthCmd
AuthCmd.Execexecution| Constructor and Description |
|---|
AuthCmdImpl(AuthCmd.Exec exec,
AuthConfig authConfig) |
| Modifier and Type | Method and Description |
|---|---|
AuthResponse |
exec() |
getAuthConfig, withAuthConfigclose, registryAuth, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetAuthConfig, withAuthConfigpublic AuthCmdImpl(AuthCmd.Exec exec, AuthConfig authConfig)
public AuthResponse exec() throws UnauthorizedException
exec in interface AuthCmdexec in interface SyncDockerCmd<AuthResponse>exec in class AbstrDockerCmd<AuthCmd,AuthResponse>UnauthorizedException - If you're not authorised (e.g. bad password).Copyright © 2017. All Rights Reserved.