OAuth Access のアクセスを許可する

On this page:

OAuth Access Token について

OAuth アクセス トークンによって、次のことが可能になります:

  • 外部の OAuth の準拠 Web アプリケーションや Web サイト(「コンシューマ」として知られている)上の JIRA ガジェットを使用すること
    また、
  • このガジェットが 自分の JIRA ユーザーアカウント限定の内部的な JIRA データにアクセスするのを許可すること。

これを実行する前に、JIRA 管理者は、この外部の Web アプリケーションやサイトを OAuth のコンシューマとして承認し、OAuth との関係を確立させておく必要があります。たとえば、 Bamboo のホームページに JIRA ガジェットを追加し、アクセスが制限されている JIRA データへのアクセスをこのガジェットに許可する場合、JIRA 管理者は先に Bamboo を OAuth コンシューマとして承認する必要があります。

Next, the JIRA gadget on the 'consumer' is granted access to your JIRA data via an 'OAuth access token', which acts as a type of 'key'. As long as the consumer is in possession of this access token, the JIRA gadget will be able to access JIRA data that is both publicly available and privy to your JIRA user account. You can revoke this access token at any time from your JIRA user account, otherwise, all access tokens expire after seven days. Once the access token is revoked or has expired, the JIRA gadget will only have access to publicly available data on your JIRA site.

次の条件が満たされている場合にのみ、OAuth アクセス トークンは、ユーザープロファイルに表示されます。

  1. Your JIRA Administrator has established an application link using OAuth between your JIRA site and the consumer. JIRA Administrators should refer to Linking to Another Application.
  2. You have accessed a JIRA gadget on a consumer and have allowed this gadget access to your JIRA data. See Issuing OAuth Access Tokens, below for details on this process.

スクリーンショット: 使用中の OAuth アクセストークンの表示

OAuth Access Token を発行する

OAuth アクセス トークンは JIRA によって発行され、コンシューマ上のガジェットによる JIRA データ(つまり、自分の JIRA ユーザーアカウントの内部扱いデータ)へのアクセスを可能にします。

コンシューマ上の JIRA ガジェットが JIRAデータにアクセスできるようにするには、

  1. コンシューマ上( Bamboo など)で JIRA ガジェットを使用していて、このガジェットによる JIRA データへのアクセスが必要な場合、まず JIRA にログインするように求められます(まだ JIRA にログインしてない場合)。
  2. Once you have logged in to JIRA, you will be prompted with a 'Request for Access' message:

    Screenshot: Request for Access Message



    At this point, JIRA is preparing to issue the JIRA gadget (on the consumer) with an OAuth access token.
  3. ガジェットによる JIRA データへのアクセスを許可するには、「アクセスを承認 」ボタンを押します。コンシューマ アプリケーションは、JIRA サイトから OAuth アクセス トークンを受け取ります。このアクセ​​ス トークンは、このガジェットに特有のものであり、トークンがガジェットに存在する限り、ガジェットは JIRA データにアクセスできます。

OAuth Access Token の取り消し

You can revoke an OAuth access token to deny a JIRA gadget on a consumer access to JIRA data which is restricted to your JIRA user account. You can only revoke OAuth access tokens that you have allowed JIRA to issue previously.

コンシューマ上の JIRA ガジェットが JIRA データ にアクセスできなくするには、

  1. Choose your user name at top right of the screen, then choose Profile.
  2. ツール 」メニューをクリックし、「OAuth Access Token の表示 」メニュー項目を選択します。
  3. The 'OAuth Access Tokens' page will be displayed.

    Screenshot: Viewing your OAuth Access Tokens



    Your list of OAuth access tokens is presented in a tabular format, with each access token presented in separate rows and each property of these tokens presented in a separate columns. Refer to the OAuth Access Token Table Details section below for more information about this table.
  4. OAuth アクセス トークンを取り消したい JIRA ガジェットとそれに関連するコンシューマアプリケーションを探し、「操作」列の「 OAuth Access Token の取り消し」リンクをクリックします。
  5. You may be prompted to confirm this action. If so, click the 'OK' button.



    The gadget's access token is revoked and the JIRA gadget on the consumer will only have access to publicly available JIRA data.

OAuth Access Token 表の詳細

列名

説明

コンシューマー

コンシューマに追加された JIRA ガジェットの名前。

コンシューマーの説明

A description of this consumer application. This information would have been obtained from the consumer's own OAuth settings when an OAuth relationship was established between JIRA and that consumer.
(info) If the consumer is another Atlassian application, this information is obtained from the Consumer Info tab's 'Description' field of the OAuth Administration settings. The application's administrator can customize this Consumer Info detail.

発行日

JIRA によって OAuth アクセス トークンがコンシューマに発行された日付。これは、ガジェットからの( 自分の JIRA ユーザーアカウントの内部扱いとなっている)JIRA データへのアクセスを承認した直後の日付になります。

有効期限

OAuth アクセス トークンの有効期限が切れる日付。これは、「発行日」後 7 日間です。この日に達すると、アクセス トークンは自動的にこのリストから削除されます。

アクション

アクセス トークンを取り消す ための機能 。

最終更新日: 2014 年 2 月 10 日

この内容はお役に立ちましたか?

はい
いいえ
この記事についてのフィードバックを送信する
Powered by Confluence and Scroll Viewport.