Restrict api based on the permissions

Hello,

In the Connect apps, when we want to restrict an api based on permissions we were using addon.authorizeJira. For ex:
// only allow product admins that are also project admins
addon.authorizeJira({ global: [“ADMINISTER”], project: [“ADMINISTER_PROJECTS”] })

Does this stays the same when we use remote backend?
Additionally
addon.authenticate(true /* accept context JWTs */), is no longer relevant correct? We should use addon.authenticateForge instead.

Hello, I didn’t get the aswer yet.