跳到主要内容
Sursa Developers

对象

OAuthAppWithSecret

附带客户端密钥的应用,仅在创建和轮换的响应中返回。

字段

  • idstring必填

    应用 ID(app_ 加 32 个十六进制字符),同时也是 client_id。

  • namestring必填

    员工在授权同意页面上看到的名称。

  • descriptionstring必填

    授权同意页面上的描述(可以为空)。

  • homepage_urlstring | null必填

    应用的网站。

  • client_typeOAuthClientType必填
  • redirect_urisarray of string必填

    允许的重定向 URI(按字符串精确匹配)。

  • scopesarray of OAuthScope必填

    应用可以申请的权限范围。

  • client_secret_prefixstring | null必填

    客户端密钥的前几个字符,用于识别;公开应用为 null。

  • rolestring | null必填

    客户端凭据令牌的角色(admin、editor、verifier、viewer);公开应用为 null。

  • data_profilestring | null必填

    客户端凭据令牌的数据权限档案;公开应用为 null。

  • authorizationsinteger必填

    有效的员工授权数量。

  • created_atstring (date-time)必填
  • updated_atstring (date-time)必填
  • client_secretstring | null必填

    客户端密钥(kbcs_…),只显示一次;公开应用为 null。

使用方