跳到主要内容

7. 基于 Web 的对等方认证 (Web-Based Peer Authentication)

7. 基于 Web 的对等方认证 (Web-Based Peer Authentication)

WebRTC 支持使用标准 Web 协议 (OAuth, OpenID Connect) 对身份架构 (identity architecture) 进行一种特定实例化. 在此模型中, IdP 是一个 Web 服务. 浏览器在沙箱化的 iframe 或 worker 中加载 IdP 的代码, 以便生成和验证断言 (assertion), 同时不向 Calling Service 暴露用户凭据.