RTCIdentityErrorEvent
インタフェースは、通常 RTCPeerConnection
に関連付けられたアイデンティティー・プロバイダ(IdP) を示すイベントを表現します。これは、?遭遇したエラーを持ちます。idpassertionerror
とidpvalidationerror
の2つのイベントタイプを持ちます。
Firefox implements this interface under the following name: RTCPeerConnectionIdentityErrorEvent.
It is likely that it will correct this name when it will unprefix RTCPeerConnection
, once spec and implementation will have been stabilized.
プロパティ
RTCIdentityErrorEvent
は Event
であり、このイベントはEvent
のプロパティも実装します。
RTCIdentityErrorEvent.idp
読取専用- エラーレスポンスを生成したアイデンティティー・プロバイダ(idp)のdomain name を表す
DOMString
です。 RTCIdentityErrorEvent.loginUrl
読取専用- 認証が完了可能なURLを示す
DOMString
です。nullの値をとることもあり、アイデンティティー・プロバイダ(idp)から提供されます。 RTCIdentityErrorEvent.protocol
読取専用- 利用されているIdpプロトコルを示す
DOMString
です。
メソッド
RTCIdentityErrorEvent
は Event
であり、このイベントはEvent
のプロパティも実装します。具体的なRTCIdentityErrorEvent
メソッドはありません。
例
pc.onidpassertionerror = function( ev ) {
alert("The idp named '" +
ev.idp +
"' encountered an error " +
"while generating an assertion.");
}
仕様
Specification | Status | Comment |
---|---|---|
WebRTC 1.0: Real-time Communication Between Browsers RTCIdentityErrorEvent の定義 |
勧告候補 | Initial definition. |
ブラウザ互換性
現在、互換性データを可読形式の JSON フォーマットに置き換えているところです。
この互換性一覧は古い形式を使っており、これに含まれるデータの置き換えが済んでいません。
手助けしていただける場合は、こちらから!
Feature | Chrome | Firefox (Gecko) | Internet Explorer | Opera | Safari |
---|---|---|---|---|---|
Basic support | (有) | (有) [1] | 未サポート | (有) | ? |
Feature | Android | Chrome for Android | Firefox Mobile (Gecko) | IE Mobile | Opera Mobile | Safari Mobile |
---|---|---|---|---|---|---|
Basic support | ? | ? | ? | 未サポート | ? | ? |
[1] Gecko はこのインタフェースを次の名前で実装しています: RTCPeerConnectionIdentityErrorEvent.
See also
- WebRTC
- このイベントの通常ターゲット:
RTCPeerConnection
.