refactor: 💡 window postmessage pattern -> contextbridge boundary api (#3167)
* refactor: 💡 postmessage pattern -> contextbridge boundary api * refactor: 💡 use sinon stub for boundary api mock test helper * refactor: 💡 updated tests * refactor: 💡 renamed boundary mock api * chore: 🤖 addressed feedback * refactor: 💡 updated context bridge name, added nested objects
This commit is contained in:
1 parent
eba17d3c71
commit
392e49bf49
45 files changed
+744
-1062
No files matched your search
@@ -14,7 +14,6 @@ export default class ScopesScopeAuthenticateMethodIndexController extends Contro
|
||||
// =services
|
||||
|
||||
@service session;
|
||||
@service ipc;
|
||||
@service intl;
|
||||
@service router;
|
||||
|
||||
@@ -39,7 +38,7 @@ export default class ScopesScopeAuthenticateMethodIndexController extends Contro
|
||||
* @param {string} url
|
||||
*/
|
||||
async openExternalOIDCFlow(url) {
|
||||
await this.ipc.invoke('openExternal', url);
|
||||
await window.desktop.system.openExternal(url);
|
||||
}
|
||||
|
||||
// =actions
|
||||
|
||||
Reference in new issue
Block a user