Interface BankIdSessionWriter

All Known Implementing Classes:
BankIdSessions

public interface BankIdSessionWriter
Interface for writing to the BankID session.
Author:
Martin Lindström, Felix Hellman
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    delete(jakarta.servlet.http.HttpServletRequest request)
    Deletes everything except device selection for finalized authentication.
    void
    save(jakarta.servlet.http.HttpServletRequest request, PreviousDeviceSelection previousDeviceSelection)
    Loads previous device selection from successful authentication.
    void
    save(jakarta.servlet.http.HttpServletRequest request, BankIdSessionData data)
    Saves BankIdSessionData to repository.
    void
    save(jakarta.servlet.http.HttpServletRequest request, UserVisibleData userVisibleData)
    Loads user visible data to be displayed in BankID application.
    void
    save(jakarta.servlet.http.HttpServletRequest request, CollectResponse data)
    Saves the final CollectResponse that contains CompletionData.
  • Method Details

    • save

      void save(jakarta.servlet.http.HttpServletRequest request, BankIdSessionData data)
      Saves BankIdSessionData to repository. Overwrites data if order reference is the same.
      Parameters:
      request - to determine session key
      data - to be saved
    • save

      void save(jakarta.servlet.http.HttpServletRequest request, CollectResponse data)
      Saves the final CollectResponse that contains CompletionData.
      Parameters:
      request - to determine session key
      data - to be saved
    • delete

      void delete(jakarta.servlet.http.HttpServletRequest request)
      Deletes everything except device selection for finalized authentication.
      Parameters:
      request - to determine session key
    • save

      void save(jakarta.servlet.http.HttpServletRequest request, PreviousDeviceSelection previousDeviceSelection)
      Loads previous device selection from successful authentication.
      Parameters:
      request - to determine session key
      previousDeviceSelection - device used for authentication
    • save

      void save(jakarta.servlet.http.HttpServletRequest request, UserVisibleData userVisibleData)
      Loads user visible data to be displayed in BankID application.
      Parameters:
      request - to determine session key
      userVisibleData - message that should be displayed in app