OutSystems Forge 日本語データベース

GoogleAPIToken

※Forge全件データの日本語検索サービスをご利用になりたい場合は、こちらまでお問合せください。

Forge英文サイト

2016-06-22 1.0.0 Miguel João 9.0.1.35 All .NET Connectors
GoogleAPITokenは、Google Cloud Platform REST APIで使用するGoogle API認証トークンを取得するヘルパーです。 Google APIサービスアカウントを特権プライベートキーとともに使用します。
GoogleAPITokenは、Google OAuthドキュメントの記事https:// developersに記載されているように、Google Cloud Platformサービスで認証ベアラートークンを生成する方法を提供します。このトークンは、HTTP Authorizationヘッダーに一時トークンを送信してREST API呼び出しを認証するために使用できます。 .google.com / identity / protocols / OAuth2ServiceAccount#callinganapi。 実装の詳細 Bouncy Castle .NETライブラリを使用して、JWT用のRSA + SHA256署名、サービスアカウントのJSONファイルにあるPEM秘密鍵を生成し、Google Api Oauth APIを呼び出して認証トークンを取得します。 戻る 戻り値は、Google Cloud Platform APIへのREST API呼び出しで使用できるベアラー認証トークンです。 ベアラ認証トークンはHTTPヘッダーとして使用する必要があります(例: 承認:ベアラ1 / fFBGRNJru1FQd44AzqT3Zg

[Overview]
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.
[Detail]
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
戻る