aboutsummaryrefslogtreecommitdiff
path: root/files/ko/web/api/rtcpeerconnection/setidentityprovider/index.html
diff options
context:
space:
mode:
Diffstat (limited to 'files/ko/web/api/rtcpeerconnection/setidentityprovider/index.html')
-rw-r--r--files/ko/web/api/rtcpeerconnection/setidentityprovider/index.html66
1 files changed, 66 insertions, 0 deletions
diff --git a/files/ko/web/api/rtcpeerconnection/setidentityprovider/index.html b/files/ko/web/api/rtcpeerconnection/setidentityprovider/index.html
new file mode 100644
index 0000000000..784a5e5dec
--- /dev/null
+++ b/files/ko/web/api/rtcpeerconnection/setidentityprovider/index.html
@@ -0,0 +1,66 @@
+---
+title: RTCPeerConnection.setIdentityProvider()
+slug: Web/API/RTCPeerConnection/setIdentityProvider
+translation_of: Web/API/RTCPeerConnection/setIdentityProvider
+---
+<p>{{APIRef("WebRTC")}}{{SeeCompatTable}}</p>
+
+<p><code><strong>RTCPeerConnection.setIdentityProvider()</strong></code> 메소드는 이름, 통신에 사용된 프로토콜 (옵션), 유저 이름 (옵션)으로 구성된 세 가지 매개변수에 식별 제공자 (Identity Provider, IdP)를 지정합니다. IdP는 주장 (assertion)이 필요한 순간에만 사용 될 것입니다. </p>
+
+<p>{{domxref("RTCPeerConnection.signalingState", "signalingState")}}가 <code>"closed"</code>로 지정되어있다면, <code>InvalidStateError</code> 에러가 발생합니다. </p>
+
+<h2 id="Syntax" name="Syntax">Syntax</h2>
+
+<pre class="syntaxbox"><code><em>pc</em>.setIdentityProvider(<em>domainname</em> [, <em>protocol</em>] [, <em>username</em>]);
+</code></pre>
+
+<p><em>이 메소드는 반환 값이 존재하지 않습니다.</em></p>
+
+<h3 id="Example" name="Example">매개변수</h3>
+
+<dl>
+ <dt><em>domainname</em></dt>
+ <dd>IdP가 존재하는 도메인 이름을 나타내는 {{domxref("DOMString")}}입니다.</dd>
+ <dt><em>protocol</em> {{optional_Inline}}</dt>
+ <dd>IdP와 통신하기위해 사용된 프로토콜을 나타내는 {{domxref("DOMString")}}입니다. 디폴트 값은 <code>"default"</code>로 설정되어있고, IdP가 감청하게되는 URL를 결정하는데에 사용됩니다.</dd>
+ <dt><em>username</em> {{optional_Inline}}</dt>
+ <dd>IdP와 연관된 유저 이름을 나타내는 {{domxref("DOMString")}}입니다.</dd>
+</dl>
+
+<h2 id="Example" name="Example">예시</h2>
+
+<pre class="brush: js">var pc = new PeerConnection();
+
+pc.setIdentityAssertion("developer.mozilla.org");
+</pre>
+
+<h2 id="Specifications" name="Specifications">사양서</h2>
+
+<table class="standard-table" style="height: 49px; width: 1000px;">
+ <thead>
+ <tr>
+ <th scope="col">사양서</th>
+ <th scope="col">상태</th>
+ <th scope="col">코멘트</th>
+ </tr>
+ </thead>
+ <tbody>
+ <tr>
+ <td>{{ SpecName('WebRTC 1.0', '#widl-RTCPeerConnection-setIdentityProvider-void-DOMString-provider-DOMString-protocol-DOMString-username', 'RTCPeerConnection.setIdentityProvider()') }}</td>
+ <td>{{ Spec2('WebRTC 1.0') }}</td>
+ <td>Initial specification.</td>
+ </tr>
+ </tbody>
+</table>
+
+<h2 id="브라우저_호환성">브라우저 호환성</h2>
+
+
+
+<p>{{Compat("api.RTCPeerConnection.setIdentityProvider")}}</p>
+
+<h2 id="참조">참조</h2>
+
+<ul>
+ <li><a href="/en-US/docs/Web/Guide/API/WebRTC">WebRTC</a></li>
+</ul>