Amber Web Authorization Framework QML API Example
This example shows how to use the OAuth2AcPkce and OAuth10a helper types to request access tokens from Google and Twitter respectively, and then perform authorized request for some user information.
Note that a valid Google clientId
and clientSecret
, and a valid Twitter consumerKey
and consumerSecret
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 Google clientId
and clientSecret
and Twitter consumerKey
and consumerSecret
.
Files: