Наши волонтёры ещё не перевели данную статью на Русский. Присоединяйтесь к нам и помогите сделать эту работу!
Вы можете также прочитать эту статью на English (US).

This is an experimental technology
Check the Browser compatibility table carefully before using this in production.

The RTCIdentityEvent interface represents an identity assertion generated by an identity provider (idP). This is usually for an RTCPeerConnection. The only event sent with this type is 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.

Properties

A RTCIdentityEvent being an Event, this event also implements these properties.

RTCIdentityEvent.assertion Read only
Returns the DOMString containing a blob being the assertion generated.

Methods

A RTCIdentityEvent being an Event, this event also implements these propertiesThere is no specific RTCIdentityEvent method.

Examples

pc.onidentityresult = function( ev ) {
                         alert("A new identity assertion (blob: '" + 
                               ev.assertion + 
                               "') has been generated.");
                      }

Specifications

Specification Status Comment
WebRTC 1.0: Real-time Communication Between Browsers
The definition of 'RTCIdentityEvent' in that specification.
Candidate Recommendation Initial definition.

Browser compatibility

FeatureChromeEdgeFirefoxInternet ExplorerOperaSafari
Basic support No ? ?1 No Yes ?
assertion No ? ? No Yes ?
FeatureAndroid webviewChrome for AndroidEdge mobileFirefox for AndroidOpera AndroidiOS SafariSamsung Internet
Basic support No No ? ? ? ? No
assertion No No ? ? ? ? No

1. Supported as RTCPeerConnectionIdentityEvent.

See also

Метки документа и участники

Внесли вклад в эту страницу: fscholz, jpmedley, teoli
Обновлялась последний раз: fscholz,