Describe `access_token` param of `User.logout`
Add an explicit note that clients are not supposed to send the `access_token` parameter, since it is extracted from request headers.
This commit is contained in:
parent
6177aa2775
commit
03cb2f0556
|
@ -403,7 +403,10 @@ User.setup = function () {
|
|||
var tokenID = accessToken && accessToken.id;
|
||||
|
||||
return tokenID;
|
||||
}}
|
||||
}, description:
|
||||
'Do not supply this argument, it is automatically extracted ' +
|
||||
'from request headers.'
|
||||
}
|
||||
],
|
||||
http: {verb: 'all'}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue