对象
OAuthAppCreate
字段
namestring必填授权同意页面上显示的名称。
length ≥ 1, length ≤ 100
descriptionstring授权同意页面上显示的描述。
length ≤ 1000
homepage_urlstring应用的网站(
http或https)。length ≤ 2000
redirect_urisarray of string重定向 URI:使用
https;http仅限localhost、127.0.0.1和[::1];自定义应用协议仅限反向域名形式(com.example.app:/callback)。不能带片段。公开应用至少需要一个 URI。items ≤ 10
应用可以申请的权限范围。
items ≥ 1
rolestringconfidential应用的客户端凭据令牌的角色:admin、editor、verifier或viewer(默认viewer)。data_profilestring客户端凭据令牌的数据权限档案;默认与新 API 密钥的档案相同。