Contains the peer identity assertion information if an identity assertion was provided and verified.
Property of apis/webrtc/RTCPeerConnectionapis/webrtc/RTCPeerConnection
SyntaxNote: This property is read-only.
var result = element.peerIdentity;
Return Value
Returns an object of type RTCIdentityAssertionRTCIdentityAssertion
The RTCIdentityAssertion object has two string members:
This example shows how to consume identity assertions.
pc.onidentityresult = function(result) {
console.log("IdP= " + pc.peerIdentity.idp +
" identity=" + pc.peerIdentity.name);
};
Notes
The identity system is designed so that applications need not take any special action in order for users to generate and verify identity assertions; if a user has configured an IdP into their browser, then the browser will automatically request/generate assertions and the other side will automatically verify them and display the results.
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4