rsapi/auth.go
func (t *tokenAuthenticator) CanAuthenticate(host string) error {
	client := httpclient.New()
	return testAuth(t, client, host, false)
}
func (t *tokenAuthenticator) CanAuthenticate(host string) error {
	client := httpclient.New()
	return testAuth(t, client, host, false)
}
// CanAuthenticate makes a test request to CM 1.5 and returns nil if it is successful.