3.7

Refactor API::authorize function to API::isAuthorized