我是使用ZF2 Apigility,正在为我编写的API设置OAuth2工作流程。
到目前为止,我能够让以下内容正常工作:
Call the API and get a token
{ "access_token": "62f6109dcbce42b38f9117b21529faf30fc0ee86", "expires_in": 3600, "token_type": "Bearer", "scope": null }
我是使用ZF2 Apigility,正在为我编写的API设置OAuth2工作流程。
到目前为止,我能够让以下内容正常工作:
Call the API and get a token
{
"access_token": "62f6109dcbce42b38f9117b21529faf30fc0ee86",
"expires_in": 3600,
"token_type": "Bearer",
"scope": null
}
点击“Headers”
然后添加
授权
作为标头
和
Bearer 62f6109dcbce42b38f9117b21529faf30fc0ee86
作为值