Amber Web Authorization Framework C++ API Example
This example shows how to use the RedirectListener and Amber::Web::Authorization::OAuth2 helper types to request an access token from Google, and then perform an authorized request for some user information.
Note that a valid clientId
and clientSecret
must be provided in order for the example to work properly. These have been deliberately omitted from the code listing in order to allow developers to use their own clientId
and clientSecret
.
Files: