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
close
- close(): void
Returns void
off
- off(event, callback): void
Returns void
on
- on(event, callback): void
Parameters
- event: "authenticationSucceeded"
- callback: (() => void)
Returns void
- on(event, callback): void
Parameters
- event: "authenticationFailed"
- callback: (() => void)
Returns void
Close the flow and clean up resources