Authorization API

The OAuth server provides the following API to authorize a request: