Download the code here – https://github.com/ismaelc/GmailAPI-Windows8-OAuth
This Windows 8 (C#/XAML) code demonstrates:
Getting an access token for the Gmail API using OAuth 2.0
Calling Gmail API (Get messages IDs)
Using the code:
This C#/XAML sample code is a modified version of another LinkedIn OAuth sample code. It’s re-targeted for Windows 8.1 using Microsoft Visual Studio Express 2013 for Windows.
To use this code, you need to set up your Gmail API credentials from the Google Developer Console. Check out these instructions on how to set up your account, and get your Client ID and Client Secret keys – https://github.com/ismaelc/GmailAPI-Windows8-OAuth
You can find more details about the Web flow in the Concur’s developer page here.
- From Concur App Center, click “Connect”
- Creation of new Trover account / or login to existing account.
- Custom page to link Trover and Concur
- Authorization page to allow Trover to access Concur user’s information
- Custom connected page
- Provide user with option to disconnect
This is a sample app that demonstrates how to consume OAuth-protected Mashape APIs in Windows 8/RT. This example uses a Twitter search endpoint in Mashape.
Although this example uses Windows 8/C#, it is based on the same steps indicated in our “Authenticate with OAuth” documentation for REST, PHP, Python, Ruby, Objective-C, andJava/Android.
For these languages, we auto-generate the endpoint’s ready-to-use libraries for your convenience. A huge time-saver!
We’d love to hear from you about Mashape’s OAuth support. You can talk to us throughFacebook or email us at email@example.com