A holder of obligations or coupons attached to them issued under the provisions of this chapter, and a trustee under a trust agreement or resolution authorizing the issuance of the obligations, except as restricted by a trust agreement or resolution, either at law or in equity, may enforce all rights granted hereunder or under the trust agreement or resolution, or under another contract executed by the authority under this chapter, and may enforce and compel the performance of all duties required by this chapter or by the trust agreement or resolution to be performed by the authority or by an officer of it.