def ensureTokenScopes(self, scope):
        ensureTokenScopes(getCurrentToken(), scope)
This method is optional. Only called if the Capabilities.WIDGET is provided.
dataset/ETHPy150Open girder/girder/girder/api/rest.py/Resource.ensureTokenScopes--crossover with--dataset/ETHPy150Open gateway4labs/labmanager/labmanager/rlms/base.py/BaseRLMS.list_widgets