setIdentityProvider method

void setIdentityProvider(
  1. String provider, [
  2. RTCIdentityProviderOptions options
])

The setIdentityProvider() method of the RTCPeerConnection interface sets the Identity Provider (IdP) to the triplet given in parameter: its name, the protocol used to communicate with it (optional) and an optional username. The IdP will be used only when an assertion is needed.

If the RTCPeerConnection.signalingState is set to "closed", an InvalidStateError is raised.

Implementation

external void setIdentityProvider(
  String provider, [
  RTCIdentityProviderOptions options,
]);