ExtlClntAppOauthSettings
親種別
ファイルのサフィックスおよびディレクトリの場所
ExtlClntAppOauthSettings コンポーネントは .ecaOauth のサフィックスを持ち、extlClntAppOauthSettings フォルダーに保存されます。
バージョン
ExtlClntAppOauthSettings コンポーネントは、API バージョン 59.0 以降で利用できます。
特別なアクセスルール
OAuth プラグインへアクセスするには、組織の [設定] で「Allow Access to OAuth Consumer Secrets via Metadata API (Metadata API を介して OAuth のコンシューマーの秘密へのアクセスを許可)」権限が有効になっている必要があります。開発者ロールを持つユーザーが OAuth 設定を指定するには、「メタデータの外部クライアントアプリケーションのコンシューマーの秘密を表示」ユーザー権限が必要です。
項目
| 項目名 | 説明 |
|---|---|
| commaSeparatedOauthScopes |
|
| customAttributes |
|
| externalClientApplication |
|
| label |
|
| oauthLink |
|
| singleLogoutUrl |
|
| trustedIpRanges |
|
ExtlClntAppOauthSettingsAttribute
外部クライアントアプリケーションに追加情報を含めるために使用する開発者定義の属性を表します。開発者はこの属性を使用することで、特定の使用事例向けにアプリケーションをカスタマイズできます。
| 項目名 | 説明 |
|---|---|
| formula |
|
| key |
|
ExtlClntAppOauthIpRange
外部クライアントアプリケーションで信頼された IP アドレスの範囲を表します。
| 項目名 | 説明 |
|---|---|
| description |
|
| endIpAddress |
|
| startIpAddress |
|
宣言的なメタデータの定義のサンプル
ExtlClntAppOauthSettings コンポーネントの例を次に示します。
1<?xml version="1.0" encoding="UTF-8"?>
2<ExtlClntAppOauthSettings xmlns="http://soap.sforce.com/2006/04/metadata">
3 <externalClientApplication>myeca</externalClientApplication>
4 <label>My Oauth Settings</label>
5 <trustedIpRanges>
6 <startIpAddress>10.55.2.0</startIpAddress>
7 <endIpAddress>10.55.2.255</endIpAddress>
8 <description>Building 6</description>
9 </trustedIpRanges>
10 <trustedIpRanges>
11 <startIpAddress>10.55.12.0</startIpAddress>
12 <endIpAddress>10.55.12.255</endIpAddress>
13 </trustedIpRanges>
14 <customAttributes>
15 <key>userattribute</key>
16 <formula>User.Country</formula>
17 </customAttributes>
18 <commaSeparatedOauthScopes>Basic, Web</commaSeparatedOauthScopes>
19</ExtlClntAppOauthSettings>前の定義を参照する package.xml の例を次に示します。
1<?xml version="1.0" encoding="UTF-8"?>
2<Package xmlns="http://soap.sforce.com/2006/04/metadata">
3 <types>
4 <members>*</members>
5 <name>ExternalClientApplication</name>
6 </types>
7 <types>
8 <members>*</members>
9 <name>ExtlClntAppOauthSettings</name>
10 </types>
11 <types>
12 <members>*</members>
13 <name>ExtlClntAppGlobalOauthSettings</name>
14 </types>
15 <types>
16 <members>*</members>
17 <name>ExtlClntAppOauthConfigurablePolicies</name>
18 </types>
19 <version>59.0</version>
20</Package>マニフェストファイル内のワイルドカードのサポート
このメタデータ型では、package.xml マニフェストファイル内のワイルドカード文字 * (アスタリスク) がサポートされます。マニフェストファイルの使用についての詳細は、「zip ファイルを使用したメタデータのリリースと取得」を参照してください。