--- title: RTCIdentityErrorEvent slug: Web/API/RTCIdentityErrorEvent translation_of: Web/API/RTCIdentityErrorEvent --- <p>{{APIRef("WebRTC")}}{{SeeCompatTable}}</p> <p><strong><code>RTCIdentityErrorEvent</code></strong> インタフェースは、通常 {{domxref("RTCPeerConnection")}} に関連付けられたアイデンティティー・プロバイダ(IdP) を示すイベントを表現します。これは、?遭遇したエラーを持ちます。{{event("idpassertionerror")}} と{{event("idpvalidationerror")}}の2つのイベントタイプを持ちます。</p> <div class="note"> <p>Firefox implements this interface under the following name: <code>RTCPeerConnectionIdentityErrorEvent.</code> It is likely that it will correct this name when it will unprefix {{domxref("RTCPeerConnection")}}, once spec and implementation will have been stabilized.</p> </div> <h2 id="プロパティ">プロパティ</h2> <p><em>{{domxref("RTCIdentityErrorEvent")}} は {{domxref("Event")}}であり、このイベントは{{domxref("Event")}} のプロパティも実装します。</em></p> <dl> <dt>{{domxref("RTCIdentityErrorEvent.idp")}} {{readonlyinline}}</dt> <dd>エラーレスポンスを生成したアイデンティティー・プロバイダ(idp)の{{Glossary("domain name")}} を表す{{domxref("DOMString")}}です。</dd> <dt>{{domxref("RTCIdentityErrorEvent.loginUrl")}} {{readonlyinline}}</dt> <dd>認証が完了可能なURLを示す{{domxref("DOMString")}} です。nullの値をとることもあり、アイデンティティー・プロバイダ(idp)から提供されます。</dd> <dt>{{domxref("RTCIdentityErrorEvent.protocol")}} {{readonlyinline}}</dt> <dd>利用されているIdpプロトコルを示す{{domxref("DOMString")}}です。</dd> </dl> <h2 id="メソッド">メソッド</h2> <p><em>{{domxref("RTCIdentityErrorEvent")}} は {{domxref("Event")}}であり、このイベントは{{domxref("Event")}} のプロパティも実装します。具体的な<em>{{domxref("RTCIdentityErrorEvent")}} メソッドはありません。</em></em></p> <h2 id="例">例</h2> <pre class="brush: js">pc.onidpassertionerror = function( ev ) { alert("The idp named '" + ev.idp + "' encountered an error " + "while generating an assertion."); } </pre> <h2 id="仕様">仕様</h2> <table class="standard-table"> <tbody> <tr> <th scope="col">Specification</th> <th scope="col">Status</th> <th scope="col">Comment</th> </tr> <tr> <td>{{ SpecName('WebRTC 1.0', '#idl-def-RTCIdentityErrorEvent', 'RTCIdentityErrorEvent') }}</td> <td>{{Spec2('WebRTC 1.0')}}</td> <td>Initial definition.</td> </tr> </tbody> </table> <h2 id="ブラウザ互換性">ブラウザ互換性</h2> <p>{{Compat("api.RTCIdentityErrorEvent")}}</p> <h2 id="See_also">See also</h2> <ul> <li><a href="/en-US/docs/Web/Guide/API/WebRTC" title="/en-US/docs/CSS/Using_CSS_animations">WebRTC</a></li> <li>このイベントの通常ターゲット: {{domxref("RTCPeerConnection")}}.</li> </ul>