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.


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.


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


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
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

Document Tags and Contributors

Contributors to this page: fscholz, jpmedley, teoli
Last updated by: fscholz,