requested_scope and available_scope parameters added