'Iterate over authorizations for the authenticated user. This will
return a 404 if you are using a token for authentication.
:param int number: (optional), number of authorizations to return.
Default: -1 returns all available authorizations
:param str etag: (optional), ETag from a previous request to the same
endpoint
:returns: generator of :class:`Authorization <Authorization>`\ s'

@requires_basic_auth
def authorizations(self, number=(-1), etag=None):

    url = self._build_url(u'authorizations')
    return self._iter(int(number), url, Authorization, etag=etag)
