RTCPeerConnection: identityresult event


This feature is no longer recommended. Though some browsers might still support it, it may have already been removed from the relevant web standards, may be in the process of being dropped, or may only be kept for compatibility purposes. Avoid using it, and update existing code if possible; see the compatibility table at the bottom of this page to guide your decision. Be aware that this feature may cease to work at any time.

An identityresult event is sent to an RTCPeerConnection object's onidentityresult event handler to inform it that an assertion has been generated by an associated identity provider (IdP) during the process of creating an SDP offer or answer.

Note: While older versions of the WebRTC specification used events to report assertions, this has been deprecated and removed from the specification. Instead, the peerIdentity property returns a Promise that resolves with an identity or rejects if an error occurs or if unable to validate the identity.

Bubbles No
Cancelable No
Interface RTCIdentityEvent
Event handler property onidentityresult


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

Browser compatibility

BCD tables only load in the browser

See also