The isAllowed() deprecated method is to be exchnaged into:
MediaWikiServices::getInstance()->getPermissionManager()->userHasRight(...)
as it's stated in the method's annotation.
The isAllowed() deprecated method is to be exchnaged into:
MediaWikiServices::getInstance()->getPermissionManager()->userHasRight(...)
as it's stated in the method's annotation.
OAuth has no isAllowed in its codebase anymore since Ammarpad's patch in T246567 got merged so this is a dup.
If something else was meant, please elaborate.