The documentation of revokeAuthorizationCode(code) specifies that the code parameter should/will have code.code attribute containing the authorization code string.
In authorization-code-grant-type.js, however, it is called with a code object returned from getAuthorizationCode(authorizationCode) which should be returning a code object with the attribute code.authorizationCode.
The model method saveAuthorizationCode(code, client, user) also expects the code parameter to have the attribute code.authorizationCode.
This is inconsistent, and according to the code, the revokeAuthorizationCode documentation should be fixed.
The documentation of revokeAuthorizationCode(code) specifies that the
codeparameter should/will havecode.codeattribute containing the authorization code string.In authorization-code-grant-type.js, however, it is called with a code object returned from
getAuthorizationCode(authorizationCode)which should be returning a code object with the attributecode.authorizationCode.The model method saveAuthorizationCode(code, client, user) also expects the
codeparameter to have the attributecode.authorizationCode.This is inconsistent, and according to the code, the
revokeAuthorizationCodedocumentation should be fixed.