ID Perú 的 SDK

v2.0.1 2020-07-08 04:46 UTC

This package is not auto-updated.

Last update: 2024-09-26 01:42:50 UTC


README

使用此客户端,您可以通过我们实现的 Identity as a Service (IDaaS) 解决方案连接到 OpenID Connect。

安装

$ composer require reniec/idaas

集成示例: https://github.com/pkiep-reniec/integration_php_example

更多项目详情: https://idperu.reniec.gob.pe/site/

在线演示: https://ecep.reniec.gob.pe/rp/

基本参数

作用域

  • profile

    • 返回:doc, first_name。
  • offline_access

    • 一个月的离线访问。

ACR

  • pki_dnie

    • 使用 DNIe 访问。
  • pki_dnie_mobile

    • 使用移动证书(仅限安卓设备)访问。
  • pki_token

    • 使用 PJ 数字证书访问。
  • pki_dnie_legacy

    • 使用 JNLP(Java 8 已安装)通过 DNIe 访问。
  • pki_token_legacy

    • 使用 JNLP(Java 8 已安装)通过 PJ 数字证书访问。

更多参数

如果您想了解更多参数的详细信息,可以在 OpenID Connect 文档中找到

https://openid.net/specs/openid-connect-core-1_0.html