Options
All
  • Public
  • Public/Protected
  • All
Menu

@subaio/psd2login-web

Index

Enumerations

Classes

Type aliases

Functions

Type aliases

Event

Event: { type: BankAdded } | { type: Done } | { errorType: Psd2ErrorType; type: Error }

Events sent from the window to the library. Only used internally.

LoginOptions

LoginOptions: { placement?: PlacementOptions; url: string }

Type declaration

  • Optional placement?: PlacementOptions

    Size and position of the window. Defaults to 480x620 at 50%,50%. Be aware that browsers may vary in the exact position and size when using percentage.

  • url: string

    A redirect URL provided by calling the Subaio Partner API made available.

Functions

Const handleLogin

  • Open a PSD2 login window from the provided url. Returns a promise the will resolve after a successful login, or reject with an appropriate Psd2Error, when the window is closed.

    Parameters

    Returns Promise<void>

Generated using TypeDoc