Implement sandbox login actions

This commit is contained in:
Philipp Stracker 2024-11-21 19:07:32 +01:00
parent b7ef3242bf
commit 2a28f38491
No known key found for this signature in database
7 changed files with 82 additions and 8 deletions

View file

@ -117,6 +117,20 @@ export const persist = function* () {
yield { type: ACTION_TYPES.DO_PERSIST_DATA, data };
};
/**
* Side effect. Initiates the sandbox login ISU.
*
* @return {Action} The action.
*/
export const connectViaSandbox = function* () {
yield setIsBusy( true );
const result = yield { type: ACTION_TYPES.DO_SANDBOX_LOGIN };
yield setIsBusy( false );
return result;
};
/**
* Side effect. Initiates a manual connection attempt using the provided client ID and secret.
*