getUserToken is a promise function, will be resolve with the logged-in user's token
/* NavigaID should be imported and exported in your plugin's index.js Or you can import from 'Dashboard/modules' */import { NavigaID} from'@root'constuserToken=awaitNavigaID.getUserToken()constparams= { scope: ['permission:*:dashboard:group/admin','permission:*:dashboard:group/powerUser' ]}constscopedToken=awaitNavigaID.getUserToken(params)