GoogleAPIToken

Version 1.0.0 (OutSystems 9)
Published on 22 June 2016 by 
Created on 22 June 2016
Details
GoogleAPIToken is a helper to obtain Google API Authentication Tokens to use with Google Cloud Platform REST APIs. It uses Google API service account with the correspondent private key.
Read More
GoogleAPIToken provides a method to generate an authentication bearer token in Google Cloud Platform services, which can then be used to authenticate REST API calls by sending the temporary token in a HTTP Authorization header, as described in the Google OAuth document article https://developers.google.com/identity/protocols/OAuth2ServiceAccount#callinganapi.

Implementation Details
It uses the Bouncy Castle .NET libraries to generate the RSA+SHA256 signature for JWT, from the PEM private key that exists in the service account JSON file, and obtains the authentication token by invoking Google Api Oauth API.

Return
The return value is a bearer authentication token that can be used in REST API calls to the Google Cloud Platform APIs. The bearer authentication token must be used as an HTTP header, per example:

Authorization: Bearer 1/fFBGRNJru1FQd44AzqT3Zg
Reviews (0)
Category
Connectors
Support Options
This component is not supported by OutSystems. You may use the discussion forums to leave suggestions or obtain best-effort support from the community, including from Miguel João who created this component.
Dependencies
GoogleAPIToken has no dependencies.
Requirements
Platform
9.0.0.1
Database
All
Stack
.NET
Component Consumers
No consumers yet.
Weekly Downloads 
Related Components
More from Miguel João