この記事はまだボランティアによって 日本語 に翻訳されていません。ぜひ MDN に参加して翻訳を手伝ってください!
この記事を English (US) で読むこともできます。

The WebRTC API's RTCIceCredentialType enumerated string type defines the authentication method used to gain access to an ICE server identified by an RTCIceServer object.

Values

oauth
The RTCIceServer requires the use of OAuth 2.0 to authenticate in order to use the ICE server described. This process is detailed in RFC 7635. This property was formerly called token.
password
The RTCIceServer requires a username and password to authenticate prior to using the described ICE server.

Obsolete values

The following values are no longer part of the WebRTC specification, but were in the past.

token
Authenticating with the ICE server requires the use of an OAuth 2.0 token as defined in RFC 7635. This value has been renamed to oauth.

Specifications

Specification Status Comment
WebRTC 1.0: Real-time Communication Between Browsers
The definition of 'RTCIceCredentialType' in that specification.
Candidate Recommendation Initial specification.

Browser compatibility

Update compatibility data on GitHub
DesktopMobile
ChromeEdgeFirefoxInternet ExplorerOperaSafariAndroid webviewChrome for AndroidFirefox for AndroidOpera for AndroidSafari on iOSSamsung Internet
RTCIceCredentialTypeChrome No support NoEdge ? Firefox Full support 47IE No support NoOpera No support NoSafari ? WebView Android No support NoChrome Android No support NoFirefox Android Full support 47Opera Android No support NoSafari iOS ? Samsung Internet Android No support No
oauthChrome No support NoEdge ? Firefox No support NoIE No support NoOpera No support NoSafari ? WebView Android No support NoChrome Android No support NoFirefox Android No support NoOpera Android No support NoSafari iOS ? Samsung Internet Android No support No
passwordChrome No support NoEdge ? Firefox Full support 47IE No support NoOpera No support NoSafari ? WebView Android No support NoChrome Android No support NoFirefox Android Full support 47Opera Android No support NoSafari iOS ? Samsung Internet Android No support No
tokenChrome No support NoEdge ? Firefox No support 47 — 68IE No support NoOpera No support NoSafari ? WebView Android No support NoChrome Android No support NoFirefox Android No support 47 — 68Opera Android No support NoSafari iOS ? Samsung Internet Android No support No

Legend

Full support  
Full support
No support  
No support
Compatibility unknown  
Compatibility unknown

See also

ドキュメントのタグと貢献者

このページの貢献者: Sheppy
最終更新者: Sheppy,