Prefer tokenName as vendor extension
This commit is contained in:
@@ -130,7 +130,7 @@ function handleLogin() {
|
|||||||
* @return the name of the access token parameter
|
* @return the name of the access token parameter
|
||||||
*/
|
*/
|
||||||
function getTokenName(dets) {
|
function getTokenName(dets) {
|
||||||
return dets['x-tokenName'] || dets.tokenName;
|
return dets.vendorExtensions['x-tokenName'] || dets.tokenName;
|
||||||
}
|
}
|
||||||
|
|
||||||
for (var key in authSchemes) {
|
for (var key in authSchemes) {
|
||||||
|
|||||||
Reference in New Issue
Block a user