diff --git a/files/en-us/_redirects.txt b/files/en-us/_redirects.txt index 4ae2304eb901db0..0883d42976e45fd 100644 --- a/files/en-us/_redirects.txt +++ b/files/en-us/_redirects.txt @@ -8355,10 +8355,6 @@ /en-US/docs/Web/API/RTCIceCandidateStats/ip /en-US/docs/Web/API/RTCIceCandidateStats/address /en-US/docs/Web/API/RTCIceConnectionState /en-US/docs/Web/API/RTCPeerConnection/iceConnectionState /en-US/docs/Web/API/RTCIceGatheringState /en-US/docs/Web/API/RTCPeerConnection/iceGatheringState -/en-US/docs/Web/API/RTCIdentityErrorEvent.idp /en-US/docs/Web/API/RTCIdentityErrorEvent/idp -/en-US/docs/Web/API/RTCIdentityErrorEvent.loginUrl /en-US/docs/Web/API/RTCIdentityErrorEvent/loginUrl -/en-US/docs/Web/API/RTCIdentityErrorEvent.protocol /en-US/docs/Web/API/RTCIdentityErrorEvent/protocol -/en-US/docs/Web/API/RTCIdentityEvent.assertion /en-US/docs/Web/API/RTCIdentityEvent/assertion /en-US/docs/Web/API/RTCInboundRtpStreamStats/lastPacketReceivedTimesta /en-US/docs/Web/API/RTCInboundRtpStreamStats/lastPacketReceivedTimestamp /en-US/docs/Web/API/RTCOutboundRtpStreamStats/perDscpPacketsReceived /en-US/docs/Web/API/RTCOutboundRtpStreamStats/perDscpPacketsSent /en-US/docs/Web/API/RTCPeerConnection.addStream /en-US/docs/Web/API/RTCPeerConnection/addStream @@ -8374,11 +8370,7 @@ /en-US/docs/Web/API/RTCPeerConnection.ondatachannel /en-US/docs/Web/API/RTCPeerConnection/ondatachannel /en-US/docs/Web/API/RTCPeerConnection.onicecandidate /en-US/docs/Web/API/RTCPeerConnection/onicecandidate /en-US/docs/Web/API/RTCPeerConnection.oniceconnectionstatechange /en-US/docs/Web/API/RTCPeerConnection/oniceconnectionstatechange -/en-US/docs/Web/API/RTCPeerConnection.onidentityresult /en-US/docs/Web/API/RTCPeerConnection/onidentityresult -/en-US/docs/Web/API/RTCPeerConnection.onidpassertionerror /en-US/docs/Web/API/RTCPeerConnection/onidpassertionerror -/en-US/docs/Web/API/RTCPeerConnection.onidpvalidationerror /en-US/docs/Web/API/RTCPeerConnection/onidpvalidationerror /en-US/docs/Web/API/RTCPeerConnection.onnegotiationneeded /en-US/docs/Web/API/RTCPeerConnection/onnegotiationneeded -/en-US/docs/Web/API/RTCPeerConnection.onpeeridentity /en-US/docs/Web/API/RTCPeerConnection/onpeeridentity /en-US/docs/Web/API/RTCPeerConnection.onremovestream /en-US/docs/Web/API/RTCPeerConnection/onremovestream /en-US/docs/Web/API/RTCPeerConnection.onsignalingstatechange /en-US/docs/Web/API/RTCPeerConnection/onsignalingstatechange /en-US/docs/Web/API/RTCPeerConnection.peerIdentity /en-US/docs/Web/API/RTCPeerConnection/peerIdentity @@ -8398,10 +8390,6 @@ /en-US/docs/Web/API/RTCPeerConnectionIceEvent.RTCPeerConnectionIceEven /en-US/docs/Web/API/RTCPeerConnectionIceEvent/RTCPeerConnectionIceEvent /en-US/docs/Web/API/RTCPeerConnectionIceEvent.RTCPeerConnectionIceEvent /en-US/docs/Web/API/RTCPeerConnectionIceEvent/RTCPeerConnectionIceEvent /en-US/docs/Web/API/RTCPeerConnectionIceEvent.candidate /en-US/docs/Web/API/RTCPeerConnectionIceEvent/candidate -/en-US/docs/Web/API/RTCPeerConnectionIdentityErrorEvent /en-US/docs/Web/API/RTCIdentityErrorEvent -/en-US/docs/Web/API/RTCPeerConnectionIdentityEvent /en-US/docs/Web/API/RTCIdentityEvent -/en-US/docs/Web/API/RTCPeerConnectionIdentityEvent.assertion /en-US/docs/Web/API/RTCIdentityEvent/assertion -/en-US/docs/Web/API/RTCPeerConnection_idpvalidationerror_event /en-US/docs/Web/API/RTCPeerConnection/idpvalidationerror_event /en-US/docs/Web/API/RTCRtpSender/getCapabilities() /en-US/docs/Web/API/RTCRtpSender/getCapabilities /en-US/docs/Web/API/RTCSctpTransportState /en-US/docs/Web/API/RTCSctpTransport/state /en-US/docs/Web/API/RTCSdpType /en-US/docs/Web/API/RTCSessionDescription/type @@ -10297,9 +10285,6 @@ /en-US/docs/Web/Events/iceconnectionstatechange /en-US/docs/Web/API/RTCPeerConnection/iceconnectionstatechange_event /en-US/docs/Web/Events/icegatheringstatechange /en-US/docs/Web/API/RTCPeerConnection/icegatheringstatechange_event /en-US/docs/Web/Events/icegatheringstatechange_event /en-US/docs/Web/API/RTCPeerConnection/icegatheringstatechange_event -/en-US/docs/Web/Events/identityresult /en-US/docs/Web/API/RTCPeerConnection/identityresult_event -/en-US/docs/Web/Events/idpassertionerror /en-US/docs/Web/API/RTCPeerConnection/idpassertionerror_event -/en-US/docs/Web/Events/idpvalidationerror /en-US/docs/Web/API/RTCPeerConnection/idpvalidationerror_event /en-US/docs/Web/Events/input /en-US/docs/Web/API/HTMLElement/input_event /en-US/docs/Web/Events/install /en-US/docs/Web/API/Window/appinstalled_event /en-US/docs/Web/Events/invalid /en-US/docs/Web/API/HTMLInputElement/invalid_event @@ -10349,7 +10334,6 @@ /en-US/docs/Web/Events/pause_(SpeechSynthesis) /en-US/docs/Web/API/SpeechSynthesisUtterance/pause_event /en-US/docs/Web/Events/payerdetailchange /en-US/docs/Web/API/PaymentResponse/payerdetailchange_event /en-US/docs/Web/Events/paymentmethodchange /en-US/docs/Web/API/PaymentRequest/paymentmethodchange_event -/en-US/docs/Web/Events/peeridentity /en-US/docs/Web/API/RTCPeerConnection/peeridentity_event /en-US/docs/Web/Events/periodicsync /en-US/docs/Web/API/ServiceWorkerGlobalScope/periodicsync_event /en-US/docs/Web/Events/play /en-US/docs/Web/API/HTMLMediaElement/play_event /en-US/docs/Web/Events/playing /en-US/docs/Web/API/HTMLMediaElement/playing_event diff --git a/files/en-us/_wikihistory.json b/files/en-us/_wikihistory.json index 88fa3326ff07ef5..32e3b430e4dadd8 100644 --- a/files/en-us/_wikihistory.json +++ b/files/en-us/_wikihistory.json @@ -72836,56 +72836,6 @@ "teoli" ] }, - "Web/API/RTCIdentityErrorEvent": { - "modified": "2020-10-15T21:28:54.447Z", - "contributors": [ - "sideshowbarker", - "fscholz", - "jpmedley", - "teoli" - ] - }, - "Web/API/RTCIdentityErrorEvent/idp": { - "modified": "2020-10-15T21:28:55.306Z", - "contributors": [ - "sideshowbarker", - "fscholz", - "teoli" - ] - }, - "Web/API/RTCIdentityErrorEvent/loginUrl": { - "modified": "2020-10-15T21:28:55.177Z", - "contributors": [ - "sideshowbarker", - "fscholz", - "teoli" - ] - }, - "Web/API/RTCIdentityErrorEvent/protocol": { - "modified": "2020-10-15T21:28:56.722Z", - "contributors": [ - "sideshowbarker", - "fscholz", - "teoli" - ] - }, - "Web/API/RTCIdentityEvent": { - "modified": "2020-10-15T21:28:54.334Z", - "contributors": [ - "sideshowbarker", - "fscholz", - "jpmedley", - "teoli" - ] - }, - "Web/API/RTCIdentityEvent/assertion": { - "modified": "2020-10-15T21:28:55.465Z", - "contributors": [ - "sideshowbarker", - "fscholz", - "teoli" - ] - }, "Web/API/RTCInboundRtpStreamStats": { "modified": "2020-10-15T22:17:09.938Z", "contributors": [ @@ -73447,29 +73397,6 @@ "Sheppy" ] }, - "Web/API/RTCPeerConnection/identityresult_event": { - "modified": "2020-10-15T21:28:54.142Z", - "contributors": [ - "fscholz", - "Sheppy", - "mfluehr", - "teoli" - ] - }, - "Web/API/RTCPeerConnection/idpassertionerror_event": { - "modified": "2020-10-15T21:28:55.685Z", - "contributors": [ - "Sheppy", - "mfluehr", - "teoli" - ] - }, - "Web/API/RTCPeerConnection/idpvalidationerror_event": { - "modified": "2020-10-15T22:15:17.579Z", - "contributors": [ - "Sheppy" - ] - }, "Web/API/RTCPeerConnection/localDescription": { "modified": "2020-10-15T21:28:59.774Z", "contributors": [ @@ -73572,35 +73499,6 @@ "abbycar" ] }, - "Web/API/RTCPeerConnection/onidentityresult": { - "modified": "2020-10-15T21:28:52.357Z", - "contributors": [ - "sideshowbarker", - "fscholz", - "jpmedley", - "teoli" - ] - }, - "Web/API/RTCPeerConnection/onidpassertionerror": { - "modified": "2020-10-15T21:28:52.993Z", - "contributors": [ - "sideshowbarker", - "Sheppy", - "fscholz", - "jpmedley", - "teoli" - ] - }, - "Web/API/RTCPeerConnection/onidpvalidationerror": { - "modified": "2020-10-15T21:28:53.447Z", - "contributors": [ - "sideshowbarker", - "Sheppy", - "fscholz", - "jpmedley", - "teoli" - ] - }, "Web/API/RTCPeerConnection/onnegotiationneeded": { "modified": "2020-10-15T21:28:52.037Z", "contributors": [ @@ -73614,16 +73512,6 @@ "teoli" ] }, - "Web/API/RTCPeerConnection/onpeeridentity": { - "modified": "2020-10-15T21:28:53.098Z", - "contributors": [ - "sideshowbarker", - "Sheppy", - "fscholz", - "jpmedley", - "teoli" - ] - }, "Web/API/RTCPeerConnection/onremovestream": { "modified": "2020-10-15T21:28:51.660Z", "contributors": [ @@ -73668,16 +73556,6 @@ "teoli" ] }, - "Web/API/RTCPeerConnection/peeridentity_event": { - "modified": "2020-10-15T21:28:53.887Z", - "contributors": [ - "fscholz", - "chrisdavidmills", - "Sheppy", - "mfluehr", - "teoli" - ] - }, "Web/API/RTCPeerConnection/pendingLocalDescription": { "modified": "2020-10-15T21:44:58.469Z", "contributors": [ diff --git a/files/en-us/web/api/event/index.html b/files/en-us/web/api/event/index.html index f5c8738ca73bb6a..65b13e6688f2dcc 100644 --- a/files/en-us/web/api/event/index.html +++ b/files/en-us/web/api/event/index.html @@ -74,8 +74,6 @@

Interfaces based on Event

  • {{domxref("ProgressEvent")}}
  • {{domxref("RelatedEvent")}}
  • {{domxref("RTCDataChannelEvent")}}
  • -
  • {{domxref("RTCIdentityErrorEvent")}}
  • -
  • {{domxref("RTCIdentityEvent")}}
  • {{domxref("RTCPeerConnectionIceEvent")}}
  • {{domxref("SensorEvent")}}
  • {{domxref("StorageEvent")}}
  • diff --git a/files/en-us/web/api/rtcidentityerrorevent/idp/index.html b/files/en-us/web/api/rtcidentityerrorevent/idp/index.html deleted file mode 100644 index 3b2e38a1c3d0652..000000000000000 --- a/files/en-us/web/api/rtcidentityerrorevent/idp/index.html +++ /dev/null @@ -1,50 +0,0 @@ ---- -title: RTCIdentityErrorEvent.idp -slug: Web/API/RTCIdentityErrorEvent/idp -tags: -- Experimental -- Property -- RTCIdentityErrorEvent -- Read-only -- Reference -- WebRTC -browser-compat: api.RTCIdentityErrorEvent.idp ---- -

    {{APIRef("WebRTC")}}{{deprecated_header}}

    - -

    The read-only property RTCIdentityErrorEvent.idp returns - the {{domxref("DOMString")}} describing the {{Glossary("domain name")}} of the identity - provider (idp) generating the error response event.

    - -
    -

    Firefox implements the interface of this property under the following name: - RTCPeerConnectionIdentityErrorEvent. It is likely that it will correct - this name when it will unprefix {{domxref("RTCPeerConnection")}}, once spec and - implementation will have been stabilized.

    -
    - -

    Syntax

    - -
    var idp = event.idp;
    -event.idp = "developer.mozilla.org";
    -
    - -

    Example

    - -
    pc.onidpassertionerror = function( ev ) {
    -                           alert("The idp named '" +
    -                                 ev.idp +
    -                                 "' encountered an error " +
    -                                 "while generating an assertion.");
    -                         }
    - -

    Browser compatibility

    - -

    {{Compat}}

    - -

    See also

    - - diff --git a/files/en-us/web/api/rtcidentityerrorevent/index.html b/files/en-us/web/api/rtcidentityerrorevent/index.html deleted file mode 100644 index e9d8d81175665dd..000000000000000 --- a/files/en-us/web/api/rtcidentityerrorevent/index.html +++ /dev/null @@ -1,56 +0,0 @@ ---- -title: RTCIdentityErrorEvent -slug: Web/API/RTCIdentityErrorEvent -tags: - - API - - Experimental - - Interface - - Reference - - WebRTC -browser-compat: api.RTCIdentityErrorEvent ---- -

    {{APIRef("WebRTC")}}{{deprecated_header}}

    - -

    The RTCIdentityErrorEvent interface represents an error associated with the identity provider (idP). This is usually for an {{domxref("RTCPeerConnection")}}. Two events are sent with this type: {{event("idpassertionerror")}} and {{event("idpvalidationerror")}}.

    - -
    -

    Firefox implements this interface under the following name: RTCPeerConnectionIdentityErrorEvent. It is likely that it will correct this name when it will unprefix {{domxref("RTCPeerConnection")}}, once spec and implementation will have been stabilized.

    -
    - -

    Properties

    - -

    A {{domxref("RTCIdentityErrorEvent")}} being an {{domxref("Event")}}, this event also implements these properties.

    - -
    -
    {{domxref("RTCIdentityErrorEvent.idp")}} {{readonlyinline}}
    -
    Is a {{domxref("DOMString")}} describing the {{Glossary("domain name")}} of the identity provider (idp) generating the error response.
    -
    {{domxref("RTCIdentityErrorEvent.loginUrl")}} {{readonlyinline}}
    -
    Is a {{domxref("DOMString")}} giving the URL where the user can complete the authentication. It can be null and is provided by the identity provider (idp).
    -
    {{domxref("RTCIdentityErrorEvent.protocol")}} {{readonlyinline}}
    -
    Is a {{domxref("DOMString")}} describing the Idp protocol in use.
    -
    - -

    Methods

    - -

    A {{domxref("RTCIdentityErrorEvent")}} being an {{domxref("Event")}}, this event also implements these properties. There is no specific {{domxref("RTCIdentityErrorEvent")}} method.

    - -

    Examples

    - -
    pc.onidpassertionerror = function( ev ) {
    -                           alert("The idp named '" +
    -                                 ev.idp +
    -                                 "' encountered an error " +
    -                                 "while generating an assertion.");
    -                         }
    -
    - -

    Browser compatibility

    - -

    {{Compat}}

    - -

    See also

    - - diff --git a/files/en-us/web/api/rtcidentityerrorevent/loginurl/index.html b/files/en-us/web/api/rtcidentityerrorevent/loginurl/index.html deleted file mode 100644 index 5b262b11162eb2a..000000000000000 --- a/files/en-us/web/api/rtcidentityerrorevent/loginurl/index.html +++ /dev/null @@ -1,51 +0,0 @@ ---- -title: RTCIdentityErrorEvent.loginUrl -slug: Web/API/RTCIdentityErrorEvent/loginUrl -tags: -- Experimental -- Property -- RTCIdentityErrorEvent -- Read-only -- Reference -- WebRTC -browser-compat: api.RTCIdentityErrorEvent.loginUrl ---- -

    {{APIRef("WebRTC")}}{{deprecated_header}}

    - -

    The read-only property RTCIdentityErrorEvent.loginUrl is - a {{domxref("DOMString")}} giving the URL where the user can complete the - authentication. It can be null and is provided by the identity provider - (idp).

    - -
    -

    Firefox implements the interface of this property under the following name: - RTCPeerConnectionIdentityErrorEvent. It is likely that it will correct - this name when it will unprefix {{domxref("RTCPeerConnection")}}, once spec and - implementation will have been stabilized.

    -
    - -

    Syntax

    - -
    var loginUrl = event.loginUrl;
    -event.loginUrl = "https://developer.mozilla.org/fakeURL";
    -
    - -

    Example

    - -
    pc.onidpassertionerror = function( ev ) {
    -                           alert("The idp requested an authentication" +
    -                                 " to be performed at th3 URL '" +
    -                                 ev.url +
    -                                 "'.");
    -                         }
    - -

    Browser compatibility

    - -

    {{Compat}}

    - -

    See also

    - - diff --git a/files/en-us/web/api/rtcidentityerrorevent/protocol/index.html b/files/en-us/web/api/rtcidentityerrorevent/protocol/index.html deleted file mode 100644 index eb82be7e35ffd06..000000000000000 --- a/files/en-us/web/api/rtcidentityerrorevent/protocol/index.html +++ /dev/null @@ -1,48 +0,0 @@ ---- -title: RTCIdentityErrorEvent.protocol -slug: Web/API/RTCIdentityErrorEvent/protocol -tags: -- Experimental -- Property -- RTCIdentityErrorEvent -- Read-only -- Reference -- WebRTC -browser-compat: api.RTCIdentityErrorEvent.protocol ---- -

    {{APIRef("WebRTC")}}{{deprecated_header}}

    - -

    The read-only property RTCIdentityErrorEvent.protocol is - a {{domxref("DOMString")}} describing the Idp protocol in use.

    - -
    -

    Firefox implements the interface of this property under the following name: - RTCPeerConnectionIdentityErrorEvent. It is likely that it will correct - this name when it will unprefix {{domxref("RTCPeerConnection")}}, once spec and - implementation will have been stabilized.

    -
    - -

    Syntax

    - -
    var protocol = event.protocol;
    -event.protocol = "idp.html";
    -
    - -

    Example

    - -
    pc.onidpassertionerror = function( ev ) {
    -                           alert("The idp uses the following protocol '" +
    -                                 ev.protocol +
    -                                 ".");
    -                         }
    - -

    Browser compatibility

    - -

    {{Compat}}

    - -

    See also

    - - diff --git a/files/en-us/web/api/rtcidentityevent/assertion/index.html b/files/en-us/web/api/rtcidentityevent/assertion/index.html deleted file mode 100644 index 8609441437114f3..000000000000000 --- a/files/en-us/web/api/rtcidentityevent/assertion/index.html +++ /dev/null @@ -1,47 +0,0 @@ ---- -title: RTCIdentityEvent.assertion -slug: Web/API/RTCIdentityEvent/assertion -tags: -- Experimental -- Property -- RTCIdentyEvent -- Read-only -- Reference -- WebRTC -browser-compat: api.RTCIdentityEvent.assertion ---- -

    {{APIRef("WebRTC")}}{{deprecated_header}}

    - -

    The read-only property RTCIdentityEvent.assertion returns the - {{domxref("DOMString")}} containing a blob being the coded assertion associated with the - event.

    - -
    -

    Firefox implements the interface this property belongs to under the following name: - RTCPeerConnectionIdentityEvent. It is likely that it will correct this - name when it will unprefix {{domxref("RTCPeerConnection")}}, once spec and - implementation will have been stabilized.

    -
    - -

    Syntax

    - -
     var blob = event.assertion;
    - -

    Example

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

    Browser compatibility

    - -

    {{Compat}}

    - -

    See also

    - - diff --git a/files/en-us/web/api/rtcidentityevent/index.html b/files/en-us/web/api/rtcidentityevent/index.html deleted file mode 100644 index e0b3417578cb684..000000000000000 --- a/files/en-us/web/api/rtcidentityevent/index.html +++ /dev/null @@ -1,53 +0,0 @@ ---- -title: RTCIdentityEvent -slug: Web/API/RTCIdentityEvent -tags: - - API - - Experimental - - Interface - - RTCIdentityEVent - - Reference - - WebRTC - - WebRTC API -browser-compat: api.RTCIdentityEvent ---- -

    {{APIRef("WebRTC")}}{{deprecated_header}}

    - -

    The RTCIdentityEvent interface represents an identity assertion generated by an identity provider (idP). This is usually for an {{domxref("RTCPeerConnection")}}. The only event sent with this type is {{event("identityresult")}}..

    - -
    -

    Firefox implements this interface under the following name: RTCPeerConnectionIdentityEvent. It is likely that it will correct this name when it will unprefix {{domxref("RTCPeerConnection")}}, once spec and implementation will have been stabilized.

    -
    - -

    Properties

    - -

    A {{domxref("RTCIdentityEvent")}} being an {{domxref("Event")}}, this event also implements these properties.

    - -
    -
    {{domxref("RTCIdentityEvent.assertion")}} {{readOnlyInline}}
    -
    Returns the {{domxref("DOMString")}} containing a blob being the assertion generated.
    -
    - -

    Methods

    - -

    A {{domxref("RTCIdentityEvent")}} being an {{domxref("Event")}}, this event also implements these properties. There is no specific {{domxref("RTCIdentityEvent")}} method.

    - -

    Examples

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

    Browser compatibility

    - -

    {{Compat}}

    - -

    See also

    - - diff --git a/files/en-us/web/api/rtcpeerconnection/getidentityassertion/index.html b/files/en-us/web/api/rtcpeerconnection/getidentityassertion/index.html index 90e2568b2c97af6..d18833be512ee02 100644 --- a/files/en-us/web/api/rtcpeerconnection/getidentityassertion/index.html +++ b/files/en-us/web/api/rtcpeerconnection/getidentityassertion/index.html @@ -16,8 +16,8 @@ {{domxref("RTCPeerConnection.signalingState", "signalingState")}} is not "closed".

    -

    The method returns immediately. If the assertion cannot be generated, an - {{event("idpassertionerror")}} will be sent to the object.

    +

    The method returns a JavaScript {{jsxref("Promise")}} which resolves to an + identity assertion encoded as a {{domxref("DOMString")}}.

    It is not expected for the application dealing with the RTCPeerConnection: this is automatically done; an explicit call only allows to anticipate the need.

    @@ -31,9 +31,10 @@

    Syntax

    Example

    -
    var pc = new PeerConnection();
    +
    var pc = new RTCPeerConnection();
     
    -pc.getIdentityAssertion(); // Not mandatory, but we know that we will need it in the future.
    +pc.setIdentityProvider("developer.mozilla.org");
    +var assertion = await pc.getIdentityAssertion();
     

    Specifications

    diff --git a/files/en-us/web/api/rtcpeerconnection/identityresult_event/index.html b/files/en-us/web/api/rtcpeerconnection/identityresult_event/index.html deleted file mode 100644 index 9516a1b7b4231f2..000000000000000 --- a/files/en-us/web/api/rtcpeerconnection/identityresult_event/index.html +++ /dev/null @@ -1,71 +0,0 @@ ---- -title: 'RTCPeerConnection: identityresult event' -slug: Web/API/RTCPeerConnection/identityresult_event -tags: - - API - - Authentication - - Event - - Identity - - Deprecated - - RTCPeerConnection - - Reference - - WebRTC - - WebRTC API - - identityresult -browser-compat: api.RTCPeerConnection.identityresult_event ---- -
    {{APIRef("WebRTC")}}{{deprecated_header}}
    - -

    An identityresult event is sent to an {{domxref("RTCPeerConnection")}} object's {{domxref("RTCPeerConnection.onidentityresult", "onidentityresult")}} event handler to inform it that an assertion has been generated by an associated identity provider (IdP) during the process of creating an {{Glossary("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 {{domxref("RTCPeerConnection.peerIdentity", "peerIdentity")}} property returns a {{jsxref("Promise")}} that resolves with an identity or rejects if an error occurs or if unable to validate the identity.

    -
    - - - - - - - - - - - - - - - - - - - - -
    BubblesNo
    CancelableNo
    Interface{{DOMxRef("RTCIdentityEvent")}}
    Event handler property{{domxref("RTCPeerConnection.onidentityresult", "onidentityresult")}}
    - -

    Specifications

    - - - - - - - - - - - - - - -
    SpecificationStatusComment
    {{ SpecName('WebRTC 1.0', '#event-mediastream-identityresult', 'identityresult') }}{{Spec2('WebRTC 1.0')}}
    - -

    Browser compatibility

    - -

    {{Compat}}

    - -

    See also

    - - diff --git a/files/en-us/web/api/rtcpeerconnection/idpassertionerror_event/index.html b/files/en-us/web/api/rtcpeerconnection/idpassertionerror_event/index.html deleted file mode 100644 index ce1cc1945658276..000000000000000 --- a/files/en-us/web/api/rtcpeerconnection/idpassertionerror_event/index.html +++ /dev/null @@ -1,73 +0,0 @@ ---- -title: 'RTCPeerConnection: idpassertionerror event' -slug: Web/API/RTCPeerConnection/idpassertionerror_event -tags: - - Assertion - - Authentication - - Error - - IdP - - Identity - - Deprecated - - Reference - - WebRTC - - WebRTC API - - events - - idpassertionerror -browser-compat: api.RTCPeerConnection.idpassertionerror_event ---- -

    {{APIRef("WebRTC")}}{{deprecated_header}}

    - -

    An idpassertionerror event informs the target, a {{domxref("RTCPeerConnection")}} object, that the identity provider (IdP) encountered an error when trying to generate an identity assertion. An event handler for this event can be added using the {{domxref("RTCPeerConnection.onidpassertionerror")}} property.

    - - - - - - - - - - - - - - - - - - - - -
    BubblesNo
    CancelableNo
    Interface{{DOMxRef("RTCIdentityErrorEvent")}}
    Event handler property{{DOMxRef("RTCPeerConnection.onidpassertionerror", "onidpassertionerror")}}
    - -
    -

    Warning: This event is no longer used; instead, you can detect an assertion error by detecting when the {{jsxref("promise")}} returned by {{domxref("RTCPeerConnection.peerIdentity")}} is rejected.

    -
    - -

    Specifications

    - - - - - - - - - - - - - - -
    SpecificationStatusComment
    {{ SpecName('WebRTC 1.0', '#event-mediastream-idpassertionerror', 'idpassertionerror') }}{{Spec2('WebRTC 1.0')}}
    - -

    Browser compatibility

    - -

    {{Compat}}

    - -

    See also

    - - diff --git a/files/en-us/web/api/rtcpeerconnection/idpvalidationerror_event/index.html b/files/en-us/web/api/rtcpeerconnection/idpvalidationerror_event/index.html deleted file mode 100644 index f6417a2c1d25ff1..000000000000000 --- a/files/en-us/web/api/rtcpeerconnection/idpvalidationerror_event/index.html +++ /dev/null @@ -1,74 +0,0 @@ ---- -title: 'RTCPeerConnection: idpvalidationerror event' -slug: Web/API/RTCPeerConnection/idpvalidationerror_event -tags: - - API - - Authentication - - Error - - IdP - - Identity - - Deprecated - - Reference - - Validation - - WebRTC - - WebRTC API - - events - - idpvalidationerror -browser-compat: api.RTCPeerConnection.idpvalidationerror_event ---- -

    {{APIRef("WebRTC")}}{{deprecated_header}}

    - -

    An idpvalidationerror event informs the target, a {{domxref("RTCPeerConnection")}} object's {{domxref("RTCPeerConnection.onidpvalidationerror", "onidpvalidationerror")}} event handler, that the identity provider (IdP) encountered an error while validating an identity assertion. An event handler for this event can be added using the {{domxref("RTCPeerConnection.onidpvalidationerror")}} property.

    - - - - - - - - - - - - - - - - - - - - -
    BubblesNo
    CancelableNo
    Interface{{DOMxRef("RTCIdentityErrorEvent")}}
    Event handler property{{DOMxRef("RTCPeerConnection.onidpvalidationerror", "onidpvalidationerror")}}
    - -
    -

    Warning: This event is no longer used; instead, you can detect a validation error by detecting when the {{jsxref("promise")}} returned by {{domxref("RTCPeerConnection.peerIdentity")}} is rejected.

    -
    - -

    Specifications

    - - - - - - - - - - - - - - -
    SpecificationStatusComment
    {{ SpecName('WebRTC 1.0', '#event-mediastream-idpvalidationerror', 'idpvalidationerror') }}{{Spec2('WebRTC 1.0')}}
    - -

    Browser compatibility

    - -

    {{Compat}}

    - -

    See also

    - - diff --git a/files/en-us/web/api/rtcpeerconnection/index.html b/files/en-us/web/api/rtcpeerconnection/index.html index 56f45523c2fa261..b0e7f04e8546f95 100644 --- a/files/en-us/web/api/rtcpeerconnection/index.html +++ b/files/en-us/web/api/rtcpeerconnection/index.html @@ -74,17 +74,6 @@

    Obsolete events

    {{domxref("RTCPeerConnection.addstream_event", "addstream")}} {{deprecated_inline}}
    Sent when a new {{domxref("MediaStream")}} has been added to the connection. Instead of watching for this obsolete event, you should watch each for {{domxref("RTCPeerConnection.track_event", "track")}} events; one is sent for each {{domxref("MediaStreamTrack")}} added to the connection.
    Available as the {{domxref("RTCPeerConnection.onaddstream", "onaddstream")}} event handler property.
    -
    {{domxref("RTCPeerConnection.identityresult_event", "identityresult")}} {{deprecated_inline}}
    -
    In old versions of the WebRTC specification, this event was used to indicate that an identity assertion is available. Now, you should instead wait for a the promise returned by {{domxref("RTCPeerConnection.peerIdentity", "peerIdentity")}} to resolve with an identity.
    - Also available using the {{domxref("RTCPeerConnection.onidentityresult", "onidentityresult")}} event handler property.
    -
    {{domxref("RTCPeerConnection.idpassertionerror_event", "idpassertionerror")}} {{deprecated_inline}}
    -
    In old versions of the WebRTC specification, this event was used to indicate that an error occurred while attempting to generate an identity assertion. Now, you should instead wait for a the promise returned by {{domxref("RTCPeerConnection.peerIdentity", "peerIdentity")}} to be rejected with an error.
    - Also available as the {{domxref("RTCPeerConnection.onidpassertionerror", "onidpinsertionerror")}} event handler property.
    -
    {{domxref("RTCPeerConnection.idpvalidationerror_event", "idpvalidationerror")}} {{deprecated_inline}}
    -
    In old versions of the WebRTC specification, this event was used to indicate that an error occurred while attempting to validate an identity assertion. Now, you should instead wait for a the promise returned by {{domxref("RTCPeerConnection.peerIdentity", "peerIdentity")}} to be rejected with an error.
    - Also available using the {{domxref("RTCPeerConnection.onpeeridentity", "onpeerdentity")}} event handler property.
    -
    {{domxref("RTCPeerConnection.peeridentity_event", "peeridentity")}} {{deprecated_inline}}
    -
    In old versions of the WebRTC specification, this event was used to deliver a received identity. Now, you should instead wait for a the promise returned by {{domxref("RTCPeerConnection.peerIdentity", "peerIdentity")}} to resolve with an identity.
    {{domxref("RTCPeerConnection.removestream_event", "removestream")}} {{deprecated_inline}}
    Sent to the RTCPeerConnection when a {{domxref("MediaStream")}} is removed from the connection. Instead of watching for this obsolete event, you should watch each stream for {{domxref("MediaStream.removetrack_event", "removetrack")}} events on each stream within the RTCPeerConnection.
    Also available as the {{domxref("RTCPeerConnection.onremovestream", "onremovestream")}} event handler property.
    diff --git a/files/en-us/web/api/rtcpeerconnection/onidentityresult/index.html b/files/en-us/web/api/rtcpeerconnection/onidentityresult/index.html deleted file mode 100644 index 9736222b7e89e5c..000000000000000 --- a/files/en-us/web/api/rtcpeerconnection/onidentityresult/index.html +++ /dev/null @@ -1,41 +0,0 @@ ---- -title: RTCPeerConnection.onidentityresult -slug: Web/API/RTCPeerConnection/onidentityresult -tags: - - Event Handler - - Experimental - - Property - - RTCPeerConnection - - Reference - - WebRTC -browser-compat: api.RTCPeerConnection.onidentityresult ---- -

    {{APIRef("WebRTC")}}{{deprecated_header}}

    - -

    The RTCPeerConnection.onidentityresult event handler is a property containing the code to execute when the {{event("identityresult")}} event, of type {{domxref("RTCIdentityEvent")}}, is received by this {{domxref("RTCPeerConnection")}}. Such an event is sent when an identity assertion is generated, via {{domxref("RTCPeerConnection.getIdentityAssertion()", "getIdentityAssertion()")}} or during the creation of an offer or an answer.

    - -

    Syntax

    - -
    peerconnection.onidentityresult = function;
    -
    - -

    Values

    - - - -

    Example

    - -
    pc.onidentityresult = function(ev) { alert("onidentityresult event detected!"); };
    -
    - -

    Browser compatibility

    - -

    {{Compat}}

    - -

    See also

    - - diff --git a/files/en-us/web/api/rtcpeerconnection/onidpassertionerror/index.html b/files/en-us/web/api/rtcpeerconnection/onidpassertionerror/index.html deleted file mode 100644 index 88e6d5fca255f28..000000000000000 --- a/files/en-us/web/api/rtcpeerconnection/onidpassertionerror/index.html +++ /dev/null @@ -1,58 +0,0 @@ ---- -title: RTCPeerConnection.onidpassertionerror -slug: Web/API/RTCPeerConnection/onidpassertionerror -tags: -- Authentication -- Event Handler -- IdP -- Identity -- Deprecated -- Property -- RTCPeerConnection -- Reference -- WebRTC -- WebRTC API -browser-compat: api.RTCPeerConnection.onidpassertionerror ---- -

    {{APIRef("WebRTC")}}{{deprecated_header}}

    - -

    The RTCPeerConnection.onidpassertionerror event handler - is a property containing the code to execute whent the {{event("idpassertionerror")}} - event, of type {{domxref("RTCIdentityErrorEvent")}}, is received by this - {{domxref("RTCPeerConnection")}}. Such an event is sent when the associated identity - provider (IdP) encounters an error while generating an identity assertion.

    - -

    This event handler is deprecated. You should instead detect IdP assertion - errors by handling rejection of the {{jsxref("promise")}} returned by - {{domxref("RTCPeerConnection.peerIdentity")}}.

    - -

    Syntax

    - -
    peerconnection.onidpassertionerror = function;
    -
    - -

    Values

    - - - -

    Example

    - -
    pc.onidpassertionerror = function(ev) { alert("onidpassertionerror event detected!"); };
    -
    - -

    Browser compatibility

    - -

    {{Compat}}

    - -

    See also

    - - diff --git a/files/en-us/web/api/rtcpeerconnection/onidpvalidationerror/index.html b/files/en-us/web/api/rtcpeerconnection/onidpvalidationerror/index.html deleted file mode 100644 index 33cd99e7a5f48a6..000000000000000 --- a/files/en-us/web/api/rtcpeerconnection/onidpvalidationerror/index.html +++ /dev/null @@ -1,61 +0,0 @@ ---- -title: RTCPeerConnection.onidpvalidationerror -slug: Web/API/RTCPeerConnection/onidpvalidationerror -tags: -- Authentication -- Error -- Event Handler -- IdP -- Identity -- Deprecated -- Property -- RTCPeerConnection -- Reference -- Validation -- WebRTC -- WebRTC API -- onidpvalidationerror -browser-compat: api.RTCPeerConnection.onidpvalidationerror ---- -

    {{APIRef("WebRTC")}}{{deprecated_header}}

    - -

    The RTCPeerConnection.onidpvalidationerror event handler - is a property containing the code to execute whent the {{event("idpvalidationerror")}} - event, of type {{domxref("RTCIdentityErrorEvent")}}, is received by this - {{domxref("RTCPeerConnection")}}. Such an event is sent when the associated identity - provider (IdP) encounters an error while validating an identity assertion.

    - -

    This event handler is obsolete. You should instead detect IdP validation - errors by watching for the {{jsxref("promise")}} returned by - {{domxref("RTCPeerConnection.peerIdentity")}} to be rejected.

    - -

    Syntax

    - -
    peerconnection.onidpvalidationerror = function;
    -
    - -

    Values

    - - - -

    Example

    - -
    pc.onidpvalidationerror = function(ev) { alert("onidpvalidationerror event detected!"); };
    -
    - -

    Browser compatibility

    - -

    {{Compat}}

    - -

    See also

    - - diff --git a/files/en-us/web/api/rtcpeerconnection/onpeeridentity/index.html b/files/en-us/web/api/rtcpeerconnection/onpeeridentity/index.html deleted file mode 100644 index 7d73bd61d6d9192..000000000000000 --- a/files/en-us/web/api/rtcpeerconnection/onpeeridentity/index.html +++ /dev/null @@ -1,60 +0,0 @@ ---- -title: RTCPeerConnection.onpeeridentity -slug: Web/API/RTCPeerConnection/onpeeridentity -tags: -- API -- Authentication -- Event Handler -- IdP -- Identity -- Deprecated -- Peer -- Property -- RTCPeerConnection -- Reference -- Validation -- WebRTC -- WebRTC API -- onpeeridentity -browser-compat: api.RTCPeerConnection.onpeeridentity ---- -

    {{APIRef("WebRTC")}}{{deprecated_header}}

    - -

    The RTCPeerConnection.onpeeridentity event handler is a - property containing the code to execute whent the {{event("peeridentity")}} event, of - type {{domxref("Event")}}, is received by this {{domxref("RTCPeerConnection")}}. Such an - event is sent when an identity assertion, received from a peer, has been successfully - validated.

    - -

    This event handler is obsolete. To detect successful validation of the - identity, wait for the promise returned by {{domxref("RTCPeerConnection.peerIdentity", - "peerIdentity")}} to resolve successfully with the peer's identity.

    - -

    Syntax

    - -
    peerconnection.onpeeridentity = function;
    -
    - -

    Values

    - - - -

    Example

    - -
    pc.onpeeridentity = function(ev) { alert("onpeeridentity event detected!"); };
    -
    - -

    Browser compatibility

    - -

    {{Compat}}

    - -

    See also

    - - diff --git a/files/en-us/web/api/rtcpeerconnection/peeridentity_event/index.html b/files/en-us/web/api/rtcpeerconnection/peeridentity_event/index.html deleted file mode 100644 index 4465db20d94f0c6..000000000000000 --- a/files/en-us/web/api/rtcpeerconnection/peeridentity_event/index.html +++ /dev/null @@ -1,73 +0,0 @@ ---- -title: 'RTCPeerConnection: peeridentity event' -slug: Web/API/RTCPeerConnection/peeridentity_event -tags: - - Authentication - - Identity - - Deprecated - - Reference - - WebRTC - - WebRTC API - - events - - peeridentity -browser-compat: api.RTCPeerConnection.peeridentity_event ---- -

    {{APIRef("WebRTC")}}{{deprecated_header}}

    - -

    The peeridentity event is sent to the connection concerned when peer identity has been set and verified on it. The new identiy can be access using the {{domxref("RTCPeerConnection.peerIdentity")}} property. An event handler for this event can be added via the {{domxref("RTCPeerConnection.onpeeridentity")}} property.

    - - - - - - - - - - - - - - - - - - - - -
    BubblesNo
    CancelableNo
    Interface{{DOMxRef("Event")}}
    Event handler property{{DOMxRef("RTCPeerConnection.onpeeridentity", "onpeeridentity")}}
    - -
    -

    Important: This event and its event handler have been removed from the specification and are no longer available. Instead of using this event to detect when an identity is available, wait for the {{jsxref("Promise")}} returned by {{domxref("RTCPeerConnection.peerIdentity")}} to be resolved. Once resolved, its value is the new identity.

    -
    - -

    Examples

    - -

    For the correct way to detect a new peer identity, see {{domxref("RTCPeerConnection.peerIdentity")}}.

    - -

    Specifications

    - - - - - - - - - - - - - - -
    SpecificationStatusComment
    {{ SpecName('WebRTC 1.0', '#event-mediastream-peeridentity', 'peeridentity') }}{{Spec2('WebRTC 1.0')}}
    - -

    Browser compatibility

    - -

    {{Compat}}

    - -

    See also

    - - diff --git a/files/en-us/web/api/rtcpeerconnection/setidentityprovider/index.html b/files/en-us/web/api/rtcpeerconnection/setidentityprovider/index.html index 09327a94add539f..b82b864d4e0864d 100644 --- a/files/en-us/web/api/rtcpeerconnection/setidentityprovider/index.html +++ b/files/en-us/web/api/rtcpeerconnection/setidentityprovider/index.html @@ -42,7 +42,7 @@

    Parameters

    Example

    -
    var pc = new PeerConnection();
    +
    var pc = new RTCPeerConnection();
     
     pc.setIdentityAssertion("developer.mozilla.org");
     
    diff --git a/files/en-us/web/api/webrtc_api/index.html b/files/en-us/web/api/webrtc_api/index.html index 097bd8dd9aa04a1..6484574f345dc68 100644 --- a/files/en-us/web/api/webrtc_api/index.html +++ b/files/en-us/web/api/webrtc_api/index.html @@ -152,10 +152,6 @@

    Identity and security

    Represents the identity of the remote peer of the current connection. If no peer has yet been set and verified this interface returns null. Once set it can't be changed.
    {{DOMxRef("RTCIdentityProviderRegistrar")}}
    Registers an identity provider (idP).
    -
    {{DOMxRef("RTCIdentityEvent")}}
    -
    Represents an identity assertion generated by an identity provider (idP). This is usually for an {{DOMxRef("RTCPeerConnection")}}. The only event sent with this type is {{event("identityresult")}}.
    -
    {{DOMxRef("RTCIdentityErrorEvent")}}
    -
    Represents an error associated with the identity provider (idP). This is usually for an {{DOMxRef("RTCPeerConnection")}}. Two events are sent with this type: {{event("idpassertionerror")}} and {{event("idpvalidationerror")}}.
    {{DOMxRef("RTCCertificate")}}
    Represents a certificate that an {{DOMxRef("RTCPeerConnection")}} uses to authenticate.
    diff --git a/files/en-us/web/events/index.html b/files/en-us/web/events/index.html index 9463f8349783c80..504863c2d445617 100644 --- a/files/en-us/web/events/index.html +++ b/files/en-us/web/events/index.html @@ -805,11 +805,7 @@

    Event listing

  • icecandidate event
  • iceconnectionstatechange event
  • icegatheringstatechange event
  • -
  • identityresult event
  • -
  • idpassertionerror event
  • -
  • idpvalidationerror event
  • negotiationneeded event
  • -
  • peeridentity event
  • removestream event
  • signalingstatechange event
  • track event