Interface InitFlowInstance

interface InitFlowInstance {
    close(): void;
    off(event: FlowEventType, callback: FlowEventCallback): void;
    on(event: "authenticationSucceeded", callback: (() => void)): void;
    on(event: "authenticationFailed", callback: (() => void)): void;
}

Methods

Methods

  • Close the flow and clean up resources

    Returns void

  • Remove an event listener for this flow

    Parameters

    Returns void

  • Register an event listener for this flow

    Parameters

    • event: "authenticationSucceeded"

      The event type to listen for

    • callback: (() => void)

      The callback function to execute when the event occurs

        • (): void
        • Returns void

    Returns void

  • Parameters

    • event: "authenticationFailed"
    • callback: (() => void)
        • (): void
        • Returns void

    Returns void