Interface BankIdSessionReader

All Known Implementing Classes:
BankIdSessions

public interface BankIdSessionReader
Interface for reading from the BankID session.
Author:
Martin Lindström, Felix Hellman
  • Method Details

    • loadSessionData

      BankIdSessionState loadSessionData(jakarta.servlet.http.HttpServletRequest request)
      Loads session data.
      Parameters:
      request - the current request for the user to determine session key
      Returns:
      a BankIdSessionState
    • loadCompletionData

      CollectResponse loadCompletionData(jakarta.servlet.http.HttpServletRequest request)
      Loads final CollectResponse.
      Parameters:
      request - the current request for the user to determine session key
      Returns:
      the final CollectResponse from the BankID API containing CompletionData
    • loadPreviousSelectedDevice

      PreviousDeviceSelection loadPreviousSelectedDevice(jakarta.servlet.http.HttpServletRequest request)
      Loads device selection.
      Parameters:
      request - the current request for the user to determine session key
      Returns:
      device selection from last successful authentication for the current user
    • loadUserVisibleData

      UserVisibleData loadUserVisibleData(jakarta.servlet.http.HttpServletRequest request)
      Loads uservisible data.
      Parameters:
      request - the current request for the user to determine session key
      Returns:
      user visible data to be displayed in app
    • loadContext

      BankIdContext loadContext(jakarta.servlet.http.HttpServletRequest request)
      Loads the BankID context.
      Parameters:
      request - the servlet request
      Returns:
      a BankIdContext