When is a license required to bid or perform work totally financed by the federal government?

When is a license required to bid or perform work totally financed by the federal government?