'List the available roles.
:rtype: ``list`` of :class:`.OpenStackIdentityRole`'

def list_roles(self):

    response = self.authenticated_request('/v3/roles', method='GET')
    result = self._to_roles(data=response.object['roles'])
    return result
