A person may not bring an action or recover on an action for compensation for providing real estate brokerage services in a court of the State unless the person was authorized to provide real estate brokerage services under this title at the time of offering to provide and providing real estate brokerage services.