IFClite TypeScript API
    Preparing search index...

    Interface WaitForOAuthCallbackOptions

    interface WaitForOAuthCallbackOptions {
        expectedState: string;
        signal?: AbortSignal;
        timeoutMessage: string;
        timeoutMs: number;
    }
    Index
    expectedState: string

    The state this sign-in attempt generated. Messages carrying any other state are ignored rather than consumed, which is what keeps two concurrent sign-ins (two providers, or two tabs) from completing each other's flow. Every listener sees every message on this shared channel.

    signal?: AbortSignal
    timeoutMessage: string

    Message for the timeout rejection, so each provider can phrase its own.

    timeoutMs: number