RTCIdentityEvent
Experimental: これは実験的な機能です。
本番で使用する前にブラウザー互換性一覧表をチェックしてください。
RTCIdentityEvent
インタフェースは、通常 RTCPeerConnection
に関連付けられたアイデンティティー・プロバイダ(IdP) を示すイベントを表現します。これはIDアサーションによって生成されたものです。イベントタイプはidentityresult
です。
Firefox implements this interface under the following name: RTCPeerConnectionIdentityEvent.
It is likely that it will correct this name when it will unprefix RTCPeerConnection
, once spec and implementation will have been stabilized.
プロパティ
RTCIdentityEvent
は Event
であり, このイベントは Event
のプロパティも実装します。
RTCIdentityEvent.assertion
読取専用- 生成されたアサーションであるblobを含む
DOMString
を返します。
メソッド
RTCIdentityEvent
は Event
であり, このイベントは Event
のプロパティも実装します。具体的な RTCIdentityEvent
メソッドはありません。
例
pc.onidentityresult = function( ev ) {
alert("A new identity assertion (blob: '" +
ev.assertion +
"') has been generated.");
}
仕様
Specification | Status | Comment |
---|---|---|
WebRTC 1.0: Real-time Communication Between Browsers RTCIdentityEvent の定義 |
勧告候補 | Initial definition. |
ブラウザ互換性
No compatibility data found for api.RTCIdentityEvent
.
Check for problems with this page or contribute missing data to mdn/browser-compat-data.
See also
- WebRTC
- このイベントの通常ターゲット:
RTCPeerConnection
.