Add an isOAuth Mustache block to set a bearer token
- This change is a prerequisite for the
OAuth 2.0 Authorization Code Flow example.
- The OAuth 2.0 flow itself is not implemented in the generated
code. The application is responsible for obtaining the access token,
for example, using Qt Network Authorization.
The generated code only needs to ensure that the provided access token
is sent in the Authorization header as a Bearer token.
Pick-to: 6.12
Task-number: QTBUG-151026
Change-Id: Ic2dd17723bf793d5ccfdafc3fab224a7d2e085c8
Reviewed-by: Ivan Solovev <ivan.solovev@qt.io>