"use strict";(self.webpackChunkpasswords_webextension=self.webpackChunkpasswords_webextension||[]).push([[6576],{8962:(e,s,t)=>{t.d(s,{Z:()=>a});class a{async execute(e,s){console.trace("controller.execute() not implemented")}}},6955:(e,s,t)=>{t.r(s),t.d(s,{default:()=>n});var a=t(8962),o=t(9083),c=t(6567);class n extends a.Z{async execute(e,s){let t=await o.Z.findById(e.getPayload().server),a=e.getPayload().provider,n=t.getSessionAuthorization();n.isLoaded()||await n.load(),n.setActiveToken(a);let r=n.getActiveToken();if(r&&r.requiresRequest())try{await r.sendRequest()}catch(e){c.Z.logError(e),s.setPayload({success:!1,message:e.message})}s.setPayload({success:!0})}}}}]);