認証

Version 22.0.8473


認証

Version 22.0.8473


Each configured CData Arc user has an Auth Token that can be used to authenticate to the Admin API. For more information about configuring users and user roles, see User Roles.

Using Auth Tokens

認証トークンは、いくつかの方法でAPI リクエスト内で使用できます。

  • Include an x-cdata-authtoken header in the HTTP request with the value set to an appropriate User’s Auth Token
  • ユーザーおよび認証トークンを、HTTP Basic 認証のユーザー名/パスワードの組み合わせとして扱います。
  • クエリパラメータとしてリクエストURL に認証トークンを含めます。

To include the Auth Token in the request URL, follow these steps:

  1. Open the Settings page.

  2. Select the Admin API tab.

  3. In the Other Settings section, select Allow Authtoken in URL.

To include the Auth Token in the request URL, you must enable Allow Authtoken in URL setting at the bottom of the Settings > Admin API page. Once this is enabled, the syntax of the Auth Token query parameter is as follows: @authtoken=myAuthTokenValue