# Functions
GetAuthentication returns the registry credentials stored in either auth.json file or .docker/config.json If an entry is not found empty strings are returned for the username and password.
GetUserLoggedIn returns the username logged in to registry from either auth.json or XDG_RUNTIME_DIR Used to tell the user if someone is logged in to the registry when logging in.
RemoveAllAuthentication deletes all the credentials stored in auth.json.
RemoveAuthentication deletes the credentials stored in auth.json.
SetAuthentication stores the username and password in the auth.json file.
# Variables
ErrNotLoggedIn is returned for users not logged into a registry that they are trying to logout of.