我需要在OAuthAuthorizationServer
默认的resposne就像这样
{
"access_token": "***access_token***",
"token_type": "bearer",
"expires_in": 119,
".issued": "Mon, 31 Oct 2016 11:20:50 GMT",
".expires": "Mon, 31 Oct 2016 11:22:50 GMT"
}
如何生成此输出而不是默认输出?
{
"message": "Token Granted",
"data":
{
"Token": "***access_token***"
},
"messageCode": 200
}