Obsolete
This feature is obsolete. Although it may still work in some browsers, its use is discouraged since it could be removed at any time. Try to avoid using it.
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 |
Specifications
Specification | Status | Comment |
---|---|---|
WebRTC 1.0: Real-time Communication Between Browsers The definition of 'identityresult' in that specification. |
Candidate Recommendation |
Browser compatibility
The compatibility table on this page is generated from structured data. If you'd like to contribute to the data, please check out https://github.com/mdn/browser-compat-data and send us a pull request.
Desktop | Mobile | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
identityresult event | Chrome No support No | Edge No support ≤18 — 79 | Firefox Full support 22 | IE No support No | Opera Full support 43 | Safari ? | WebView Android No support No | Chrome Android No support No | Firefox Android Full support 44 | Opera Android Full support 43 | Safari iOS ? | Samsung Internet Android Full support 6.0 |
Legend
- Full support
- Full support
- No support
- No support
- Compatibility unknown
- Compatibility unknown
- Deprecated. Not for use in new websites.
- Deprecated. Not for use in new websites.