# Functions
DefaultHost retrieves an authenticated host and the source of host.
IsEnterprise determines if a provided host is a GitHub Enterprise Server instance, rather than GitHub.com or a tenancy GitHub instance.
IsTenancy determines if a provided host is a tenancy GitHub instance, rather than GitHub.com or a GitHub Enterprise Server instance.
KnownHosts retrieves a list of hosts that have corresponding authentication tokens, either from environment variables or from the configuration file.
NormalizeHostname ensures the host matches the values used throughout the rest of the codebase with respect to hostnames.
TokenForHost retrieves an authentication token and the source of that token for the specified host.
TokenFromEnvOrConfig retrieves an authentication token from environment variables or the config file as fallback, but does not support reading the token from system keyring.