Class MultiRegistryAuthSupplier

java.lang.Object
com.spotify.docker.client.auth.MultiRegistryAuthSupplier
All Implemented Interfaces:
RegistryAuthSupplier

public class MultiRegistryAuthSupplier extends Object implements RegistryAuthSupplier
A RegistryAuthSupplier that combines authentication info from multiple RegistryAuthSupplier instances.

The order of the suppliers matters: RegistryAuthSuppliers earlier in the list are checked first to see if they can handle authentication for the given operation before trying later RegistryAuthSuppliers in the list (a RegistryAuthSupplier signals that it can't handle the operation by returning null).