diff --git a/svchost/auth/credentials.go b/svchost/auth/credentials.go index 9eafdd93e..0bc6db4f1 100644 --- a/svchost/auth/credentials.go +++ b/svchost/auth/credentials.go @@ -16,6 +16,10 @@ import ( // there is no good reason to do so. type Credentials []CredentialsSource +// NoCredentials is an empty CredentialsSource that always returns nil +// when asked for credentials. +var NoCredentials CredentialsSource = Credentials{} + // A CredentialsSource is an object that may be able to provide credentials // for a given host. //