type SingleStepAuthArgsType =
| {
closeOpenedWindow?: (window: Window) => void;
openedWindow?: Window;
strategy: "google";
}
| {
closeOpenedWindow?: (window: Window) => void;
openedWindow?: Window;
strategy: "apple";
}
| {
closeOpenedWindow?: (window: Window) => void;
openedWindow?: Window;
strategy: "facebook";
}
| { encryptionKey: string; jwt: string; strategy: "jwt" }
| {
encryptionKey: string;
payload: string;
strategy: "auth_endpoint";
}
| { email: string; strategy: "iframe_email_verification" }
| { strategy: "iframe" };