Add variables for scope and clientid for use in access rules and macros
Summary
An OAuth2 protected application might want to:
- Filter according to granted scope
- Export client ID in an http header
Design proposition
Add variables such as _clientID or _scope before evaluating rules in OAuth2 handler
Might also be useful in the portal for some features (#1987 (closed), #2424 (closed)...)