setIdentityProvider method
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,
]);