この文章は Salesforce 機械翻訳システムを使用して翻訳されました。詳細はこちらをご参照ください。
英語に切り替える

Newer Version Available

This content describes an older version of this product. View Latest

OAuth2TokenExchangeType 列挙

OAuth 2.0 トークン交換フローで使用し、Salesforce トークンと交換するトークンの種別を指定します。

使用方法

トークン交換フローでは、外部 ID プロバイダーからトークンを含む POST 要求を送信して、アプリケーションから Salesforce にトークンを要求します。この要求には、トークンの種別の指定する subject_token_type パラメーターが含まれています。この列挙で指定する値は、要求するトークンの subject_token_type に対応している必要があります。

列挙値

次に、Auth.OAuth2TokenExchangeType 列挙の値を示します。

説明
ACCESS_TOKEN ID プロバイダーからのアクセストークン。対応する subject_token_type は、urn:ietf:params:oauth:token-type:access_token です。
ID_TOKEN ID プロバイダーからの ID トークン。対応する subject_token_type は、urn:ietf:params:oauth:token-type:id_token です。
JWT JSON Web トークン (JWT) として形式設定された ID プロバイダーからのトークン。対応する subject_token_type は、urn:ietf:params:oauth:token-type:JWT です。
REFRESH_TOKEN ID プロバイダーからの更新トークン。対応する subject_token_type は、urn:ietf:params:oauth:token-type:refresh_token です。
SAML_2 ID プロバイダーからの SAML 2.0 アサーション。対応する subject_token_type は、urn:ietf:params:oauth:token-type:saml2 です。