[oauth2 cpp] add support to read credentials from file (#7606)
### Motivation
Add support to read credentials from file, make it align with java client.
### Modifications
- Add support to read credentials from file, make it align with java client.
- add a test for it.
Co-authored-by: Nxiaolong.ran <rxl@apache.org>
Showing